

Mechanics of Materials CIVL 3322 / MECH 3322 Centroids and Moment of Inertia Calculations. Please note that in the FreeCAD file, all I have is a single sketch and no parts or any 3D objects. Centroid and Moment of Inertia Calculations.

So, I am not sure what is the problem and get the information I want. CHAPTER 11 Centroid and Moment of Inertia Learning Objectives By the end of this chapter, the student will be able: To calculate the center of gravity and. On this page we are going to focus on calculating the area moments of inertia via moment integrals. "(Unicode error) 'utf-8' codec can't decode byte 0xb3 in position 27:invalid start byte", ('C:/Users/…/CenterOfMass.FCMacro',137,4,None))Īlso, when I try to use your Macro, Macro_FCInfo, it give me all zeros for the centroid and moment of inertia.Īnd TheMarkster, when I use your suggestion of running the python command, I get the error:ĪttributeError: 'Part.Compound' object has no attribute 'CenterOfMass'. Just as with centroids, each of these moments of inertia can be calculated via integration or by using the method of composite parts and the parallel axis theorem. Mario, unfortunately, when I create a simple geometry as a sketch (a 3x3 inch rectangle with a 0.4x0.4 inch rectangle inside of it, and not at the center), and I run Macro_CenterOfMass, it gives me the error:
