@hadimardanian/cli
v1.1.0
Published
Use Gerber/drill files to render a PCB to SVG from the command line.
Maintainers
Readme
tracer cli
Use Gerber/drill files to render a PCB to SVG from the command line. Part of the tracespace collection of PCB visualization tools.
install
npm install -g @hadimardanian/cliusage
tracer --helptracer render <files..>
Use tracer or tracer render to render a set of Gerber/drill files. By default, a .svg file will be written for every layer, in addition to top.svg and bottom.svg for renders of the finished board.
tracer render my-board/*.gbr| option | description | default |
| ------------------- | -------------------------------------------- | ------- |
| -o, --output | Output directory | CWD |
| -l, --layers-only | Only write layer renders | false |
| -b, --board-only | Only write board renders | false |
| --parse | Write intermediate parse trees for debugging | false |
| --plot | Write intermediate plot trees for debugging | false |
tracer plot <files..>
Use tracer plot to plot the images of a set of Gerber/drill files. By default, a .plot.json file will be written for every layer, in addition to board-shape.json for the board shape inferred from an included outline layer, if possible.
tracer plot my-board/*.gbr| option | description | default |
| ------------------- | -------------------------------------------- | ------- |
| -o, --output | Output directory | CWD |
| -l, --layers-only | Only write layer plots | false |
| --parse | Write intermediate parse trees for debugging | false |
tracer parse <files..>
Use tracer parse to parse of a set of Gerber/drill files. A .parse.json file will be written for every layer.
tracer parse my-board/*.gbr| option | description | default |
| -------------- | ---------------- | ------- |
| -o, --output | Output directory | CWD |
