Doom Spline Resizer - draw line with precise lenght
This simple script will let you draw precise lines quickly almost as a CAD software!
It will Set the pivot to the first vertex of a shape object and align it to the first segment. A window will show up allowing to set the Lengh of a spline scaling from the first vertex.
You can find the mcr script in the Category:"_Scripts"
The .ms script will just load on RUN
USAGE:
For best use associate the script to a Key button (es. D that is free by default)
You can add a toolbar button found in "# Scripts" category
Use the key or press the toolbar button to start drawing a line
Repress the key/button to insert a line size or use the rollout tab
Set desired lenght and press ENTER or SET button to resize the spline
If you select a new line the script will take you to the resize rollout directly
The spline Pivot will be centered and aligned to the first vertex of the spline
Script works with any shape with a single spline, if you use a complex spline, the script will set the total lenght
Enjoy precision drawing in MAX!
#Version 0.5
-The script save the last position of the rollout when its used;
-The rollout won't close when you use the set button;
-Added Polar-mode shortcut button.
#Version 0.6
-Now you can resize multiple line at once when pressing the "SET" BUTTON amdmultiple splines are selected;
-Changed Category to _Script from # Script (generate an error on 3ds 2024).
WARNING:
The script will Xform your spline!
1. inspired by GARP "SetSplinesLength" script but works in a different way
2. if you can help me to improve this script I'll be gratefull
3. Hope you find my script usefull, Max absolutely needed a fast way to use measures!
Attachment | Size |
---|---|
doomsplineresizer_0.4.mcr | 4.5 KB |
doomsplineresizer_0.5.mcr | 5.09 KB |
doomsplineresizer_0.6.mcr | 6.38 KB |
Comments
Updated
I have updated the scripts with the features requested! Thank you
Updated
I have updated the scripts with the features requested! Thank you
Very useful, Vincenzo, many
Very useful, Vincenzo, many thanks! But if possible, could it memorize the window's last location?
Are you able to make it work with multiple lines?
Glad to share improvements to the script
If you want to share i'll be glad!
I'm not a pro maxscripter i've just made it work by trial and errors.
I've updated the script and the Video for it's usage!
nice and useful script thanks
nice and useful script thanks , i think i'll modify it a bit to make it more handy :) .
Youtube, Gumroad