Archived discussion

cut does not work with imported STL files

pythonOCCFri, 06/20/2014 - 16:501 reply

Browse this forum
QuestionAuthor

Hello,

I am using pythonocc. I could successfully cut sphere and box. When I try same code with imported STL files, it does not perform cut. It does not give any error as well. Fude operation with same imported STL files work well.

The code and STL files are attached.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

OCC essentially deals with B-Rep's ( boundary representation ) [1] while STL's describe polygon / triangular meshes [2]...
So your input does not make a lot of sense to be processed in OCC.

[1] http://en.wikipedia.org/wiki/Boundary_representation
[2] http://en.wikipedia.org/wiki/Polygon_mesh