@pim_meester wrote:
Hi!
I’m not getting the same calculation results on my script that uses Rhino.SurfaceAreaMoments and Analyze > Mass Properties > Area Moments. I need the moments of inertia about the centroid coordinate axes. I’ve calculated the moments of inertia by hand and I’m sure that my code result is wrong haha. Does anyone see what I’m missing?
My code looks like this:
surfaces = Rhino.SelectedObjects If IsArray(surfaces) Then For Each surface In surfaces inertias = Rhino.SurfaceAreaMoments(surface) If IsArray(inertias) Then Rhino.Print Rhino.Pt2Str(inertias(10), 0) End If Next End IfI’ve attached a Rhino file with the surfaces and a pdf with my calculation. The text is in Dutch but the numbers and calculations are clear.
Thanks in advance!
Rhino Testmodel 0 meting.3dm (119.8 KB) Calculation moments of inertia about centrooid axes.pdf (252.5 KB)
Posts: 5
Participants: 2