Skip to main content

Library to read, convert and process electrical netlists and bill of materials generated in Altium Designer and KiCad.

Project description

NetBOM - Library to read, convert and process electrical netlists and Bill of Materials (BOM) generated both in Alitum Designer and KiCad.

This library provides tooling to import, process and convert BOM and schematic netlists to Python objects, and then convet them to JSON format or Python dictionaries. BOM and netlists are supported by one library because some of netlist formats may also be a source of BOM.

Imported schematic netlist may be used to automate generation of documentation, where you need to generate a table of pins and signals of a given connector. Interface control documents or user manuals are often time-consuming to prepare and are examples of such documents. Correctly drawn electrical schematics can become the only source of truth and can allow to completely automate document generation. The proposed module can be used to generate connector pin maps, and generate aesthetic documents in LaTeX.

Imported BOM file may be used as a part of custom Manufacturing Resource Planner, where you need to process electronic components required during the PCB assembly process.

Installing

As usual, you can use package installer for Python:

pip install netbom

Documentation

Get the latest documentation build: partmanager.github.io/netbom.

How does it work

Let’s assume you have to write a document describing electrical interfaces, based on schematics drawn in Altium Designer. Exemplary schematic diagram is shown below:

https://raw.githubusercontent.com/partmanager/netbom/poc/docs/figures/Altium_LED-Resistor.svg

Normally you will open a Word document and start puting the signal names into the table. Then you will describe each of the signals. Doing it the first time is not a problem yet, but maintaining it later is time-consuming. Usign the Netbom library, and some markup language like LaTex or Markdown, you may generate pinout logical diagrams, physical diagrams and tables automatically using schematic netlist (i.e. RINF Netlist) exported directly from Altium Designer. The previously shown schematic diagram was loaded into the Netlist object shown below:

https://raw.githubusercontent.com/partmanager/netbom/poc/docs/figures/Altium_LED-Resistor_netlist.svg

Then it can be processed and the extracted content can be automatically placed in a table or on an SVG template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbom-0.0.13.tar.gz (86.3 kB view hashes)

Uploaded Source

Built Distribution

netbom-0.0.13-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page