hojun-y Posted March 19, 2023 Share Posted March 19, 2023 I used boolean shatter (with treat as surface option for both sets) to split the geometry A. However, the node drops all edge groups in the geometry. As in the attached file, I'm finding a way to keep the geometry A's edge groups after shattering, just like the DESIRED_OUTPUT node on the right side. I want to know how to shatter the (planar) geometry without losing edge groups or reassigning them after splitting. Thank you. boolean.hipnc Quote Link to comment Share on other sites More sharing options...
RexHox Posted March 20, 2023 Share Posted March 20, 2023 use LabsPolyscalpel instead labspolyscalpel.hipnc Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted March 20, 2023 Share Posted March 20, 2023 Here is a method extracting the edges, which are in the group. For each point and each neighbour you can check, if the distance is close enough to one of these edges. It is probably necessary, to collect all incident edges for each point, because there can be more than one edge, which is in the group and close enough to the point (especially if the point is an original point and it has multiple edges, which are in the group). The midpoint of both points should be close enough to one of these edges from both points, If this is the case, the edge should be in the group. group_if_small_dist.hipnc Quote Link to comment Share on other sites More sharing options...
hojun-y Posted March 20, 2023 Author Share Posted March 20, 2023 @Aizatulin I checked your file; it works just as I wanted! Thank you for helping me 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.