Jump to content

Connecting lines, or sorting point order in primitive line


Recommended Posts

Ive been trying for quite a while now and searching all over. But I can't quite get it working in my example for what i want to do. I basically want to connect many lines and combine them to one primitive and sorting the point order from beginning to end. And I'm really struggling to do it. I connect the lines with a fuse sop and that is fine but they are then out of order. Then i try the join sop with only connected turned on, but it still does not connect all the primitives for some reason. I would love any help i could get. Thank you so much in advance.

 

Thank.

Frank

ConnectLines_01.hipnc

Link to comment
Share on other sites

Thanks for that I will have a different order so the x sort wont work in the actually example. But the shortest path works amazingly. Thanks so much. Now I just need to find a way to procedural find the end and start of the curve. 

Thanks again

  • Like 1
Link to comment
Share on other sites

Thanks again.

 

Ive now found the end and beginning point in VOP. Then promote the two attributes and tried putting them in the find closes path sop with both point() and detail() expression neither of with I can get to work and I dont quite get why it does not work when I think it should. Many thanks for the help.

 

Frank

ConnectLines_EndPoints_01.hipnc

Link to comment
Share on other sites

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...