RigidPart.from_brep

classmethod RigidPart.from_brep(brep, name=None, **kwargs)[source]

Create a Part object from a BREP file.

Parameters:
brepstr

Path to the BREP file.

namestr, optional

Name of the new Part.

Returns:
_Part

The part.