ScriptSpot

Script

Sergo's script pack

By sergo · Credited author: Sergo · 2006-10-21

Version
1.4.9
Version requirement
8-9, 2008-2019
Date updated
2019-04-13
Votes
72
Description

SCRIPTS IN PACK:

RotateClockWise,
RotateCounterClockWise,
RotateAround
- three scripts for easy, one-click rotating objects on 90, -90 and 180 degree around active axis and in current coordinate system. Scripts also rotate UVW Mapping gizmo and Slice sub-object.
- to rotate a copy of the object - press shift+script button on the toolbar


3PointScale - script for scaling separate objects by specifing 3 points. Like AutoCAD's 'scale by reference' command. Uniform scaling supported.

!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


3PointRotation - script for rotating objects and groups by specifing 3 points.
Like AutoCAD's 'rotate by reference' command
Angle spinner added- now 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


TapeCoordSys - this tool helps you to create tape object and then select it for coordinate system object in one step. It turns on 3d snap mode automaticly and returns to old snap mode after exit.


 BuildingMaker - Script for creating simple building models from splines


StripesTexture - Script for creating random or regular stripe texture


TransformationJitter - Apply random transformations to selected objects


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


Additional Info


Version 1.4.9 Update

  • 3PointRotation and 3PointScale fixed to show snapping markers on 3ds max 2019

Version 1.4.8 Update

  • The only update is the new installer - script pack comes in the form of MZP archive which you need to drag-n-drop onto the max window or run via Scripts->Run script command. Should work on all versions of max. I've checked on 2016 and 2017.

Version 1.4.7 Update

  • 3PointRotation and 3PointScale scripts have been updated to use maxscript mouse tools instead of pickpoint function. This update fixes the "drag" bug discribed here.
  • prerender script has been deleted.

Version 1.4.6 Update
-Rotation of UVW gizmo and Slice plane added to rotateXXX commands

Version 1.4.5.2 Update
-fixed some bugs

Version 1.4.5 Update
-Rotation on active axis added to rotateXXX commands

Version 1.4.4 Update
-fixed some bugs in TransformationJitter script. Now scaling units are strictly relative to the object's scale
-to the TransformationJitter script "affect only parent objects" mode added
-to the TransformationJitter script absolute scale mode added. Now it's possible to specify absolute scale unites

Version 1.4.3 Update
-fixed some small bugs in 3PointScale and 3PointRotation. No more exceptions with "Unable to convert from x to y" when user cancels operation

Version 1.4.2 Update:
-to 3PointScale script added non-uniform scale option to 3PointScale script
-to 3PointScale script added ability to work in different coordinate systems (world, scene node, local)

Version 1.4 Update:
-TapeCoordSys script added
-angle spinner added to 3PointRotation scripts
-copying added to RotateXXX scripts

Version 1.3 Update:
-added function to exclude children from selection set. it's fixed problem with linked object rotation - now all rotate command rotates only parent objects in selection set.
-added scaling of objects sets to 3pointScale script.
-fixed some small bugs

Installation:
Drag-n-drop mzp file on the max window or run mzp file via Scripts->Run Script command, then go to the 'Customize User Interface' -> 'Toolbars' - browse to category 'Sergo Pogosyan' and add buttons to the toolbar or to the menu.

Instructions for 3dpointScale Soboleony

Attachments

Tags: Material, architecture, building modeling, viewport changing, scaling, rotating, easy transformation

Comments (55)

Thank you

Soboleony · 2020-07-12

I would like to share a short step-by-step instruction. In addition, the icon

Attachments

Soboleony · 2020-07-12

Nice Script

3PointRotation and 3PointScale

le13emepanda · 2020-06-22

Hello thank you for your very useful script ! Is it possible that 3PointRotation and 3PointScale can show snapping markers on 3ds max 2020. It doesn't seem to work with me on 3dsmax 2020


Thank you



Find commands in Toolbars

sergo · 2020-03-10

