Doom Spline Resizer - draw line with precise lenght

3 votes
Version: 
0.6
Date Updated: 
08/12/2023
Author Name: 
Vin Carbone (Doomgrave)

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!

Additional Info: 

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!

Version Requirement: 
Written for 3ds 2016+
Video URL: 
AttachmentSize
doomsplineresizer_0.4.mcr4.5 KB
doomsplineresizer_0.5.mcr5.09 KB
doomsplineresizer_0.6.mcr6.38 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
doomgrave's picture

Updated

I have updated the scripts with the features requested! Thank you

doomgrave's picture

Updated

I have updated the scripts with the features requested! Thank you

1rv's picture

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?

doomgrave's picture

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!

obaida's picture

nice and useful script thanks

nice and useful script thanks , i think i'll modify it a bit to make it more handy :) .

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.