Fusion 360 - part list dimensions, counts, and total amounts (lengths)

 

A requirement that comes up often, especially in woodworking, is to be able to list out all materials used in bodies and components - dimensions, counts of each cut, and total lengths of materials used.


There is a way to create a separate component from each body and manually add a description that will appear in a part list on a drawing, but it's unnecessarily labour intensive.


Automated parts-list addon

Fusion 360 provides a Python API  that enables direct access to the objects in a design, so I created a simple Fusion 360 script that can be used as an addon or run directly to display to cuts required for the design and the total amount of length used by each material type.


To run directly, download the script from GitHub, place it anywhere. Then in Fusion 360 click "View" > "Show Text Commands"; in the commands window on the bottom, change from "Txt" to "Py", and run the following command:


import neu_dev; neu_dev.run_script("/Users/name/Downloads/fusion360_part_list.py")


Alternatively, you can add the script as an addon, by switching to Tools, clicking "Add-Ins" / "Scripts and Add-Ins", then "Create". Simply paste in the script and click "Run".


Sample report


Component

Body

x (mm)

y (mm)

z (mm)

weight_holder v9

rib2

35.00

70.00

445.00

weight_holder v9

rib3

35.00

70.00

445.00

weight_holder v9

vertical4

35.00

70.00

270.00

weight_holder v9

end2

35.00

70.00

262.50

weight_holder v9

end1

35.00

70.00

262.50

weight_holder v9

vertical3

35.00

70.00

220.00

weight_holder v9

vertical2

35.00

70.00

220.00

weight_holder v9

vertical1

35.00

70.00

170.00

Total counts

Dimensions

Count

35.00 x 70.00 x 170.00

1

35.00 x 70.00 x 220.00

2

35.00 x 70.00 x 262.50

2

35.00 x 70.00 x 270.00

1

35.00 x 70.00 x 445.00

2

Total lengths

Dimensions (mm)

Total length (mm)

35.00 x 70.00

2295.0



Note: 2 hidden bodies excluded from the lists





Comments

Popular posts from this blog

MurMurHash3, an ultra fast hash algorithm for C# / .NET

Quick select algorithm - find the Kth element in a list in linear time

Octoprint as a systemd service - running it with high priority