From f3f30603ec08b6a54d85f75d140beca1de85a352 Mon Sep 17 00:00:00 2001 From: Marc Poulhiès Date: Thu, 20 May 2021 21:20:54 +0200 Subject: Add simple CAD file for plate Initial plate design for early test/prototype. --- cad/plate.scad | 32 ++++++++++++++++++++++++++++++++ cad/plate.stl | Bin 0 -> 60684 bytes 2 files changed, 32 insertions(+) create mode 100644 cad/plate.scad create mode 100644 cad/plate.stl diff --git a/cad/plate.scad b/cad/plate.scad new file mode 100644 index 0000000..03c2731 --- /dev/null +++ b/cad/plate.scad @@ -0,0 +1,32 @@ +// Based on keyseebee plate.scad +// https://github.com/TeXitoi/keyseebee/tree/master/cad +// Modified for https://github.com/dkm/pouetpouet-board + +switch_hole=14.0;// by spec should be 14, can be adjusted for printer imprecision +thickness=1.6;// plate thickness, for 3D rendering + +linear_extrude(thickness) // uncomment for 3D model +plate(); + +inter_switch=19.00; +d=2.54; + +module key_placement_without_extreme() { + for (i=[0:11]) for (j=[0:4]) translate([(i-1)*inter_switch, -(j-1)*inter_switch]) children(); +} + + +module key_placement() { + key_placement_without_extreme() children(); +} + +module outline() { + hull() key_placement_without_extreme() square(inter_switch, center=true); +} + +module plate() { + difference() { + outline(); + key_placement() square([switch_hole, switch_hole], center=true); + } +} diff --git a/cad/plate.stl b/cad/plate.stl new file mode 100644 index 0000000..367f41d Binary files /dev/null and b/cad/plate.stl differ -- cgit v1.2.3