# Select interior faces of a BREP

I need to select the interior faces/edges of these BREPS starting from the BREPS themself. Any suggestion? Thanks a lot, Roy

select interior faces of a brep.gh (23.7 KB)

Do you mean in a more automized way, or how do you mean select?

Hi Felix, in an automate way, Iâ€™ve already did it manually as you can see in the GH file. Thanks, Roy

Hi @lopez ,

Do you have the bit of gh script or Rhino file that generated these forms?

While it can be solved as is, it would be MUCH easier to solve by having each â€śframe halfâ€ť of the â€śarch Lâ€ť already separated prior to any joining/mitering that occurred at the closest point in camera view.

Thanks!

Hi Michael, nope, I canâ€™t separate the brep. My idea was to use the distance to the centre of the brep but I havenâ€™t found a solution.
Thanks, Roy

@lopez Understood.

I have a script in the works that will tackle it, Iâ€™ll have to finish it later.

It essentially gets the bounding box of each â€śframeâ€ť / splits it into halves on the diagonal, determines which faces of the overall frame are within each of these â€śhavesâ€ť and then determines which of these faces are the closest to the center of said faces.

Iâ€™ll share tonight or tomorrow morning, almost done.

Hereâ€™s a way for now while @michaelvollrath returns with a true solution:
select interior faces of a brep.gh (35.0 KB)

Intrigued by this - I couldnâ€™t visualize it properly after splitting bounding boxes with a plane from their diagonal vectors- most likely the limit of my knowledge

Nice one @RenĂ©_Corella! purely based on your file. This logic works with this specific geometry.
@lopez If you have other different geometries that require the same selection, please upload them to test.

+1

select interior faces of a brep.gh (33.3 KB)

1 Like

Hi, All!
Thanks a lot.
Now I need to fillet the exterior edges of these faces (I thought it was easy after selecting the faces but I have not yet done it). Any suggestion?

Since it seems to be the same geometry, Rhino modelling would have been fasterâ€¦
Some surfaces doesnâ€™t have a valid edge for fillet.

rebuild_fillet.gh (57.6 KB)

Hi Thomas,
Thank you for trying.
Anyway, it seems there is an error on the fillet angle: