AllSpiceIO / py-allspice

An AllSpice-API wrapper in Python
MIT License
0 stars 0 forks source link

Multi-symbol components in BOM #105

Open shrik450 opened 1 month ago

shrik450 commented 1 month ago

Currently, multi-symbol components are treated as multiple components in the BOM. They should instead be treated as one component, as there is physically only one.

For Altium, I can't see a way to identify a multi-symbol components from our JSON right now.

For OrCAD, one possibility is the PCB Footprint attribute that seems to be present in many projects I've seen. I believe this attribute is auto-inserted by OrCAD, and we should be able to identify multi-symbol components as they all share the same footprint.

shrik450 commented 1 month ago

For OrCAD, there isn't anything distinct in the IR right now that could serve as a signal for multi-symbol components. We can identify them using the suffix in the Part Reference field, but keeping in mind https://github.com/AllSpiceIO/py-allspice/pull/124#issuecomment-2140109191, it might be a better idea to add this data directly to the IR.