Jump to content
Sign in to follow this  
booger

Is it possible to control the distance of points (along a line) to be narrow and then spread out the further it goes?

Recommended Posts

I thought it's easy but I just can't get it right....  What I am trying to do actually is to copy a box along a line, from one end (big) to another (small) but that the same time boxes are right next to each other, as image attached.  I tried the simple copy sop but I only can make box scaling the way I wanted but not the distance, further apart.  So I wonder if there is way to control the distance of points along a line and I will copy box onto those points, then control the distance of points to adjust the position between the boxes....  Is it possible?

Question_copy_transform.JPG

Share this post


Link to post
Share on other sites

Actually, never mind, the duplicate sop does exactly what you're complaining. 

I'll come up with an actual way, just a sec 

 

Here:

 

odf_copy_straight.hip

 

A little recursive for-eaching. I did the distance by eye, but you can calculate the offset with an expression if necessary 

Edited by vtrvtr
Proper answer

Share this post


Link to post
Share on other sites

Thanks for the example file, vtrvtr!!  

This is exactly what I was trying to do and never thought of using for-each to do this.

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  

×