aboutsummaryrefslogtreecommitdiff
path: root/keys.scad
diff options
context:
space:
mode:
Diffstat (limited to 'keys.scad')
-rw-r--r--keys.scad20
1 files changed, 20 insertions, 0 deletions
diff --git a/keys.scad b/keys.scad
new file mode 100644
index 0000000..56f6d77
--- /dev/null
+++ b/keys.scad
@@ -0,0 +1,20 @@
+// All dimensions are assumed to be given in millimeters
+
+major_width = 7;
+// major_height = 1;
+major_height = 8;
+
+minor_width = 5;
+minor_height = 4;
+
+for (i=[0:0]) {
+ union() {
+ translate(v=[10*i, 0, minor_height / 2]) {
+ cube([minor_width, minor_width, minor_height], center=true);
+ }
+
+ translate(v=[10*i, 0, - major_height / 2]) {
+ cube([major_width, major_width, major_height], center=true);
+ }
+ }
+}