Is there a way to get indices of joined breps after brep join? What intersection method does this component use to decide which breps to join? When I use clash or collide or any other method to evaluate intersections, it is very computationally heavy and may not give the indices in the correct order.
Ideally I would like to get another output from joined breps component, that contains the same amount of branches as the amount of breps it gives, and each branch to contain indices of initial surfaces used to create corresponding brep. Is that possible?
The classic solution for that sort of stuff is to Cluster your collection (criterion: Ccx). Thus you’ll get a Tree of Type int where paths are the Cluster ID and items the indices of the Breps. If a given Cluster has one member this is the index of an isolated item. This means that if you attempt, say, to Union all the items - via their indices - per Branch … you should get a valid Brep. Since Rhino is a Surface modeller … that sort of stuff may require some time (but you can use a classic pre-filter when Clustering like Boxes Intervals [x/y/z] Ccx).
The bad news is that for Clustering you’ll need code.
Tip: don’t attempt the Clustering via a “simple” double Loop.
thanks a lot for the explanation! I like to code, but I am a beginner at coding, and right now I am under pressure at work, so I do not have time to experiment :C I found topology of adjacencies in heteroptera, not perfect, but does the thing. So, the problem is solved:)