Giter Site home page Giter Site logo

visual-bom's Introduction

Description

Tool is used to annotate text on pdf files.
Sometimes BOM list in production database and schematic may not be correctly aligned. This tool helps to visually see exact database values (BOM list) on schematic or reference designator pdf file.

Usage

Place input files to working directory;

  • schematic or refdes pdf as "input.pdf"
  • bom list with the name "bom.csv".

input-files
"bom.csv" should be in the form as below line (semicolon ';' as separator is preferred). However comma ',' as separator is also fine.

3xxxx;RES SMD ...;Rxxx

bom-list-format

It will generate "output.pdf" with "bom.csv" annotated on it and "parts-missing.csv", "parts-duplicated.csv" if any...
output-files
Text is annotated on "output.pdf", when mouse is hovered on marked area, component detail is shown in pop up window.
example-output
example-output

Known bugs and issues

  • S1 in FS1, S1 in S15 may be incorrectly annotated.
  • Diode D1 will match with D1 ball number of BGA IC and incorrectly annotated.
  • Since ',' and ';' is accepted as separator in bom list, it may fail if those are included in component definition (ie 10,5K OHM).
  • Resulting pdf doc size will be increased.

Resources

Requires PyMuPDF, tested with version 1.19.6.
Origin repo at github.com/eardali

License

Distributed under the terms of the MIT license.

visual-bom's People

Watchers

 avatar

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.