summaryrefslogtreecommitdiff
path: root/gm_platform/platform/lid_switch_plunger.scad
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:02 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2021-04-09 18:38:57 +0200
commit50998fcfb916ae251309bd4b464f2c122e8cb30d (patch)
tree4ecf7a7443b75ab51c4dc0c0fc9289342dc7d6a0 /gm_platform/platform/lid_switch_plunger.scad
parent312fee491cfab436d52db4b6265107e20f3e1293 (diff)
downloadmaster-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.gz
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.bz2
master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.zip
Repo re-org
Diffstat (limited to 'gm_platform/platform/lid_switch_plunger.scad')
-rw-r--r--gm_platform/platform/lid_switch_plunger.scad42
1 files changed, 0 insertions, 42 deletions
diff --git a/gm_platform/platform/lid_switch_plunger.scad b/gm_platform/platform/lid_switch_plunger.scad
deleted file mode 100644
index 65235fc..0000000
--- a/gm_platform/platform/lid_switch_plunger.scad
+++ /dev/null
@@ -1,42 +0,0 @@
-
-case_inside_h = 54.5;
-case_standoff_h = 6.0;
-pcb_h = 1.6;
-switch_h = 12.2;
-glue_h = 0.2;
-tolerance = 0.7;
-height = case_inside_h - case_standoff_h - pcb_h - switch_h - glue_h - tolerance;
-
-eps = 0.01;
-base_w = 20;
-base_h = base_w;
-base_d = 5;
-stem_w = 10;
-stem_h = stem_w;
-plunger_w = 20;
-plunger_h = 25;
-plunger_d = 3;
-
-module narf(w, h, d) {
- translate([0, 0, 1])
- minkowski(){
- cube([w-2*d, h-2*d, eps], center=true);
- cylinder(d, d, 0, $fn=32);
- };
-
- minkowski(){
- cube([w-2*d, h-2*d, eps], center=true);
- cylinder(1, d, d, $fn=32);
- };
-}
-
-rotate ([0, 180, 0]) {
- narf(base_w, base_h, base_d);
-
- translate([0, 0, height/2])
- cube([stem_w, stem_h, height], center=true);
-
- translate([0, 0, height])
- mirror([0, 0, 1])
- narf(plunger_w, plunger_h, plunger_d);
-} \ No newline at end of file