I usually get pretty heavy steel structure files in ifc format. When I convert them to rhino files it gets pretty bad in performance and file size wise. I am trying to block the same breps.
For example same colored steels are same brep just rotated.
I tried grouping and blocking it in the past but I need to find same face in every brep. For grouping part I used surface area. It feels like it’s works but I am not sure.
Maybe there is plugin or script for it? Maybe blocking it not gonna help? I have no idea. I would appreciate any ideas. :))
Importing ifc into Revit then going to Rhino will come in as blocks, whether or not they have their block origin at world 0,0 or on the element is file dependent.
I tried it. As you said it blocks the breps but it’s so inefficent I couldn’t find another instance of the same block. Probably most of them have 1 instance. You can see in the file as well.
Yeah ideally you would get individual members not the assembly as blocks.
Sorting the geometry (somewhat manually) then finding planes would be the way forward. Not a lot to work with there.
I did notice some odd performance issues with the p0d_canvasView that i will need to submit a youtrack for. Have you experienced any lag while that viewport is active and an object is selected? Thanks
one way to do it - although not 100% foolproof- is to calculate the bounding box in the plane perpendicular to the longest edge and some atributes of the mesh like number of vertices, faces, edges, volume, surface area, etc. if two meshes have the same attributes and approximately the same bounding boxes, then you can say they are identical, and you simply calculate a transform between the bounding boxes.
to make it 100% correct would be to go query the topology of each mesh, but it’s overkill for relatively simple meshes. a version of this would also account for things like scaling, but, again, not entirely necessary for your specific case