Jump to content
Sign in to follow this  
jackassol

CopySOP - move pivot of copies

Recommended Posts

Hello guys, 

i copying geo on a spline und control the scale of the copied pieces with a ramp. (picture 1)

Now i wanted transform each piece to the "ground"  - the bottom border of each peace, should be at the same height. (picture 2)

How i could do that?

best!

 

Bildschirmfoto 2017-01-26 um 20.18.45.png

2.jpg

copy_222.hipnc

Edited by jackassol

Share this post


Link to post
Share on other sites

Hi there;

Your answer lies in your question - use "foreach" after measuring the connectivity of the pieces. Inside, use an expression to move the pivot to the bottom of Y axis with $YMIN and subtract it from the Y translations

 

copy_222_trans.hipnc

  • Like 1

Share this post


Link to post
Share on other sites

Can you give a little more information of what you're trying to accomplish? You could control the rotation of each piece separately by giving each piece an attribute and then sending that through a ramp to remap the values. I've done a quick example using a attribute vop although I'm not sure if this is what you're looking for.

copy_222_trans_rotate.hipnc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×