
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to access moment of inertia (MOI) properties of components in an assembly through the Fusion 360 API with Python. The following command provides MOI tensor about the origin of the world coordinate system for a given occurrence:
physicalProperties.getXYZMomentsOfInertia()
Question 1
However, I would like to get the MOI tensor about the Centre of Mass (CoM) of the component/body as is shown in the properties menu of the GUI (see image below). Clearly Fusion 360 is calculating this somewhere. How can I access this through the API? I can convert the MOI tensor to the CoM myself if necessary, but I would prefer it if the information was already available through the API.
Question 2
Fusion 360 calculates the MOI tensor in world coordinates. Does the API also provide calculations in component coordinates (i.e. when the component coordinate axes are not oriented with the world coordinate axes)? I can perform the coordinate transformations myself using the transformation matrix provided by the "Matrix3D" object if necessary, but I'd like to know if it is already available through the API.
Solved! Go to Solution.