frankengen Posted June 13, 2015 Share Posted June 13, 2015 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 Quote Link to comment Share on other sites More sharing options...
Artem Smirnov Posted June 13, 2015 Share Posted June 13, 2015 Just sort your primitives by x axis with sort node before join Quote Link to comment Share on other sites More sharing options...
magneto Posted June 13, 2015 Share Posted June 13, 2015 You can also use Find Shortest Path SOP to create a single curve from one end of the curve to the other. Quote Link to comment Share on other sites More sharing options...
frankengen Posted June 13, 2015 Author Share Posted June 13, 2015 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 1 Quote Link to comment Share on other sites More sharing options...
frankengen Posted June 13, 2015 Author Share Posted June 13, 2015 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 Quote Link to comment Share on other sites More sharing options...
frankengen Posted June 13, 2015 Author Share Posted June 13, 2015 i think i fixed it ConnectLines_EndPoints_02.hipnc Quote Link to comment Share on other sites More sharing options...
frankengen Posted June 14, 2015 Author Share Posted June 14, 2015 Doh! I found a even easier way to do this, if you convert it to a nurbs curve the join sop works its magic perfectly No need for anything else 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.