Notifications
Clear all

[Closed] Random Scale Objects script?

Anyone have a max script that can randomly scale objects with in a range?

Eg… each object selected is scaled +2% -> -2% etc etc

I only need them scaled uniformly but if there is a script that can do it and more i would still use it… when cloning large amounts of object i think tiny variations of scale produce a better result… but haven’t been able to find a max 9 script to do this… everything on scriptspot is to old (plus i find that site really hard to navigate nowadays

Any help would be appreciated.

Jynks

7 Replies

It’s a fairly simple calculation:


   undo on
   (
   	for  obj in selection do obj.scale *= (random 0.95 1.05) 
   )
   

Just change the range in the random brackets to alter the amount of scale percentage (based off 1.0 not 100%)

In fact, you get get really freaky and animate it over time:


undo on
(
	
	animate on
		for x = 1 to 100 do --over a frame range of 100
			at time x (for  obj in selection do obj.scale *= (random 0.95 1.05))
)

Thank you erilaz… i keep asking my boss to give me some time alone to learn maxscript but there is always a new deadline

Thanks again

Hehe perhaps we could agree to refuse to help you in the future. Then you can tell him. “They’re all being mean and unless you give me time to learn maxscript they won’t help me anymore.”

“Teach a man a script and you help him for a day. Refuse to help him and he can blackmail his boss into giving him time to become a better employee.”

Absolutely! No more help from now on…

Aaahhhaha. What a bunch of jerks.

count me in.

You can also check out the RandomTransform script at http://www.neilblevins.com check the soulburnscripts area.

  • Neil

omg talk about your all time backfires.