bluekeyes / Fusion360-ExportCutlist

Addin for Autodesk Fusion360 to export cut lists of parts in various formats
MIT License
69 stars 7 forks source link

Duplication of Items #20

Open remopini opened 10 months ago

remopini commented 10 months ago

When I apply the cutlist, it seems to list double the amount of items in my design.

Design: default_bench_v1_v2

Cutlist: default_bench_v1_v2.txt

Example: There are 16 beams making up the table top, however the cut list lists 32. Same for all other items...

I noticed that bodies are listed twice, once as "Body[XX]" and once as "[Design]/Body[XX]"

Edit: This seems to only happen if I select the object with a mouse drag and the origin is also selected, not if I manually select all the bodies without the origin.

bluekeyes commented 10 months ago

I think what's happening here is that you are selecting both the bodies and the component that contains the bodies. When you select a component, the add-in extracts all of the bodies that are part of the component.

I'll think about ways to de-duplicate bodies if you select both the bodies and their component, but for now, I think you'll want to avoid selecting both when exporting. Two ways I've found to do this are:

remopini commented 10 months ago
* Hide the origin before dragging to select all bodies; showing the origin appears to make it possible to select the whole component from the viewport. With the origin hidden, you can only select the bodies.

That's exactly what I did to "solve" the issue. Alternatively, you could add the feature that if NOTHING is selected, all bodies automatically get chosen?