Community
Fusion Design, Validate & Document
Stuck on a workflow? Have a tricky question about a Fusion (formerly Fusion 360) feature? Share your project, tips and tricks, ask questions, and get advice from the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New BOM add-in

24 REPLIES 24
SOLVED
Reply
Message 1 of 25
macmanpb
5011 Views, 24 Replies

New BOM add-in

Hi,

 

sometimes i wish a better BOM generator. And the last time i missed that allot.

So fusion has a good API and i give me a try to dive in and write a CSV-BOM add-in.

 

The add-in provides a dialog with several options to help you to get what you want:

  • Only selected components (on|off)
  • Include bounding box dimensions (on|off)
  • Include volume (on|off)
  • Exclude "_" prefixed components (on|off)
  • Exclude components without bodies (on|off)
  • Exclude linked components (on|off)
  • Ignore components visible state (on|off)

Everything missed? Contact me and i will try to add. 😉

 

 

I have test it on a MAC and the CSV with the Apple Numbers App.

It would be nice to have a response from Win users and Excel 🙂

 

24 REPLIES 24
Message 2 of 25
HughesTooling
in reply to: macmanpb

First one small problem, I have my dialogs docked and quite narrow and I could see the selection boxes, don't know if there's a workaround like wrapping long lines.

before.png

Tested the output with open office calc, PC and all works well.

 

A small request, could you add an option to strip leading "_" from component names?

 

Thanks Mark

 

Edit One last comment I think you should add your plug in to the create menu not to inspect, took me a while to find where you'd put it.

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 3 of 25
macmanpb
in reply to: HughesTooling

Hi @HughesTooling

 

Here is a new version rel-0-2-0.

 

I have shortened the labels and added tooltips with a short description 😉

Also i have added  an option to strip the underscore. The option only appears if you deselect the >>Exclude "_"<< option.

 

The add-in is now in the Create-Menu... 

 

Happy BOMing 🙂

Message 4 of 25
HughesTooling
in reply to: macmanpb

@macmanpb Thanks that works great now, can see all the checkboxes.Smiley Happy

 

Something odd the first time I ran it though, I enabled stripping of the underscore but the first test left them in, second time I ran the script it worked!

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Message 5 of 25
macmanpb
in reply to: HughesTooling

@HughesTooling

 

I have tested with different options and can not reproduce your issue.

I think it was a add-in caching behavior. Have you deleted the "old" add-in before and add again the new one?

 

Let me know if this behavior bubbles up again Smiley Wink

 

If you see wrong english grammar or spelling, please let me know.

I am german and not really firm with english language Smiley Surprised

 

So, i want to add a better dimension number formatting. But it has todo with the fusion calculation precision.

I have no idea how to control the bodies bounding box points calculation with the fusion precision enumerators.

 

But this is a question for the API forum. @ekinsb have you an idea to accomplish that? 

Message 6 of 25
TrippyLighting
in reply to: macmanpb

This works beautifully. Tank you very much!


EESignature

Message 7 of 25
macmanpb
in reply to: macmanpb

Here is a new version of CVS-BOM rel-0-2-2.

 

Bugfix: Addressed an issue that if the user select the option "Selected only" and the selected components have child components, the child components are ignored.

 

With this fix it is now possible to select a component assembly and get the child components BOM data.

 

🙂

Message 8 of 25
macmanpb
in reply to: macmanpb

Hi folks,

 

The CSV-BOM Add-In has increased a lot. I added physical attributes to. Volume, mass, area, density and material is now in.

 

The Add-In now holds the last chosen options. So you don't have to select it again and again and.... 😉

 

Tweaked the CSV output number precision.

So dimension comes with a precision of the last three decimals. Mass and density with five decimals.

 

Happy BOMing 🙂

Message 9 of 25
macmanpb
in reply to: macmanpb

Sorry folks,

 

Last version (rel-0-4-0 )had a bug. I fixed that.

 

Info:

Addressed an issue that the user was not able to save csv-data for a selected component.

 

🙂

Message 10 of 25
schneik-adsk
in reply to: macmanpb

One trick that has been working well for some of us here is to put our addins into Github. Then using Git tools you can clone the repo into your fusion addins directory. this way every time a developer updates their source you can pull this update and get the latest code without having to unzip and copy files around.

 

on a related note I have a much less mature BOM addin here: it might have a few bit you can reuse. I particularly like the ability to strip the version info off linked files.

https://github.com/schneik80/BOM-Export

 

Kevin Schneider
Message 11 of 25
macmanpb
in reply to: schneik-adsk

Thanks  for that info Kevin. 🙂

 

I will look into it and implement the ability to strip the version info of linked files.

 

For the moment i have put the Add-In into the Autodesk app store for free. But it seams that the Autodesk team review takes a lot of time to public the Add-In. 🙂

 

And yes, i will create a Github account and place the Add-In here too.

 

Thank you all, have a nice day 🙂

Message 12 of 25
macmanpb
in reply to: macmanpb

As @schneik-adsk mentioned, i have placed CSV-BOM on Github.

 

Here is the link: https://github.com/macmanpb/CSV-BOM 😉

Message 13 of 25
macmanpb
in reply to: macmanpb

New CSV-BOM Version on Github.

 

Version: rel-0-6-0

 

Changes:

  • Added component name filtering. …
    Fusion adds some information like counts "(1...5..6)" and version infos in the component name.
    These infos are now stripped for the CSV output.
  • You can leave a description at a component in the properties panel.
    These description is now as an option available and is putted into the CSV data.

 

Available here: https://github.com/macmanpb/CSV-BOM

 

Message 14 of 25
macmanpb
in reply to: macmanpb

CSV-BOM Add-In is now in the Autodesk app store. Current version is rel-0-6-5. Smiley Wink

Message 15 of 25
smallfavor
in reply to: macmanpb

I'd like to try this but I can't figure out how to get into the application.

 

 

Message 16 of 25
macmanpb
in reply to: smallfavor

Hi @smallfavor,

 

Since the Add-In is in the Autodesk App Store you will have no trouble to install it.

At Autodesk App Store there will be the latest version of the Add-In.

 

Go to the download page for CSV-BOM and after downloaded double click the installer. 😉

 

Please vote CSV-BOM if you find it is a good extension 🙂

 

Message 17 of 25
mal_rixon
in reply to: macmanpb

Any chance of this being ported to Windows.

Message 18 of 25
TrippyLighting
in reply to: mal_rixon

It's a python adding so it is oblivious to the operating system.

 

Here's a link to the app on the App Store


EESignature

Message 19 of 25
mal_rixon
in reply to: TrippyLighting

I figured that was the case but the app store lists it for Macintosh only which I found out only after I downloaded it and Windows didn't know what to with a pkg file.


 

Message 20 of 25
mal_rixon
in reply to: mal_rixon

My mistake checked your link and it points to the Windows file thanks alot

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

Post to forums  

Autodesk Design & Make Report