Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 19-06-2005 , 08:46 PM
Subscriber
Join Date: May 2005
Posts: 240

Random Object Placement

I have a plane and i want to duplicate an object at random parts and in groups (so they're not completely spread everywhere but somewhat clustered in parts)

is there an easy way to do this? i dont particularly feel like duplicating the object and placing them everywhere.

*edit* i also want them to be scaled randomly

# 2 20-06-2005 , 09:05 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
use MEL to randomly duplicate, place and scale them. Should be really simple and a good maya scripting exercise.

user added image
A


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 3 20-06-2005 , 08:07 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
I would use a particle system on a plane, but if you just want a script that will randomly afftect the translation, totation or scale of an object... you can use mine.

If you duplicate your object many times with an offset then you can run this script to randomize things so it doesn't look too neat and tidy.

Attached Files
File Type: zip rdnobj.zip (8.2 KB, 982 views)
# 4 21-06-2005 , 02:47 AM
Registered User
Join Date: Jun 2005
Posts: 3

LLLLK

Originally posted by Dann
I would use a particle system on a plane, but if you just want a script that will randomly afftect the translation, totation or scale of an object... you can use mine.

If you duplicate your object many times with an offset then you can run this script to randomize things so it doesn't look too neat and tidy.


# 5 21-06-2005 , 05:06 AM
Subscriber
Join Date: May 2005
Posts: 240
thanks a lot...i havent done anything with MEL yet, so it'd be a little difficult to create a script...but i'll probably just try it to learn.

i thought about using a particle system...i'll try that...and thanks for the script too user added image

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads