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

Method toPln

cadquery/occ_impl/shapes.py:3757–3766  ·  view source on GitHub ↗

Convert this face to a gp_Pln. Note the Location of the resulting plane may not equal the center of this face, however the resulting plane will still contain the center of this face.

(self)

Source from the content-addressed store, hash-verified

3755 return self.__class__(chamfer_builder.Shape()).fix()
3756
3757 def toPln(self) -> gp_Pln:
3758 """
3759 Convert this face to a gp_Pln.
3760
3761 Note the Location of the resulting plane may not equal the center of this face,
3762 however the resulting plane will still contain the center of this face.
3763 """
3764
3765 adaptor = BRepAdaptor_Surface(self.wrapped)
3766 return adaptor.Plane()
3767
3768 def thicken(self, thickness: float) -> Solid:
3769 """

Callers 1

draftFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected