Jump to content
Sign in to follow this  
nocturn

divide/split curve from intersection point?

Recommended Posts

 

Hi,

If a single curve intersects with itself, I need to divide/split it from where it intersects with carve sop.

When I manually enter the value of "sourceprimuv"(intersectionanalysis) to carve FirstU , seems ok.(I don't know how to use attributes procedurally)


1- How do I automatically bind the sourceprimuv value to the carve firstu value?
2- How can I divide/split a single curve if it intersects itself at more than one point?

file in attachment.

Thanks in advance.

 

intersection.hipnc

Share this post


Link to post
Share on other sites

Hi,

you can use a list/array for example to store all u-values. Now you can pick any pair of u-values from this list and create detail attributes (u0 and u1 for example) and call them in the carve node.

 

@edit: you can also interpolate inbetween points.

intersection_mod.hipnc

intersection_modA.hipnc

Edited by Aizatulin
  • Like 1

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  

×