improvements
This commit is contained in:
@@ -20,8 +20,19 @@ mkdir -p "$GCODE_DIR"
|
||||
echo "Exporting gerbers..."
|
||||
kicad-cli pcb export drill --generate-map -o "$GERBERS_DIR" "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Edge.Cuts "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Front "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Back "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l F.Cu "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l B.Cu "$PCB_FILE"
|
||||
|
||||
echo "Exporting SVGs..."
|
||||
kicad-cli pcb export svg -o "$GERBERS_DIR" -l B.Mask \
|
||||
--mode-multi --page-size-mode 1 --black-and-white \
|
||||
--drill-shape-opt 0 --exclude-drawing-sheet "$PCB_FILE"
|
||||
|
||||
kicad-cli pcb export svg -o "$GERBERS_DIR" -l F.SilkS \
|
||||
--negative \
|
||||
--mode-multi --page-size-mode 1 --black-and-white \
|
||||
--drill-shape-opt 0 --exclude-drawing-sheet "$PCB_FILE"
|
||||
|
||||
# kicad-cli pcb export svg -o "$GERBERS_DIR" -l Edge.Cuts \
|
||||
# --mode-multi --page-size-mode 1 --black-and-white \
|
||||
# --drill-shape-opt 0 --exclude-drawing-sheet "$PCB_FILE"
|
||||
@@ -33,7 +44,7 @@ docker run --rm -it \
|
||||
ptodorov/pcb2gcode \
|
||||
--config millproject \
|
||||
--output-dir "$GCODE_DIR" \
|
||||
--front "$GERBERS_DIR/$PCB_FILE_PREFIX-Front.gtl" \
|
||||
--back "$GERBERS_DIR/$PCB_FILE_PREFIX-Back.gbl" \
|
||||
--front "$GERBERS_DIR/$PCB_FILE_PREFIX-F_Cu.gtl" \
|
||||
--back "$GERBERS_DIR/$PCB_FILE_PREFIX-B_Cu.gbl" \
|
||||
--drill "$GERBERS_DIR/$PCB_FILE_PREFIX.drl" \
|
||||
--outline "$GERBERS_DIR/$PCB_FILE_PREFIX-Edge_Cuts.gm1"
|
||||
--outline "$GERBERS_DIR/$PCB_FILE_PREFIX-Edge_Cuts.gm1"
|
||||
|
||||
Reference in New Issue
Block a user