i have a performance problem with the OpenCASCADE Meshing algorithm. In my example i am showing lots of objects (10 thousands) which consist only of planar faces (they all have in most cases 4 edges).
The geometry of the surfaces is always GeomAbs_Plane and the geometry of edges is GeomAbs_Line.
The time needed to show such objects differs from 0.1 to (maximal for some cases) 1 second.
With that amount of objects i need 3 minutes to create the TopoDS_Shapes and more than 7 minutes to create the meshes.
I mesh the TopoDS_Shape objects with BRepMesh_IncrementalMesh lMesh(shape, 0.001);
I dont want to run the algorithm parallel, becuase the TopoDS_Shapes are already created in a parallel mode.
Any ideas or maybe hints what do i do wrong or how can i speed the process up?