BRep.from_shape

classmethod BRep.from_shape(shape)

Construct a BRep from an OCC shape.

Parameters

shape (TopoDS_Shape) – The OCC shape.

Returns

BRep