improved export.sh
This commit is contained in:
@@ -18,10 +18,13 @@ mkdir -p "$GCODE_DIR"
|
||||
|
||||
# Export drill, front and back layers as gerber files.
|
||||
echo "Exporting gerbers..."
|
||||
kicad-cli pcb export drill -o "$GERBERS_DIR" "$PCB_FILE"
|
||||
kicad-cli pcb export drill --generate-map -o "$GERBERS_DIR" "$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 Edge.Cuts "$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"
|
||||
|
||||
echo "Exporting Gcode for drilling and outline routing..."
|
||||
docker run --rm -i -t \
|
||||
@@ -41,7 +44,7 @@ python3 export_panel_outlines_gerber.py \
|
||||
"$PCB_FILE"
|
||||
|
||||
echo "Exporting Gcode for panelized board's slot routing..."
|
||||
# Use the 'User-Eco1' layer instead as it contains panelized board's slot outlines only.
|
||||
# Use the 'User-Eco1' layer instead of 'Edge.Cuts' as it contains panelized board's slot outlines only.
|
||||
docker run --rm -i -t \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$(pwd):/data" \
|
||||
|
||||
@@ -32,7 +32,7 @@ voronoi=true # cuts the milling time significantly, but check with this o
|
||||
preserve-thermal-reliefs = true # has effect only if voronoi=true
|
||||
|
||||
# Cutting
|
||||
zcut=-4
|
||||
zcut=-2.2
|
||||
cutter-diameter=2.1
|
||||
cut-feed=400
|
||||
cut-vertfeed=50
|
||||
|
||||
Reference in New Issue
Block a user