OCCBrepFace.from_torus

classmethod OCCBrepFace.from_torus(torus, loop=None, inside=True)

Construct a face from a torus.

Parameters:
toruscompas.geometry.Torus

The torus.

loopcompas_occ.brep.OCCBrepLoop, optional

A boundary loop.

insidebool, optional

If True, the face is inside the boundary loop.

Returns:
OCCBrepFace