OCCBrepFace.from_surface
- classmethod OCCBrepFace.from_surface(surface, domain_u=None, domain_v=None, precision=1e-06, loop=None, inside=True)
Construct a face from a surface.
- Parameters:
- surface
compas_occ.geometry.OCCSurface
The torus.
- domain_uTuple[float, float], optional
U parameter minimum and maximum.
- domain_vTuple[float, float], optional
V parameter minimum and maximum.
- precisionfloat, optional
Precision for face construction.
- loop
compas_occ.brep.OCCBrepLoop
, optional A boundary loop.
- insidebool, optional
If True, the face is inside the boundary loop.
- surface
- Returns: