MCPcopy
hub / github.com/CadQuery/cadquery / Center

Method Center

cadquery/occ_impl/shapes.py:754–759  ·  view source on GitHub ↗

:returns: The point of the center of mass of this Shape

(self)

Source from the content-addressed store, hash-verified

752 raise NotImplementedError
753
754 def Center(self) -> Vector:
755 """
756 :returns: The point of the center of mass of this Shape
757 """
758
759 return Shape.centerOfMass(self)
760
761 def CenterOfBoundBox(self, tolerance: float | None = None) -> Vector:
762 """

Callers 1

toLocsMethod · 0.95

Calls 1

centerOfMassMethod · 0.80

Tested by

no test coverage detected