Just another ODB++ library
ODB++ is a CAD-to-CAM data exchange format used in the PCB (Printed Circuit Board) industry for transferring design and manufacturing data. ODB++ (Open Database++) is a proprietary, but widely adopted, format owned by Siemens.
Extract basic part information such as location and component size. And the board outline.
- Component data is located in
steps/{step_name}/layers/comp_+_top
for the top side andsteps/{step_name}/layers/comp_+_bot
for the bottom side of the board. - The board outline is defined in the step profile located at
steps/{step_name}/profile
. - Generate a svg from this data, containg a board-outline layer and component layers (top and bot). The svg is setup in a way it's easy to view different layers, for example showing only the board outline, or a combination of board outline and top components. The bottom side should be rendered as it would be visible in real word, so the view should be mirrored left-to-right.
See proof of concept in /goal-1 concept/
General manufacturing and assembly metrics:
- Board size
- Number of layers
- Surface finish
- Minimum track space
- Minimum drill size
- Material and material thickness
- Copper layer thickness, inside and out
- Via's in pad
Render the full pcb stackup in svg and overlaying the part layers. The svg should be interactive so the user is able to see information about parts.