I do work with a lot of furniture panels, and some parts do need to go to the Edge-bender to apply the edges in the corresponding places.
I do receive this models from various designers and one of my jobs it is to write Keys with the number of edges any part needs to have and after that to group them together into groups, each part having grouped with their corresponding edges, so at the end, the edge-bender operator to know if and where needs to apply an edge to respective part.
I do need to find a more automatic way to do this process if possible.
The edges are into a separate layer so I can feed into Grasshopper as separate BREP input, and the parts that needs to detect this edges will be another BREP input.
Any help will be appreciated. Thank you for your time!
Edges_Detector.3dm (1.7 MB)
Associating a red brep to the closest white Brep is possible.
So is inserting tags, I’m using Elefront there.
The issue is that you seem to need a specific way of numbering the “edges” that does not match the amount real edges. Here an example :
This has 6 edge surfaces (not including front and back obviously, and not including the holes !) and you are expecting Rhino to “guess” there are 4 groups of edges.
Also : I assumed W (width) was for the shorter sides of the box and L (Length) for the 2 larger sides. Is the distinction 1/2 important ? I get differences from your result.
I used bounding boxes to get back to 6 faces but no guarantee it will always work.
I’ll let you digest that.
InsertTagsOnFaces.gh (16.5 KB)
Thank you for the answer. Unfortunately I do work with complex shapes and it is difficult to generalize. I do have parts with all sorts of shapes and sizes.
It is possible to group the edges to their corresponding parts and inherit the name of the group from the name of the main part?