Coder Social home page Coder Social logo

djonvl / viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tracespace/viewer

0.0 2.0 0.0 1.19 MB

๐Ÿ”Ž viewer for printed circuit board manufacturing files

Home Page: http://viewer.tracespace.io

License: MIT License

JavaScript 96.27% HTML 0.81% CSS 2.91%

viewer's Introduction

tracespace viewer (beta)

GitHub stars GitHub issues Travis Coveralls David David devDependences

Probably the best printed circuit board viewer on the internet

http://viewer.tracespace.io

about

This particular PCB viewer takes your Gerber and drill files and gives you individual layer renders as well as very fancy renders of what your completed boards are going to look like.

The tracespace viewer accomplishes all this locally (nothing gets sent to any server!) by converting your files to SVGs. Thanks to the "Scalable" and "Vector" in "SVG", the renders are easy to examine and quite accurate.

motivation

Because you should always check your design files for problems! Existing Gerber viewers are good, but tend not to give you a full picture of what your board will look like, meaning you can miss important details (shout out to OSH Park for super cool renders by default). Gerber files (i.e. your PCB manufacturing files) are vector image files, so it makes sense to convert them into a scalable, web-friendly vector format.

issues

See something that doesn't look right? Open an issue! Screenshots and Gerber files help if you're able to. If you're not comfortable publicly posting your designs, you can also email [email protected] with your issue.

If you're technically inclined, PR's are always welcome!

contributing

This site is written in ES2040 and uses babel and webpack to build for the browser. The state layer is build using redux and the view layer is built with deku. Rendering is accomplished with web workers, gerber-to-svg, and the tracespace pcb stackup builder.

Tests are run with ava and code is linted with eslint. Please make sure any PRs are accompanied by unit tests. We use travis as our CI server.

This app is hosted on GitHub Pages.

build scripts

Nothing fancy here, just npm scripts. See package.json for the full list. These are the important ones:

  • $ npm start - starts an HMR dev server at localhost:8080
  • $ npm test - run tests
  • $ npm run test:watch - run tests on code changes

deploying

The site is deployed automatically by Travis if the commit is tagged (and tests pass). To deploy:

  1. $ npm version ... - Use the npm version command to bump the version and tag the commit
  2. $ git push --tags - Push the tag to trigger a build

viewer's People

Contributors

mcous avatar

Watchers

 avatar  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.