Jump to content

divide/split curve from intersection point?


nocturn

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

Link to comment
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
Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...