BRepFace.from_surface
- classmethod BRepFace.from_surface(surface, udomain=None, vdomain=None, precision=1e-06, loop=None, inside=True)
Construct a face from a surface.
- Parameters
surface (
compas_occ.geometry.OCCSurface
) – The torus.precision (float, optional) – Precision for face construction.
loop (
compas_occ.brep.BRepLoop
, optional) – A boundary loop.inside (bool, optional) – If True, the face is inside the boundary loop.
- Returns