Files
Flow_Controller/scripts
2026-05-19 01:11:07 +02:00
..
2026-05-16 17:57:35 +02:00
2026-05-16 18:36:58 +02:00
2026-05-16 18:36:58 +02:00
2026-05-19 01:11:07 +02:00
2026-05-15 23:39:04 +02:00
2026-05-16 17:57:35 +02:00
2026-05-16 17:57:35 +02:00
2026-05-16 17:57:35 +02:00

Panelize the board

Install kikit:

pipx install --system-site-packages kikit

Panelize a finished PCB:

mkdir -p panel

kikit panelize \
    --layout 'type: grid; rows: 1; cols: 2; space: 0mm' \
    --tabs 'type: fixed; width: 48mm; vcount: 1' \
    --cuts 'type: mousebites; drill: 1mm; spacing: 1.5mm' \
    --post 'origin: tl; script: move_to_origin.py' \
    --framing 'type: none' \
    ../Flow_Controller.kicad_pcb panel/Flow_Controller_Panel.kicad_pcb

Panel

Exporting gcode files from KiCad

Adapt milling and drilling parameters in millproject. Look up pcb2gcode/wiki for help.

nano millproject

Run the export by providing the .kicad_pcb file as a first argument:

chmod +x export.sh
./export.sh panel/Flow_Controller_Panel.kicad_pcb

The script will first generate gerber files in the output directory and then convert them into ngc format in the gcode directory.

Launch the gSender program.

  • Load the gcode/drill.ngc file for drilling holes.
  • Load the gcode/outline.ngc file for milling the board outlines.
  • Load the gcode/back.ngc file if you want to mill the isolation traces.