]> www.fi.muni.cz Git - things.git/commitdiff
Resized pulleys
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 30 Apr 2018 07:52:49 +0000 (09:52 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 30 Apr 2018 07:52:49 +0000 (09:52 +0200)
pulley-elliptical.scad

index 50f044a8c293e5c3637df1f55c1726df0dc8eb85..8dc2ba908b9c783ea8b806c07284d6a0e63fe749 100644 (file)
@@ -6,6 +6,9 @@ d_x = 25;               // inner diameter in the X axis
 y_scale = 0.5;         // scale y/x
 height = 2.5;           // height of the rim
 
+slot_w = 1.5;
+side_hole_d = 2.0;
+
 module half(d_x, y_scale, height) {
        hull($fn = 128) {
                scale([1, (d_x*y_scale+height)/(d_x+height), 1])
@@ -25,11 +28,15 @@ module pulley(d_x, y_scale, height, center_hole_d) {
                }
                translate([0, 0, -eps])
                        cylinder(r = center_hole_d/2, h = height + 2*eps);
+               translate([-slot_w/2, d_x*y_scale/2, -eps])
+                       cube([slot_w, height, height + 2*eps]);
+//             translate([0, center_hole_d/2 + (d_x*y_scale/2-center_hole_d/2)/2, -eps])
+//                     cylinder(r = side_hole_d/2, h = height + 2*eps);
        }
 }
 
-pulley(d_x = 15, y_scale = 0.5, height=2.5, center_hole_d = 3);
+pulley(d_x = 6, y_scale = 2.5, height=2.5, center_hole_d = 2.5);
 
 translate([0, 20, 0])
-pulley(d_x = 30, y_scale = 0.5, height=2.5, center_hole_d = 7.5);
+pulley(d_x = 35, y_scale = 0.4, height=2.5, center_hole_d = 8);