Page 1 of 1

mScale2Fit

Posted: 18 Apr 2012, 13:52
by myara
I didn't know how to name this tool :D but well, it's done.

What does it do:

Scales an object to fit an specified length. This length can be taken from another object, points or specified manually.
Translate an object by their bounding box centers, regardless of their center position.



Scale:
Aspect = Keep Aspect Ratio.

Move:
BBoxC = Move by their bounding box center

Freeze Scaling = Freeze after scaling.
Local = Scale and Get BBox with local position.

Warning:
Since SI can't do global scaling, if you scale with the global option, it will freeze the rotation before scaling, and after that, re-rotate the center to it's previous value.

It's an script so you won't be able to do one click-undo.

Download
http://dc523.4shared.com/download/3XO1k ... ale2Fit.js

Re: mScale2Fit

Posted: 18 Apr 2012, 16:38
by Hirazi Blue
Judging from the video, it seems the name fits the script perfectly.
You might want to add the download address to this page as well...
(not everybody thinks of looking on the Vimeo page)

Thanks for sharing... :ymhug:

Re: mScale2Fit

Posted: 18 Apr 2012, 16:41
by myara
Hirazi Blue wrote:Judging from the video, it seems the name fits the script perfectly.
You might want to add the download address to this page as well...
(not everybody thinks of looking on the Vimeo page)
Thanks for sharing... :ymhug:
I forgot you can watch the video without going to the Vimeo page ! :D

Re: mScale2Fit

Posted: 18 Apr 2012, 16:54
by ActionArt
Another very cool tool! Nice work!

Any chance it might become an addon for easy installation?

Re: mScale2Fit

Posted: 18 Apr 2012, 17:31
by druitre
+1 for the addon- I'd like to have this next to mAligner, and thanks for the very nice tools!

Re: mScale2Fit

Posted: 18 Apr 2012, 19:14
by myara
Addon version:

https://dc544.4shared.com/download/PrO8BaMY/mScale2Fit.xsiaddon

I fixed a few things like now you can get the BBox local position of an object even if its scale value has not been frozen.

This Addon adds 2 commands for Move and Scale, so now you can undo easily.

You'll find the [ mScale2Fit ] launch option in your Transform Menu on the Right.

Bug reports or suggestions, send me a message, or write me here.

Re: mScale2Fit

Posted: 18 Apr 2012, 19:22
by ActionArt
Awesome, thanks! :-bd

Re: mScale2Fit

Posted: 18 Apr 2012, 20:30
by eternal art
thank you man for sharing your nice tools .

Re: mScale2Fit

Posted: 18 Apr 2012, 23:22
by druitre
Wow, that was quick! Thank you!

Re: mScale2Fit

Posted: 07 Aug 2012, 06:26
by myara
New version

I had a blueprint that was in feet so I had a little trouble in converting everything in dms so I decided to add feet support to this plugin. And since I'm doing this, why not inches, yards and other unit systems.

Added kms, ms, cms, mms, feet, inches, yards, miles unit support.
1 SI unit = 1 dm

https://dc602.4shared.com/download/PrO8 ... t.xsiaddon