Sergo`s script pack

2009-02-19

Download Scripts

UPDATE: Rotation of UVW gizmo and Slice plane added to rotateXXX commands.

This pack is built with Neil Blevins's approach - it consist of several scripts built as one pack. This approach has advantages of easy installation process but it's little hard to update and track changes. Now I've made choice to produce scripts as separate tools.

Installation:

Unpack archive into 3ds max ROOT directory, start/restart max, go to the 'Customize User Interface' -> 'Toolbars', browse to "Sergo Pogosyan" category and add buttons to the toolbar or to the menu. Icon files are the same for all my script so you can overwrite them over old ones if you ever installed this or other script from this site.

In this pack you'll find (in order of importance):

RotateClockWise, RotateCounterClockWise, RotateAround - three scripts for easy, one-click rotating of objects on 90, -90 and 180 degree around active axis. Take the notice of rotation direction - UVW and Slice sub-objects are always rotating in local coordinate system. Objects are rotating in current coordinate system.

To rotate a instance copy of the object (not subobject ) - press shift+script button on the toolbar.

3PointRotation - script for rotating objects and groups by specifing 3 points. Like AutoCAD's 'rotate by reference' command. With Angle spinner you can set the custom angle while rotating about chosen point.

Take care of proper snap mode - for example, when rotating in top viewport for correct result 2.5d snap must be chosen.

3PointScale - script for scaling separate objects by specifing 3 points. Like AutoCAD's 'scale by reference' command. It has non-uniform scaling option.

Take care of proper snap mode - for example, when scaling in top viewport for correct result 2.5d snap must be chosen.

Take care of proper reference coordinate system mode - script only supports world, scene node and local system.

TransformationJitter - Apply random transformations to selected objects

TapeCoordSys - this tool helps you to set custom coordinate system easily - just click button on the toolbar, create tape object and this tape will be the reference coordinate system object. It turns on 3d snap mode automaticly and returns to old snap mode after exit.

WhiteVPBackground - Toggle change viewport background color to white or to the default (125,125,125). To change default VP color to your settings, you have to edit the script file. Very handy for printing viewport screenshots.

BuildingMaker - Script for creating simple building models from splines.

StripesTexture - Script for creating random or regular stripe texture.

Prerender - script for checking some vray renderer parameters after rendering starts (for paranoiacs only:)) I've used this script only once, and will remove it from this pack in future since it's unfinished and I think nobody finds it useful.

comments

14 comments:

christoph koehler

hello! i tried the scripts but they give me max-errors (unknown system exception even if i just want to drag the 3-point rotate icon into my created sergo-tools pallett). for example the random transform stuff also doesn´t work and the maxscript handler pops up with an exception error. as i am new to this scripting stuff i am not sure, i have max 2009 on vista x64, that couldn´t be the problem or? and do i have to put the scripts in the UI and scripts directories inside the max root or in this localuser/whatever directories of vista where usermacros and scripts are stored? thanks in advance, chris

Hi, Christoph!

I've updated archive, now everything works. Just unpack archive in 3dsmax root folder. Should work. Feel free to send a feedback.

There was some bug, sorry. This is why I hate 'pack' distribution design :)

Hey Sergo ! Thanks for your timesaver scripts. But there's a little error in 3pointscale.ms You call the function sergo_excludeChildren, but in function.ms, it's simply named excludeChildren, so the script doesn't work. Have a nice day :)

Well, me again :p U didn't include functions.ms in 3pointscale. So excludeChildren doesn't work anyway.

Hi Klank!

Thank you for the bug report. I didn't check this scriptpack twice before uploading, shame on me.

Now I've uploaded new version, everything should be fine.

Sergo.

Hi Sergo,

First of all, thank you for creating these tools. They have been a huge timesaver. My favorite is the TransformationJitter. It comes in handy when I try to randomize trees blocks.

Are these tools updated for max2009? I've been using them in max2008, but then when I run the TransformationJitter in max2009, and the script stops on line 114: selection_array = sergo_excludeChildren selection as array Sounds like it's a similar bug as Klank's on the surface. Again, thanks for the tools.

Hi, Dennis! Thank you for bug report. I've fixed it and uploaded new version. Sergo.

Hi Sergo,

I have a Problem with the Rotation Scripts, I allways get Error. I use max2009 64bit. Is this Version of max supported? Thanks for the great tools.

Hi Sez,

yes, I use 3dsmax2009 64 and scripts work fine. Could you paste the error message here?

Hi Sergo,

Thank you very much for sharing your scripts.

I am trying to run your scripts on Max 2010 32 & 64 bit. Do you know if they will work on these versions?

I have used them on previous versions and loved them.

Hi Peter!

Yes, I've tested this pack with 2010 32-bit and it works alright. Only WhiteVPBackground doesn't work correctly. I've fixed it and upload new version soon.

Please let me know if you encounter any problem with 3ds max 2010.

Hi Sergo

thank you for this script pack, very generous of you. is there any way of making Jitter work on a subobject level? like with verts?

thanx again

Hi Sergo

any way of having a pitched roof type for building maker?

Hi sean! Sorry for the delay.

Currently I'm working on BatchCamera script and pitched roof is not so easy to implement since building can have any shape, so I don't think I'll update this pack in near future.

Jitter with sub-objects is more realistic, but anyway, not in near future. Sorry.

your e-mail will not be shown
(markdown supported)