I need to align random objects on a path or plan

I need to align random objects on a path or plan

Waseem_Dabbas
Advocate Advocate
3,080 Views
5 Replies
Message 1 of 6

I need to align random objects on a path or plan

Waseem_Dabbas
Advocate
Advocate

Hello,
I was trying to search for a normal script but couldn't find...
I have many random objects, and want to align them Regularly on a path or on a plan, what I mean by align is to have the same distance between each object, it's like making array of different objects
Any idea?
Thank you

0 Likes
Accepted solutions (1)
3,081 Views
5 Replies
Replies (5)
Message 2 of 6

malcomarmstrong
Advocate
Advocate

Well, you could:

normalize the spline using: Normalize Spl modifier

get the spline length using: curveLength(selection[0])

divide the length into the amount required

snapshot your objects along the path

OR

Create a point helper and add a path constraint

move the point along the path and copy with offset to the point position on the path.

 

placing on a plane is different.

You could use particle flow to create objects as particle (from a group or selection) on a plane that has had faces selected at the sub object level and used as a position object.

 

Or some form of face selection and distribution method.

 

 

I dont have time right now, but post back some updates or other info and I can look at it. cant promise a quuick reply as v busy.

regards

0 Likes
Message 3 of 6

ads_czechoj
Autodesk
Autodesk
Accepted solution

You can try to use the Object Paint:

 

ObjectPaint.png

Message 4 of 6

Waseem_Dabbas
Advocate
Advocate

Thank you for the answer

Good idea, but this make some objects been duplicated several times, in my situation, I have a specific number of objects, let's say I have 100 plants, I want them to be moved to be placed in rows next to each others in specific distance.

0 Likes
Message 5 of 6

ads_czechoj
Autodesk
Autodesk

You could also try using a proxy in a container. Please let me know if you need any help with this workflow, but in general, you will have zero polygons in the scene with closed containers and you can add any number of objects to the Paint dialogue:

PaintObjects.gif

 

 

 

Message 6 of 6

Waseem_Dabbas
Advocate
Advocate

Sorry for being much late to reply this post

Thank you for the answers but actually it never answer my question, what I want is a specific number of objects to be moved to a specific place regularly, let's say we have 30 of chess pieces, and I want them to be moved into chess board squares center, It doesn't matter where each piece have to go, what matter is those 30 piece has to be moved to a center of squares of a specific plane.

your method will clone objects randomly and/or in random places.

Sorry if I couldn't explain my idea at the beginning. My English is not enough to explain my question sometimes.

0 Likes