commit 6a6d99a841fdf60180257b8d83db7f9a719fe389 Author: finn Date: Sun Sep 22 19:22:51 2024 -0700 initial diff --git a/dromToggle.3mf b/dromToggle.3mf new file mode 100644 index 0000000..f9cd48a Binary files /dev/null and b/dromToggle.3mf differ diff --git a/dromToggle.scad b/dromToggle.scad new file mode 100644 index 0000000..074988b --- /dev/null +++ b/dromToggle.scad @@ -0,0 +1,56 @@ +// Toggle +// + +mainDiam=10; +mainLength=20; +cordDiam=3; +cordHoleGap=1; +flattenBottom=0.3; +$fn = 40; + + +difference(){ + + +// cyl mirrored across yz +color("blue"){ + for (dir = [-1 : 1] ) mirror([dir, 0, 0]){ + union(){ + rotate([0,90,0]){ + cylinder(mainLength / 2, d = mainDiam, center=false); + } + translate([mainLength / 2, 0, 0]){ + sphere(d = mainDiam); + } + } + } +} + + +// flatten bottom +color("red"){ + translate([0, 0, -1 * (1 - flattenBottom) * mainDiam]){ + cube( [2 * mainLength, mainDiam, mainDiam], center=true); + } +} + +//holes +color("green"){ + for (dir = [-1 : 1]) mirror([dir, 0, 0]){ + translate([cordHoleGap * cordDiam, 0, 0]){ + cylinder( mainDiam * 1.1, d = cordDiam, center = true); + + } + } +} + +//relief +color("yellow"){ + translate([0, 0, mainDiam / 2]){ + rotate([0, 90, 0]){ + cylinder(cordDiam * cordHoleGap * 2, d = cordDiam, center = true); + } + } + } + +} diff --git a/dromToggle.stl b/dromToggle.stl new file mode 100644 index 0000000..61042b5 Binary files /dev/null and b/dromToggle.stl differ