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:
- surfacecompas_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. 
- loopcompas_occ.brep.OCCBrepLoop, optional
- A boundary loop. 
- insidebool, optional
- If True, the face is inside the boundary loop. 
 
- surface
- Returns: