Dimension

44 votes
Version: 
1.2
Date Updated: 
01/02/2012
Author Name: 
Anubis

Scale tool coded as modifier plugin

Dimension

Additional Info: 

Installation:
Put this script into your Max stdplugs\stdscripts and restart the Max.

Disadvantage:
The Garbage Collection don't like this modifier.
Recommended to collapse the modifier stack and restart the Max.

v.1.2

Update Log:
v.1.1 - added checkbox to keep proportion
v.1.2 - now switch between relative/absolute mode fixed

Usage Notes:
Such scripted modifiers are memory consumer and I prefer to omit any callbacks additions which might polish some behaviours but will make the whole solution more dirty.

Instead of future complications, just read next usage notes about 2 known cases:

1. The size of modified object is acquired once when the Dimension is added to it. And that mean any size's changes of the base object after that are not handled. Shortly, if you need to modify the base object, just temporality remove/cut the Dimension modifier and then you are done, turn/past it back on the stack.

2. When you apply the modifier as instance to many objects of varied size, and wish to work in Absolute mode, keep in mind that the XYZ values you see are the size of the first object (to which the modifier is applied to). I hope this not look too logical confusing.

Version Requirement: 
3ds max 4 and higher
AttachmentSize
simpleMod_Dimension.ms1.05 KB
simplemod_dimension_11.ms1.35 KB
simplemod_dimension_12.ms2.25 KB

Comments

Comment viewing options

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

agree with other commenters

i agree with others who commented, as a dimension plugin it should be primarly showing absolute dimensions, and rather than changing the dimension to a fixed number, it should show the current dimensions and let the user change them as needed.
otherwise great job! thanks!

rs3d's picture

Scale each Element

Would it be possible to implement a function to scale each Element around its Pivot? So no global scale, but subobject-based scaling...

DavidAnatolie's picture

Excellent

Excellent script, works very fine.

mustafa mamdouh's picture

Very GOOD Script

Hope you have some time to develop it more ..

thanks to scriptspot community

dsp_418's picture

Dom, apologies, I totally

Dom,

apologies, I totally forgot about this post!
Maybe there's an email notification system here on script spot, if so I've to turn it on somehow.

Anyway, don't drop the script in the viewport, copy it in the scripts/Startup folder in your 3ds Max program folder.

Dom's picture

not working in 2014

Nothing happens when I select the modifier, it's not in the stack.
Maybe I have made a wrong install, I have dropped the script in the Max viewport, I see the dimension modifier in the list,
but when I select it, nothing happens and the modifier do not appear in the stack-list.

dsp_418's picture

It works just fine here.

It works just fine here. What's the issue?

Dom's picture

not working in 2014

Very usefull script, but not working in Max 2014, can you have a look ?

Anubis's picture

thanks for all suggestions

As for the system units just find this 3 strings #float and replace them with #worldUnits

my recent MAXScripts RSS (archive here)

milie's picture

Hey... Could you add the

Hey...

Could you add the possibility to scale to system units. I mean that the modifier read the actual object bounding box size, and then you can modify further.

Thanks

Comment viewing options

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