From ca54be2458a9b7f57db5bee9782035e36be38bec Mon Sep 17 00:00:00 2001 From: pacien Date: Mon, 12 Aug 2019 08:37:22 +0200 Subject: reinforce clamps --- .gitignore | 1 + tabletop_tablet_stand_clamp.scad | 35 ++++++++++++++++++++++------------- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index cdb04a4..7dde8be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.stl +*.gco *.gcode diff --git a/tabletop_tablet_stand_clamp.scad b/tabletop_tablet_stand_clamp.scad index 2ade4eb..b74efd4 100644 --- a/tabletop_tablet_stand_clamp.scad +++ b/tabletop_tablet_stand_clamp.scad @@ -16,39 +16,48 @@ module prism(l, w, h) { ); } +module reflect(axises) { + children(); + mirror(axises) children(); +} + baseThickness = 3; -baseHeight = 40; +baseHeight = 20; baseWidth = 80; gapWidth = 30; clampDepth = 15; clampHeight = 5; -threadDiameter = 7; +threadDiameter = 6.5; threadTubeOuterDiameter = threadDiameter+baseThickness*2; difference() { union() { cube([baseThickness, baseWidth, baseHeight]); - + translate([-clampDepth, 0, 0]) - cube([clampDepth, baseWidth, baseThickness]); - - translate([-clampDepth, 0, baseThickness]) - prism(baseWidth, clampDepth, clampHeight); - - translate([0, (baseWidth - threadTubeOuterDiameter)/2, 0]) - cube([threadTubeOuterDiameter/2, threadTubeOuterDiameter, baseHeight]); - + cube([clampDepth, baseWidth, baseThickness+clampHeight]); + + translate([baseThickness, baseWidth/2, 0]) + reflect([0, 1, 0]) + rotate([90, 0, 0]) + prism(baseHeight, threadTubeOuterDiameter-baseThickness, baseWidth/2); + translate([threadTubeOuterDiameter/2, baseWidth/2, 0]) cylinder(r = threadTubeOuterDiameter/2, h = baseHeight); } - + // thread hole translate([threadTubeOuterDiameter/2, baseWidth/2, 0]) cylinder(r = threadDiameter/2, h = baseHeight); - + // clamp gap translate([-clampDepth, (baseWidth-gapWidth)/2, 0]) cube([clampDepth, gapWidth, clampHeight+baseThickness]); + + // clamp indent + translate([-clampDepth/2, 0, clampDepth/2+baseThickness]) + rotate([-90, 0, 0]) + cylinder(r = clampDepth/2, h = baseWidth); } -- cgit v1.2.3