afkiwers / inventree_kicad

KiCad EDA conform API endpoint for KiCad's parts library tool. This plugin provides metadata only and requires matching symbol and footprint libraries within the KiCad EDA.
MIT License
36 stars 7 forks source link

BOM Import #53

Closed SchrodingersGat closed 11 months ago

SchrodingersGat commented 11 months ago

It would be handy now that this plugin has an XML importer to be able to directly import a BOM

afkiwers commented 11 months ago

I guess a simple select field somewhere could be used which contains all assemblies and is filterable. If something is selected, it would create a BOM. But what if there is already a bom?

image

SchrodingersGat commented 11 months ago

But what if there is already a bom?

As a starting point, could raise an exception if BOMItems exist, and the user has to clear out the BOM manually before uploading?

tnemrap commented 11 months ago

I am also interested of a function to create/update an bom on an assembly.

afkiwers commented 11 months ago

This feature is already available using InvenTree's BOM features.

I have been thinking about this the last couple of days and can't really see the benefits of having another way to create BOMs as importing BOMs using the BOM import tools from InvenTree are really working well; at least for me.

This being said, if anyone likes to make a pull request, go for it. 😉