mScale2Fit

Plugins linking to this thread: (hide)

m|Scale2FitAuthor: Martin Yara
Scales an object to fit a 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.

Introduction video availale on vimeo.

local backup: mScale2Fit.js (run in script editor or toolbar button)

Post Reply
User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

mScale2Fit

Post by myara » 18 Apr 2012, 13:52

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
Last edited by myara on 18 Apr 2012, 16:42, edited 2 times in total.
M.Yara
Character Modeler | Softimage Generalist (sort of)

User avatar
Hirazi Blue
Administrator
Posts: 5107
Joined: 04 Jun 2009, 12:15

Re: mScale2Fit

Post by Hirazi Blue » 18 Apr 2012, 16:38

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:
Stay safe, sane & healthy!

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: mScale2Fit

Post by myara » 18 Apr 2012, 16:41

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
M.Yara
Character Modeler | Softimage Generalist (sort of)

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 18:23
Location: Canada

Re: mScale2Fit

Post by ActionArt » 18 Apr 2012, 16:54

Another very cool tool! Nice work!

Any chance it might become an addon for easy installation?

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: mScale2Fit

Post by druitre » 18 Apr 2012, 17:31

+1 for the addon- I'd like to have this next to mAligner, and thanks for the very nice tools!

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: mScale2Fit

Post by myara » 18 Apr 2012, 19:14

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.
M.Yara
Character Modeler | Softimage Generalist (sort of)

User avatar
ActionArt
Posts: 853
Joined: 25 Nov 2010, 18:23
Location: Canada

Re: mScale2Fit

Post by ActionArt » 18 Apr 2012, 19:22

Awesome, thanks! :-bd

User avatar
eternal art
Posts: 93
Joined: 08 Jun 2009, 22:48
Location: UAE - Abu Dhabi

Re: mScale2Fit

Post by eternal art » 18 Apr 2012, 20:30

thank you man for sharing your nice tools .
3D Supervisor - Production House .

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: mScale2Fit

Post by druitre » 18 Apr 2012, 23:22

Wow, that was quick! Thank you!

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: mScale2Fit

Post by myara » 07 Aug 2012, 06:26

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


M.Yara
Character Modeler | Softimage Generalist (sort of)

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests