aboutsummaryrefslogtreecommitdiff
path: root/src/rotary_wheel-measuring.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-measuring.scad
parentc9f84e2c4aafaf7d7c81bfee3b188b295ec2c2ba (diff)
imported rotary tools
Diffstat (limited to 'src/rotary_wheel-measuring.scad')
-rw-r--r--src/rotary_wheel-measuring.scad25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/rotary_wheel-measuring.scad b/src/rotary_wheel-measuring.scad
new file mode 100644
index 0000000..8e3c980
--- /dev/null
+++ b/src/rotary_wheel-measuring.scad
@@ -0,0 +1,25 @@
+
+// Circunference
+c = 100;
+// Number of marks
+marks = 10;
+// Wheel tickness
+thickness = 2;
+// Hub tickness
+max_thickness = 3;
+// Axle radius
+axle_r = 3;
+
+r = c/PI/2;
+
+difference() {
+ union() {
+ cylinder(r=r, h=thickness);
+ cylinder(r=axle_r*2, h=max_thickness);
+ }
+ for (i = [0:marks]) {
+ rotate([0, 0, i*360/marks]) translate([r*0.75, -0.5, thickness-1]) cube([r, 1, 2]);
+ }
+ translate([r/2, -0.5, thickness-1]) cube([r, 1, 2]);
+ cylinder(r=axle_r, h=max_thickness*2+1, center=true, $fn=30);
+}