Adding new style for pcbdraw

This commit is contained in:
Andrew Rae 2022-01-16 19:03:36 -05:00
parent 48450b671c
commit c8beb7437a
4 changed files with 15 additions and 2 deletions

View file

@ -3,6 +3,6 @@
container_cmd=docker
container_args="-w /board -v $(pwd):/board --rm"
${container_cmd} run ${container_args} yaqwsx/kikit:v1.0.0 pcbdraw --style builtin:oshpark-afterdark.json output/pcbs/board-routed.kicad_pcb images/board-front.png
${container_cmd} run ${container_args} yaqwsx/kikit:v1.0.0 pcbdraw -b --style builtin:oshpark-afterdark.json output/pcbs/board-routed.kicad_pcb images/board-back.png
${container_cmd} run ${container_args} yaqwsx/kikit:v1.0.0 pcbdraw --style style.json output/pcbs/board-routed.kicad_pcb images/board-front.png
${container_cmd} run ${container_args} yaqwsx/kikit:v1.0.0 pcbdraw -b --style style.json output/pcbs/board-routed.kicad_pcb images/board-back.png
# ${container_cmd} run ${container_args} yaqwsx/kikit:v0.7 kikit fab jlcpcb --no-assembly output/pcbs/board-routed.kicad_pcb production/pcb/board

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

After

Width:  |  Height:  |  Size: 316 KiB

13
style.json Normal file
View file

@ -0,0 +1,13 @@
{
"board": "#202328",
"copper": "#3f444a",
"silk": "#d5dce4",
"pads": "#d39751",
"clad": "#72786c",
"outline": "#000000",
"vcut": "#bf2600",
"highlight-on-top": false,
"highlight-style": "stroke:none;fill:#ff0000;opacity:0.5;",
"highlight-padding": 1.5,
"highlight-offset": 0
}