Hi,
After you drag-n-drop mzp files you should be able to find new commands in Customize->Toolbars window. I think they are under Sergo Pogosyan category.

Regards,
Sergo.

MaxScript FileIn Exception

Manu_S · 2020-03-03

Hi. I'm getting a "MaxScript FileIn Exception" window after drag and drop in 3ds max window.
It says:
"-- Compile error: cant find include file: functions.ms
-- In line: include "functions.ms" "

When I go to customize UI, in Sergo Pogosyan category there's only TapeCoordSys, BuildingMaker, StripesTexture, TransformationJitter and WhiteVPBackground.
Does anyone know how to solve it?
I'm using 3DS Max 2017.
Thanks!

Fixed (guess so)

Manu_S · 2020-03-03

Self replying to my self in the previous comment.

I don't know if that's the way I was supposed to do it but, after drag and dropping the .mzp file I used "run script" from 3Ds Max on 3PointRotation and Scale, I evaluated both of them and then drag and dropped the text from the MaxScript editor. Both of them seem to be working.
I know nothing about coding, scripting or even installing scripts beyond what I've seen in video tutorials. I thought that drag and dropping the .mzp file was enough to be able to use the scripts. Was I wrong?

Icons

elementall · 2020-02-06

Very useful scripts! great job, but waht about the icons? i remember the oldest version have it...
Thanks!

No icons in recent versions :)

sergo · 2020-02-08

Sorry guys I was lazy to maintain correct icons, add new ones and delete old ones, so I removed them all few years ago.

TSchmiesing · 2018-10-18

I had to set my read/write privileges on my Max install in both Program Files and AppData in order to make it work in 2018.

works on 2019

ghostpro278 · 2018-08-09

Thanks you, this script is very useful

3ds max 2018

ot0o · 2017-12-07

thank you Sergo for this amazing script. I was wondering during working in autocad about the same function in 3d and then I found your script. I used it in 3ds max 2017 but not working in 2018 . you didn't updated it for 18? or I'm doing something wrong ..:( thank you again !

works on 2018

sergo · 2017-12-11

Hi, I've checked on my 2018 and it worked. I dragged the archive on the Max window, then found sergo poosyan category and tried some of the scripts. They all worked, rotation, coord sys etc.

Perfect!

carloslobao · 2017-11-28

Hi Sergo. Absolutely essential tools! Many thanks for this! Saved my day

thanks

Askhar · 2017-10-09

super very useful

how to install?

arennertz · 2017-04-25

hi,

I tried a lot now, but i don't get it to work with max2016. When i drag the .run file on max, nothing happens. "Run Script" > SergoScripts.ms throws error

"Can't find include file: include "$temp/SergoSPack/TapeCoordSys.ms"

I can't run the "mzp.run" via "Run Script"

Copying The Sergoscripts.ms into max's MacroScripts folder and the other files in max's scripts folder didn't work, the don't show up in the customize menu...

i really want to use the 3point rotation :)

help?

just drag archive to the max window

sergo · 2017-04-25

Just drag and drop the archive to the max window. Then find Sergo Pogosyan category in toolbar tab of the Customize window.
You don't need to unpack the archive!

Thanks!

arennertz · 2017-04-25

Ok that worked. Somehow i had a .zip file in my download directory...when i downloaded the file again and dragged the mzp file on max it worked.(after restarting max:D )

anyways thanks a lot, 3PointRotate is super useful!

New drag-n-drop installer

sergo · 2017-04-13

Hi,

I've updated the installer so that it works with any version of 3ds max. Just drag-n-drop attached .mzp file onto the max window and look for "Sergo Pogosyan" catergory in Customize->Toolbars window.
I've also removed all the icons, so all the buttons come with text labels only.

Attachments

Sergo's script pack

3DcubIC · 2017-03-30

No funciona para versión max 2017. y no existe la web.

airbrush · 2015-01-09

not working for me in 2015...no sergio category listed.

