hopbin9 Posted June 1, 2011 Share Posted June 1, 2011 Hi, I've got a problem merging polygon curves together into a single curve. When I consolidate points using either Clean SOP, Facet SOP or Fuse SOP it outputs a curve with fewer points, but the vertex count remains the same and so does the primitive count. So if I make a rectangle out of 4 lines, then I have 8 points and 4 primitives. When I consolidate the points I get 4 points, 8 vertexes and 4 primitives. What I'm expecting is to get 4 points, 4 vertexes and 1 primitive. I can't seem to figure this out. Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted June 1, 2011 Author Share Posted June 1, 2011 I've attached a HIP file demonstrating my problem. I want to create a curve that merges other curves, but produces 1 primitive. consolidate-problem.hipnc Quote Link to comment Share on other sites More sharing options...
Macha Posted June 1, 2011 Share Posted June 1, 2011 This is a bit stupid but perhaps it helps. I hope somebody knows a more straightforward way. consolidate-problem.hipnc Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted June 1, 2011 Author Share Posted June 1, 2011 This is a bit stupid but perhaps it helps. I hope somebody knows a more straightforward way. That's very clever not stupid. I could turn that into an asset and reuse it. Thanks, Quote Link to comment Share on other sites More sharing options...
anim Posted June 1, 2011 Share Posted June 1, 2011 what about Fuse SOP then Join SOP with Only Connected checked then maybe one more Fuse if you want closed shape 1 Quote Link to comment Share on other sites More sharing options...
Macha Posted June 1, 2011 Share Posted June 1, 2011 (edited) Excellent Tomas! I knew this was one for you! I used your method and added some nodes to get a curve and original point ordering. consolidate-problemb.hipnc Edited June 1, 2011 by Macha 1 Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted June 1, 2011 Author Share Posted June 1, 2011 Awesome. Join SOP was the secret node I couldn't find. I can now replace a dozen nodes with just a couple. Thanks guys. Quote Link to comment Share on other sites More sharing options...
WLVL Posted April 8, 2018 Share Posted April 8, 2018 Hello! I am trying to fuse multiple primitives into a single one. This is a branched structure. I get some odd results where I get a single primitive but the ends are also connected. Suggestions? workarounds? Hip file attached with some examples and trials. Thanks! [ polypath SOP, join SOP, fuse multiple primitives, fuse multiple curves / polygon primitive into a single primitive ] fuse_nprim.hip 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.