aboutsummaryrefslogtreecommitdiff
path: root/src/rotary_wheel-pins.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_wheel-pins.scad
parentc9f84e2c4aafaf7d7c81bfee3b188b295ec2c2ba (diff)
imported rotary tools
Diffstat (limited to 'src/rotary_wheel-pins.scad')
-rw-r--r--src/rotary_wheel-pins.scad22
1 files changed, 22 insertions, 0 deletions
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);
+}