cut does not work with imported STL files

Forums: 

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.

Attachments: 
jelle's picture

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