pythonocc-core icon indicating copy to clipboard operation
pythonocc-core copied to clipboard

Convert part of step file surface to stl mesh

Open JulianWi21 opened this issue 4 years ago • 1 comments

Hello everyone,

is it possible to convert only a part of a step file, like a specific surface, to a mesh and a stl file (see dark blue surface in attached image)? In my step file I have got various faces with a certain colour that reflect my regions of interest. surf2

Thanks in advance.

JulianWi21 avatar Jun 09 '21 11:06 JulianWi21

Yes it is. Traverse all subshapes and faces, then extract the relevant face to an stl file.

tpaviot avatar Dec 06 '21 05:12 tpaviot