aboutsummaryrefslogtreecommitdiff
path: root/keys.scad
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2024-11-21 15:13:52 +0100
committerThomas Albers Raviola <thomas@thomaslabs.org>2024-11-21 15:13:52 +0100
commit871a8d65f0d92929f64b5feca51b892307bebca9 (patch)
tree10a8c4ece76530618c573cec80a0e25d047768f5 /keys.scad
Initial commit
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);
+ }
+ }
+}