Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for
Show  only  | Search instead for
Did you mean:

## Defining mass of a component

2 REPLIES 2
Message 1 of 3
386 Views, 2 Replies

## Defining mass of a component

I'm working on some parametric models where masses and CG locations are crucial, and I figured it would be helpful to be able to assign masses to objects. I am facing some roadblocks and hoping to find some guidance.

The current workaround I'm using is based off on this tutorial, however since the objects are parametric, there might be situations where I would like to change sizes but have masses remain constant.

I think this approach may help with that -

1. Working off on the script posted by Marshaltu's post here (which finds the volume of a body), I want to be able to record the volume in the parameter table.

2. Using a user-entered parameter of the supposed mass of the component, calculate the supposed average density of the object as a new parameter.

3. Using this parameter, update the density in the component's material property (similar to the youtube tutorial i mentioned above). I found this to be not possible. There's a picture attached with what I'm attempting to do, but the values change back to initial numerical values once I click outside the box

Is this a feasible approach?

2 REPLIES 2
Message 2 of 3
in reply to: Jaipalsk

Did you get a solution?

Message 3 of 3
in reply to: jarosascordova

Volume is computed by Fusion, using the model. Mass is then computed using the density of the material assigned to the body and the volume. So, you can modify the mass by changing the density of the associated material.

The center of gravity is defined using the model, and it's impossible to define it explicitly. I know some other software, like Inventor, allows you to override the computed physical properties of a part. This is useful in cases where the manufacturer provides the physical properties, and you're representing the part using a simplified model but want the calculations to be accurate. This currently is not possible with Fusion.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

Can't find what you're looking for? Ask the community or share your knowledge.