I have a list of breps sorted by their normals. I need to sort these lists by their collinearity and proximity to create a bounding box around the frames to simplify the groups into one box. A secondary problem will then be making a bounding box(shrink box) around those groups rather than a rectangular shape.
Preferrable would like a solution without plugins, thanks
Attached the frames in a .gh file
FRAMES.gh (4.4 MB)