OCCBrepFace.from_cylinder

classmethod OCCBrepFace.from_cylinder(cylinder, loop=None, inside=True)

Construct a face from a cylinder.

Parameters:
cylindercompas.geometry.Cylinder

The cylinder.

loopcompas_occ.brep.OCCBrepLoop, optional

A boundary loop.

insidebool, optional

If True, the face is inside the boundary loop.

Returns:
OCCBrepFace