Use Gerber/drill files to render a PCB to SVG from the command line. Part of the tracespace collection of PCB visualization tools.
npm install -g @tracespace/cli@nexttracespace --helpUse tracespace or tracespace 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.
tracespace 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 |
Use tracespace 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.
tracespace 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 |
Use tracespace parse to parse of a set of Gerber/drill files. A .parse.json file will be written for every layer.
tracespace parse my-board/*.gbr| option | description | default |
|---|---|---|
-o, --output |
Output directory | CWD |