Coder Social home page Coder Social logo

eagle-bom-sync's Introduction

eagle-bom-sync

This script synchronizes a PCB Bill of Materials between files, such as:

  • Eagle (BRD and SCH)
  • Spreadsheet (CSV, XLS, ODS)

The general workflow is to create an initial BOM manually in a spreadsheet, that includes info for all assembly variants. Then, this data is injected into attributes within the Eagle design files. This is done for two reasons:

  • Injecting the BOM info into the design files allows assembly houses like CircuitHub and Tempo to extract the correct info.

  • You can manipulate things inside the PCB software (changing reference designators, copying components) and then re-extract an updated BOM.

Variants

All variant info is stored together in the "primary" spreadsheet or design files. Simplified boards and BOM output can be generated for any variant.

Variant rules are simple Python expressions that can contain function calls to set flags, based on variable names are "True" if they appear in the list of currently set variants. Basic action functions are available, for example:

dnp(foo) -> mark part as DNP if "foo" variant is set
only(foo or bar) -> mark part as DNP unless "foo" or "bar" is set
exclude(not foo) -> exclude from output if "foo" variant isn't set

eagle-bom-sync's People

Contributors

jimparis avatar

Watchers

 avatar

eagle-bom-sync's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.