Skip to content

PCB & Case Modification

Tools required

  • KiCad 7 — the PCB design is a KiCad 7 project
  • A PCB manufacturer account (JLCPCB, PCBWay, etc.)

KiCad project files

All design files are in the PolyKybd hardware repo:

FileDescription
poly_kybd/poly_kybd_split72_right.kicad_proRight PCB schematic + layout
poly_kybd/poly_kybd_split72_left.kicad_proLeft PCB schematic + layout
poly_kybd/poly_kybd_split72_plate_right.kicad_proRight aluminum plate
poly_kybd/poly_kybd_split72_plate_left.kicad_proLeft aluminum plate

The backup/ directory contains older revisions for reference.

Exporting gerbers for manufacture

After making changes in KiCad:

  1. Open the PCB editor
  2. File → Plot — select Gerber format, output to a new folder
  3. File → Fabrication Outputs → Drill Files — generate drill files into the same folder
  4. Zip the folder contents and upload to your PCB manufacturer

Exporting BOM and pick-and-place

Python scripts in the root of the repo assist with JLCPCB-format exports:

Terminal window
python bom_csv_jlcpcb.py # generate BOM
python kicad_csv_pos_to_jlcpcb_cpl_csv.py # generate CPL (pick and place)

3D case modification

OpenSCAD render of the PolyKybd case bottom, generated parametrically with the embossed logo and PCB standoffs

The case source files are in the case/ and parts/ directories. Some are OpenSCAD .scad files which can be modified parametrically:

  • parts/cirque23_slim_insert.scad — slim Cirque 23mm trackpad insert (ready STL: parts/cirque23_slim_insert_r8.stl)
  • parts/cirque23_insert.scad — high Cirque 23mm trackpad insert (ready STL: parts/cirque23_insert_high_r1.stl)
  • parts/cirque35_insert.scad — experimental 35mm trackpad insert (modify source before printing)

Render to STL with OpenSCAD: Design → Render, then File → Export → Export as STL.