Skip to content

Commit

Permalink
Describe result units (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc0n committed Apr 26, 2024
1 parent 99792e5 commit 3837cc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cadquery/occ_impl/shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ def _center_of_mass(shape: "Shape") -> Vector:
def matrixOfInertia(obj: "Shape") -> List[List[float]]:
"""
Calculates the matrix of inertia of an object.
Since the part's density is unknown, this result is inertia/density with units of [1/length].
:param obj: Compute the matrix of inertia of this object
"""
Properties = GProp_GProps()
Expand Down

0 comments on commit 3837cc5

Please sign in to comment.