aboutsummaryrefslogtreecommitdiff
path: root/src/rotary_tools_handle.scad
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-07-23 10:38:55 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2016-07-23 10:38:55 +0200
commit1d0f3df3f8a582f637adcf6da5673d36e5f11a4d (patch)
tree7515372fca4e60d43694b6b28fa4a568ee20eb6b /src/rotary_tools_handle.scad
parentc9f84e2c4aafaf7d7c81bfee3b188b295ec2c2ba (diff)
imported rotary tools
Diffstat (limited to 'src/rotary_tools_handle.scad')
-rw-r--r--src/rotary_tools_handle.scad35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/rotary_tools_handle.scad b/src/rotary_tools_handle.scad
new file mode 100644
index 0000000..b4dc581
--- /dev/null
+++ b/src/rotary_tools_handle.scad
@@ -0,0 +1,35 @@
+
+// Wheel radius
+r = 20;
+// Vertical clearance for the wheel, as a ratio
+r_clear = 1.25;
+
+// Handle radius
+handle_r = 6;
+// Handle height (excluding wheel support)
+handle_h = 100;
+
+// Axle radius
+axle_r = 2.5;
+
+supp_x = 4;
+supp_y = handle_r * sqrt(3);
+supp_z = r * r_clear + supp_y/2;
+
+rotate([90,0,0]) difference() {
+ union() {
+ translate([0, 0, -handle_h]) cylinder(r=handle_r, h=handle_h, $fn=6);
+ hull() {
+ translate([0, 0, -handle_r*2])
+ cylinder(r=handle_r, h=handle_r*2, $fn=6);
+ translate([-handle_r, -supp_y/2, 0])
+ cube([supp_x, supp_y, supp_z]);
+ translate([handle_r-supp_x, -supp_y/2, 0])
+ cube([supp_x, supp_y, supp_z]);
+ }
+ }
+ translate([-handle_r+supp_x, -supp_y/2-1, 0])
+ cube([(handle_r-supp_x)*2, supp_y+2, supp_z+2]);
+ translate([0, 0, r*r_clear]) rotate([0, 90, 0])
+ cylinder(r=axle_r, h=handle_r*2+2, center=true);
+}