kiryha Posted July 12, 2018 Share Posted July 12, 2018 (edited) I need to delete round part of the curve. The only way I manage to do it gives the desired result on the right side but remain segment on the left side (bottom shape). I need a second object which will exclude initial circles. delete_segment_01.hipnc Edited July 12, 2018 by kiryha Quote Link to comment Share on other sites More sharing options...
Stephen Moroz Posted July 12, 2018 Share Posted July 12, 2018 Hey, I've fixed the issue - the entire line was being stored as a single primitive so when you deleted the points, it kept the line connected. All I did was add a 'convert line' SOP before the point wrangle, which makes every line segment a separate primitive. (I also turned off the rest length attribute since you probably won't need it). delete_segment_01_fixed.hipnc 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted July 12, 2018 Author Share Posted July 12, 2018 Hi, Stephen, That's works, thanks! However, the resample node placed after OUT_LINES does not work as expected (rising Length has no effect). I need dramatically reduce the amount of points there. delete_segment_02.hipnc Quote Link to comment Share on other sites More sharing options...
Stephen Moroz Posted July 12, 2018 Share Posted July 12, 2018 This should fix it: delete_segment_02_fixed.hipnc Connectivity is just setting a class attribute on the points for each connected piece, and then the add node is deleting all the prims and creating them again using that class attribute. 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted July 12, 2018 Author Share Posted July 12, 2018 Ok, that solution works, thanks! But I wonder what the convertLine SOP did that resample stop working... Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 12, 2018 Share Posted July 12, 2018 here's my way...(left branch) delete_segment_02_vu.hipnc 1 Quote Link to comment Share on other sites More sharing options...
kiryha Posted July 12, 2018 Author Share Posted July 12, 2018 Cool, Vusta! I was trying to go this way with group transfer as well but did not get it working, nice trick with facet SOP. 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.