From 1d0f3df3f8a582f637adcf6da5673d36e5f11a4d Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sat, 23 Jul 2016 10:38:55 +0200 Subject: imported rotary tools --- src/rotary_wheel-pins.scad | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/rotary_wheel-pins.scad (limited to 'src/rotary_wheel-pins.scad') diff --git a/src/rotary_wheel-pins.scad b/src/rotary_wheel-pins.scad new file mode 100644 index 0000000..e22024f --- /dev/null +++ b/src/rotary_wheel-pins.scad @@ -0,0 +1,22 @@ + +// Wheel radius (approximated) +r = 20; +// Number of pins +pins = 23; +// Wheel tickness +thickness = 2; +// Hub tickness +max_thickness = 3; +// Axle radius +axle_r = 3; + +difference() { + union() { + for (i = [0:pins]) { + rotate([0, 0, i*360/pins]) translate([0, -0.5, 0]) cube([r, 1, 2]); + } + cylinder(r=r*0.9, h=thickness); + cylinder(r=axle_r*2, h=max_thickness); + } + cylinder(r=axle_r, h=max_thickness*2+1, center=true, $fn=30); +} -- cgit v1.2.3