rotation and scale scripts dont work when dragged into viewport, but other ones do.

Solution for Max 2014

Bormax · 2015-01-21

I had the same problem in Max 2014. I solved it this way:
Put SergoScripts.mcr to 3ds Max 2014\MacroScripts folder
Put Icons (sergoIcons_16a.bmp and sergoIcons_16i.bmp) to C:\Users\XXX\AppData\Local\Autodesk\3dsMax\2014 - 64bit\ENU\usericons
Put SergoScripts folder with scripts in it to C:\Program Files\Autodesk\3ds Max 2014\scripts

Now everything works fine!

Icons solution

elementall · 2014-07-02

I have a solution for the icons on 3ds Max 2013/14.
Copy and Rename the folder "Icons" to "IconsDark" and replace on "C:\Program Files\Autodesk\3ds Max 2013\UI_ln"

error

tomrider75 · 2014-03-25

hi.
I'm using 3dmax2010.
Can you assist me how to install it?
Because it keep pop up error and I couldn't use it.

Thanks in advance.

TOM

3ds Max 2014 support

jbrasmartins · 2013-10-03

Hi Sergo,

Can you please help me, tried to install in 3dsmax 2014 64bits, but it's not working.
When copy past to max root it doesn't appear anything in the customize-toolbar option.
Working fine on 3dsmax 2012 !
Can seem to find the issue, do you have any pointers?
Thanks.

Script paths are different places

rockisland · 2013-10-08

Hi,
Sergo scripts paths are diferrent in Max 2013 and 2014.
You can copy folders seperately.

This is the issue;

Script Folders ---> Max folders
==================================================================
Sergoscripts > Scripts ---> Max 2014 > Scripts
Sergoscripts > UI > Icons ---> Max 2014 > UI_ln > Icons
Sergoscripts > UI > Macroscripts ---> Max 2014 > Macroscripts

That's all.
Sorry for my bad english.
Hope that helps.

sergo · 2013-10-14

Actually, I have updated version of the script that works without any copying and stuff. But it does not have any icons (I hate to support icons along the script versions, sorry). Will update this page asap.

ghostpro278 · 2014-02-27

thanks

tape coord system with sub-object

jsrocha · 2013-09-06

Hey Sergo, how´s going?
i use a lot the UseTapeCoordSys script, but i want to ask you if is possible to make it work with sub-objects. I mean, it does work, the thing is that, when you switch to sub-object mode, the current coord sys goes back to the last used, not using the tape. Can you adjust that??
thanks man,

Jsrocha

sergo · 2013-09-13

Hi!

To have coord sys stop switching when changing different modes turn on Constant Coordsys checkbox in preferences. Hope that helps.

jsrocha · 2013-09-14

Hi Sergo!
wow man, didn´t know that option in preferences, you made my day!!
Thanks a lot!

Jsrocha

Nik · 2013-08-02

Sergo, thank you for your scriptpack. Very nice.
Sergo, whether was would difficult, to you extend this a script and make rotate 90 degrees for sub-objects?

Works under 2014

sergo · 2013-08-03

All things are in usual places - category, category name, etc.
And all scripts work as usual.

problem

oncire · 2013-06-06

can't find your scripts in 3ds max design 2014... installed it but no "Sergo Pogosyan" category... please can you add support for 2014?

Should test under 2014

sergo · 2013-08-02

Just got my hands on 2014, will test asap.

Nice the pack! Useful!

Nik · 2013-08-02

Thanks! Especially liked the 90-degree rotation of the object or gizmo on the selected axis
Version 3dsmax: 2012

ok

sergo · 2012-10-03

Though, I've installed it on 2013.

3ds max 2013 support

oncire · 2012-10-03

please update to 3ds max 2013... error when opening your scripts

edit: ignore my comments. user error.. :) its working flawlessly

shopkeeper · 2011-06-03

Works great now in Maxs Design 2011!

Thanks for updating the move-with-keyboard script. I use it all the time. Just like photoshop nudge so very intuitive for me to use,

