diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2021-05-20 21:20:54 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@kataplop.net> | 2021-05-20 21:20:54 +0200 |
commit | f3f30603ec08b6a54d85f75d140beca1de85a352 (patch) | |
tree | 56097f3854bc6b63db4cc057c0eb0f33073e0e58 /cad | |
parent | e762ae0ce661d8431cf11b31fe7c5117f4b5e3d0 (diff) |
Add simple CAD file for plate
Initial plate design for early test/prototype.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/plate.scad | 32 | ||||
-rw-r--r-- | cad/plate.stl | bin | 0 -> 60684 bytes |
2 files changed, 32 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..367f41d --- /dev/null +++ b/cad/plate.stl |