diff options
author | jaseg <git@jaseg.net> | 2018-06-17 14:11:09 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-06-17 14:11:09 +0200 |
commit | 49c250edfb48fec5d27cd7e629b89224aefea303 (patch) | |
tree | 445e5f5564b43564449453bfc515e39c1bd4880a /hardware/enclosure | |
parent | 2d583dc7d0b0b58e94da0a2e56277e42ed762914 (diff) | |
download | olsndot-49c250edfb48fec5d27cd7e629b89224aefea303.tar.gz olsndot-49c250edfb48fec5d27cd7e629b89224aefea303.tar.bz2 olsndot-49c250edfb48fec5d27cd7e629b89224aefea303.zip |
Made the clamp a little more compact
Diffstat (limited to 'hardware/enclosure')
-rw-r--r-- | hardware/enclosure/olsndot_clamp_base.scad | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hardware/enclosure/olsndot_clamp_base.scad b/hardware/enclosure/olsndot_clamp_base.scad index 73fba97..e5bf43f 100644 --- a/hardware/enclosure/olsndot_clamp_base.scad +++ b/hardware/enclosure/olsndot_clamp_base.scad @@ -1,6 +1,6 @@ eps = 0.01; -module clamp(l=90, w=20, h=10, d1=40, o=10, hdia1=5, hdia2=10, hd=1, nw=7.8, nd=3, notch_sf=0.75, notch_d=5, notch_a=10, notch_o=1, edge_a=10, edge_d=22) { +module clamp(l=90, w=20, h=10, d1=25, d2=35, o=10, hdia1=5, hdia2=10, hd=1, nw=7.8, nd=3, notch_sf=0.75, notch_d=2, notch_a=10, notch_o=1, edge_a=5, edge_d=12) { translate([-h-l/2, -w/2, 0]) union() { translate([l+h-notch_d, 0, 0]) intersection() { difference() { @@ -14,11 +14,11 @@ module clamp(l=90, w=20, h=10, d1=40, o=10, hdia1=5, hdia2=10, hd=1, nw=7.8, nd= difference() { union() { cube ([l+h, w, h]); - cube ([h, w, d1]); + cube ([h, w, d2]); } - rotate([0, 45, 0]) translate([-l/2, -eps/2, -d1/8*7]) cube([l, w+eps, d1]); - translate([0, 0, d1]) rotate([0, 90+45, 0]) translate([-l/2, -eps/2, -d1/8*7]) cube([l, w+eps, d1]); - translate([-eps/2, w/2, d1-o]) rotate([0, 90, 0]) union() { + rotate([0, 45, 0]) translate([-l/2, -eps/2, -d2/8*7]) cube([l, w+eps, d2]); + translate([0, 0, d2]) rotate([0, 90+45, 0]) translate([-l/2, -eps/2, -d2/8*7]) cube([l, w+eps, d2]); + translate([-eps/2, w/2, d2-o]) rotate([0, 90, 0]) union() { cylinder(d=hdia1, h=l); cylinder(d=hdia2, h=hd); translate([0, 0, h-nd/2]) hexagon(nw, nd+2*eps); |