cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

How to calculate moment of inertia?

Open lenianiva opened this issue 1 year ago • 3 comments
trafficstars

If I have an assembly where different parts have different colours, and each colours corresponds to a density, is there a way to calculate the MoI about a particular axis?

lenianiva avatar Jun 14 '24 04:06 lenianiva

I guess your question regarding CadQuery is how to get the volume of an object so that you can calculate the moment of inertia? That would be cq_object.val().Volume()

bragostin avatar Jun 15 '24 15:06 bragostin

I guess your question regarding CadQuery is how to get the volume of an object so that you can calculate the moment of inertia? That would be cq_object.val().Volume()

No I need to calculate the MoI of an assembly of objects with different densities. If the object is homogeneous I can just call matrixOfInertia()

lenianiva avatar Jun 15 '24 19:06 lenianiva

You'll need to implement this yourself

adam-urbanczyk avatar Jun 28 '24 06:06 adam-urbanczyk