For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

cut does not work with imported STL files

Indrajit Jagtap's picture
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