OCCBrep.from_step

classmethod OCCBrep.from_step(filename, heal=False, solid=False)

Conctruct a BRep from the data contained in a STEP file.

Parameters:
filenamestr | pathlib.Path

The file.

solidbool, optional

If True, convert shells to solids when possible.

Returns:
compas_occ.brep.OCCBrep