Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.37 KB

File metadata and controls

63 lines (44 loc) · 2.37 KB

tracespace cli

npm

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 @tracespace/cli@next

usage

tracespace --help

tracespace render <files..>

Use 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

tracespace plot <files..>

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

tracespace parse <files..>

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