Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

random placement
show user profile  zeefusion

I am looking for a script or process that would place multiple shapes within 3d space. like the image below. Any ideas?

read 605 times
3/6/2009 5:36:35 AM (last edit: 3/6/2009 5:36:35 AM)
show user profile  Nik Clark
Here you go. Select all the objects, then run this. Change the 100 to what ever minimum and maximum position values you need.

xmin = -100
xmax = 100
ymin = -100
ymax = 100
zmin = -100
zmax = 100

for i in selection do
randx = random xmin xmax
randy = random ymin ymax
randz = random zmin zmax
i.pos = [randx, randy, randz]

read 597 times
3/6/2009 5:49:29 AM (last edit: 3/6/2009 6:06:14 AM)
show user profile  zeefusion
Awesome. Just what i wanted, Thanks!
read 564 times
3/6/2009 1:51:50 PM (last edit: 3/6/2009 1:52:01 PM)
show user profile  Nik Clark
Glad to help :o)

read 552 times
3/6/2009 2:12:38 PM (last edit: 3/6/2009 2:12:38 PM)
#Maxforums IRC
Open chat window