MCPcopy Index your code
hub / github.com/CadQuery/cadquery / face

Method face

cadquery/occ_impl/nurbs.py:233–238  ·  view source on GitHub ↗

Convert to a Face object.

(self, tol: float = 1e-3)

Source from the content-addressed store, hash-verified

231 )
232
233 def face(self, tol: float = 1e-3) -> Face:
234 """
235 Convert to a Face object.
236 """
237
238 return Face(BRepBuilderAPI_MakeFace(self.surface(), tol).Shape())
239
240 @classmethod
241 def fromFace(cls, f: Face):

Callers 1

test_surfaceFunction · 0.95

Calls 2

surfaceMethod · 0.95
FaceClass · 0.85

Tested by 1

test_surfaceFunction · 0.76