Masoud Posted March 17 Share Posted March 17 (edited) Hi guys, How can I create a group of edges by range same as the "Group By Range" SOP, (I mean procedurally) : for example 1 edge every 3 edges? Thanks for helping. Edited March 17 by Masoud Quote Link to comment Share on other sites More sharing options...
sunchao360 Posted March 17 Share Posted March 17 Quote Link to comment Share on other sites More sharing options...
sunchao360 Posted March 17 Share Posted March 17 or Quote Link to comment Share on other sites More sharing options...
sunchao360 Posted March 17 Share Posted March 17 Quote Link to comment Share on other sites More sharing options...
Masoud Posted March 17 Author Share Posted March 17 Hi Sunchao360, Thank you for the reply, but I didn't get your solution Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted March 17 Share Posted March 17 you could promote a group from polygons to edges. edge_group.hipnc Quote Link to comment Share on other sites More sharing options...
Masoud Posted March 18 Author Share Posted March 18 Thank you Konstantin, but your solution a little bit complicated. I tried to use the "neighbours()" VEX function to set the edges group: int nei[]; i[]@nei = neighbours(0, @ptnum); foreach(int i; @nei) { if (inpointgroup(0, chs("group"), i)) { setedgegroup(0, "SelectedEdges", @ptnum, i, 1); } } And here is my hip file: Selecting_Edges_Between_Selected_Points.hip 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.