1. Import 2 parts from STL file and transform them to shapes
2. Make boolean operation (CUT operation) between 2 imported shapes.
I encountered several problems:
- StlAPI_Reader::Read function works very slow. The STL file contains thousands of triangles and sewing operation works slowly
- At last, I got 2 shapes I can not make cut operations, because (I guess) there are not Solid.
I will appreciate to any idea , how to solve this issue.
Discussion
1 archived reply
Posts are displayed in their archived order.
01Commenter-1
Boolean operations in OCCT are designed for dealing with BRep geometry, not with triangulation data.
StlAPI_Reader wouldn't make any good geometry for you - it just reads triangles.
Either, you need reconstructing B-Spline surfaces from STL files (expensive, slow and requires user interaction)
or consider performing Boolean operations designed for triangulation data like provided by Mesh Framework: https://www.opencascade.com/content/mesh-framework