diff options
author | jaseg <git@jaseg.net> | 2019-10-31 23:01:48 +0100 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-10-31 23:01:48 +0100 |
commit | f2c7387637f705d53ca273a498cb4c1c694edb0b (patch) | |
tree | 7ca702812f29e05ca11510df21921d80b74fc8aa /gm_platform/platform/lid_switch_plunger.scad | |
parent | da3f790fec7c90d995509cc75f36761d405adea6 (diff) | |
download | master-thesis-f2c7387637f705d53ca273a498cb4c1c694edb0b.tar.gz master-thesis-f2c7387637f705d53ca273a498cb4c1c694edb0b.tar.bz2 master-thesis-f2c7387637f705d53ca273a498cb4c1c694edb0b.zip |
Foo
Diffstat (limited to 'gm_platform/platform/lid_switch_plunger.scad')
-rw-r--r-- | gm_platform/platform/lid_switch_plunger.scad | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gm_platform/platform/lid_switch_plunger.scad b/gm_platform/platform/lid_switch_plunger.scad new file mode 100644 index 0000000..9102a35 --- /dev/null +++ b/gm_platform/platform/lid_switch_plunger.scad @@ -0,0 +1,31 @@ + +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 = 3; +stem_w = 7; +stem_h = stem_w; +plunger_w = 20; +plunger_h = 25; +plunger_d = 3; + + +minkowski(){ + cube([base_w, base_h, eps], center=true); + cylinder(base_d, base_d, 0, $fn=32); +}; + +translate([0, 0, height/2]) +cube([stem_w, stem_h, height], center=true); + +translate([0, 0, height-plunger_d]) +translate([0, 0, plunger_d/2]) +cube([plunger_w, plunger_h, plunger_d], center=true);
\ No newline at end of file |