Giter Club home page Giter Club logo

zppicgen's Introduction

NOTE : This is meant to be a demo of the old version of the code (developed around 2019)

TO run this build of ZPPicGen.py:

  • You will need python installed (pip/python, pip3/python3)
  • You will need pandas / PIL
    • install --> pip install pandas --> python -m pip install --upgrade Pillow
    • may need to update pip
  • or compile using PyInstaller or other python executable packager
  • The zip file includes the necessary files to run the program for BaseName <42221-100-91>
  • command in Windows 10 cmd, or Linux
    • python ZPPicGen.py Component_Dimensions.csv 42221-100-91

File information:

  • The included BaseName is 42221-100-91
  • The BaseName is just a file naming scheme to organize sets of input files
  • The board image names are " Top.png" and " Bottom.png"
    • each board has a bottom and top layer so each board has 2 images
  • The Component_Dimensions.csv file just lists the (x,y) dimensions of the electrical components
    • This file was modified and added to many times to include new components or resize existing ones
  • The config.csv file specifies which components to draw onto the board
    • It also designates how many images to generate, which components will go on which page, and what color the components will be drawn in
  • The pnp.csv file is a database file that contains information about the components
  • The missing.csv file will include any components contained in the config file but not found in the pnp.csv database
  • The coord.csv designates where the corners of the board is located.

Optional Arguments:

  • [-p] Specify an absolute PATH for input files.
  • [-t] tars input files and places them into _input_files.tar. (Works for Windows but not linux)
    • In order for this to run properly, use the [-p] option to specify the path you want the tar file to be generated in.
    • For .gz compression, need to make small change to tar codeblock at bottom of script.
    • Also later builds are able to read the input files from a _input_files.tar file.
  • [-d] Generates a _ResistorValues.csv file.
    • This file contains useful information about the resistors in the pnp.csv file
    • Was helpful to some engineers who worked at DDES

zppicgen's People

Contributors

jscarsten avatar

Watchers

 avatar

zppicgen'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.