cut does not work with imported STL files



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.

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.