sergo · 2011-06-04

Thank you. So I'll add 2011 max to supported versions.

shopkeeper · 2011-05-29

Hey thanks again.

Is there a way to make the 'move with keyboard' script work with the 'TapeCoordSys' script?

When I create a tape and select it as the reference cordinate system using the TapeCoordSys, any object moved using the keyboard shortcuts for the 'move with keyboard' script don't move along the axis of the newly created tape helper. Hope that makes sense.

shopkeeper · 2011-05-28

How do I install these scripts please?

Could you give me a step by step guide as to which files/folders go where when the download file is unzipped, as I keep getting maxs script errors no matter what I try. Using maxs design 2010.

Thanks

sergo · 2011-05-29

Normally you should unzip archive to 3ds max root folder and restart max.

If you unzipped archive in some other folder then put SergoScripts folder to the 3dsmaxroot/Scripts folder and Icons and Macroscripts folder to the 3dsmaxroot/UI folder.

japanji · 2011-01-23

Goodnight

Like in Autocad:
The first point was the axis rotation, second was origin point and the third destination point.
I realized some tests and you are right. Errors happen when the snap3D is activated; with snap2.5D the script work perfectly.
In these test my solution not work correctly. Nevermind my previous comment.

Thanks

In max 2010

japanji · 2011-01-22

Great pack!! I look for for this a long time.
I use max 2010 and the 3 point rotate not work correctly. I change the mode calculate of "theAngle" for solve this problem.

/* original mode
-- vectors
v1 = originalPoint - basePoint
v2 = referencePoint - basePoint
--angle from 'dot'-function
theAngle = acos(dot (normalize v1) (normalize v2))
*/

coefAB = (originalPoint[2] - basePoint[2])/(originalPoint[1] - basePoint[1])
coefAC = (referencePoint[2] - basePoint[2])/(referencePoint[1] - basePoint[1])
theAngle = atan coefAB - atan coefAC

thanks for the scripts.

sergo · 2011-01-22

Thank you japanji!

I think the error in rotation script happens not because of the wrong formula but because of 3d snapping - script grabs the points that don't lay on the construction plane. This is what happens in my case occasionally. Could you provide the steps to reproduce the error?

BTW, thank you for the formula, you've made me think how little I remember of the school math course.

sergo · 2009-07-24

I tested this pack under 3ds max 2010 and it works ok, except  WhiteVPBackground script. I should use SetUIColor function instead of setVPortBGColor.

my scripts and tips/tricks:
www.sergepogosyan.com

titane357 · 2009-07-11

yes, please !!! :-))

fajar · 2009-07-10

hey sergo thank you very much! it s save me time very much!!

titane357 · 2009-07-10

are 3PointScale and 3PointRotation broken for 2010 ? :-((

sergo · 2009-07-10

Didn't test under 2010 yet, sorry. Will try very soon, next week probably.

 

my scripts and tips/tricks:
www.sergepogosyan.com

ale one · 2009-02-20

the 3PointRotation script is very good!!!!and the scale too...

sergo · 2009-02-19

Rotation of UVW gizmo and Slice plane added to rotateXXX commands in 1.4.6 version.

 

my scripts and tips/tricks:
www.sergepogosyan.com

sergo · 2008-12-17

To whose who uses 3PointRotation in 3ds max versions 9 - 2009:

In recent versions of 3ds max there is a bug in pickpoint maxscript function. So, to get correct results with 3dpointrotation script don't drag mouse while picking points. In other words when you pick the point in the viewport, mouse must not move between the moment you press left mouse button on the point and until you release the button. Otherwise picking becomes dragging and maxscript couldn't recognize point coordinates and script won't behave correctly.

Hope this helps you a little.

my scripts and tips/tricks:
www.sergepogosyan.com

sergo · 2008-11-15

Updated script archive. There was a bug.

 

my scripts and tips/tricks:
www.sergepogosyan.com