Jump to content
art3mis

Scaling geometry in CopyToPoints operation

Recommended Posts

Hi
I have a simple cube copied to a circle in a CopyToPoints SOP.
I want to scale these cubes dynamically based on a custom point attribute, lets call it @age.

How would I accomplish this?

cubes_orient_to_line.hipnc

Share this post


Link to post
Share on other sites

If your points have a float @pscale atribute then CopyToPoints will automatically scale to that amount. I think it will also work with vector called @scale, and scale them in x/y/z.

Make a pointWrangle and try either of the below to see it working

f@pscale = rand(@ptnum);

v@scale = rand(@ptnum);

 

 

Edited by Martin B

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

×