author | Michael Krelin <hacker@klever.net> | 2018-08-01 15:16:53 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-01 15:16:53 (UTC) |
commit | 074c2516b4ffa100d35e45a58e41c1e8d13a76b7 (patch) (unidiff) | |
tree | 0b26b19db8d665fbe623e64b5e8437857cd9d91c | |
parent | 0709ab26b17a92de950024f82a0295c06ab8fe3d (diff) | |
download | extrudery-074c2516b4ffa100d35e45a58e41c1e8d13a76b7.zip extrudery-074c2516b4ffa100d35e45a58e41c1e8d13a76b7.tar.gz extrudery-074c2516b4ffa100d35e45a58e41c1e8d13a76b7.tar.bz2 |
another: parametrize pushfit type
-rw-r--r-- | another.scad | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/another.scad b/another.scad index b7b6e3a..7c4bf37 100644 --- a/another.scad +++ b/another.scad | |||
@@ -38,2 +38,4 @@ module the_extruder( | |||
38 | 38 | ||
39 | pf = pushfit_embeddest, | ||
40 | |||
39 | // empty spaces | 41 | // empty spaces |
@@ -109,3 +111,3 @@ module the_extruder( | |||
109 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) | 111 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d]) |
110 | pushfit(pushfit_threaded); | 112 | pushfit(pf); |
111 | } | 113 | } |
@@ -206,3 +208,3 @@ module the_extruder( | |||
206 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) | 208 | translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) |
207 | cylinder(r=min(body_h-filament_elevation,filament_elevation)/sin(60)-epsilon,h=10+gearbox_d/2/*TODO:*/,$fn=6); | 209 | cylinder(r=min(body_h-filament_elevation,filament_elevation)/sin(60)-epsilon,h=pf_h(pf)+gearbox_d/2/*TODO:*/,$fn=6); |
208 | }//union (first child of difference) | 210 | }//union (first child of difference) |
@@ -227,3 +229,3 @@ module the_extruder( | |||
227 | rotate([0,0,180]) { | 229 | rotate([0,0,180]) { |
228 | pushfit(pushfit_threaded); | 230 | pushfit(pf); |
229 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=2*PI*filament_guide_d); | 231 | cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=2*PI*filament_guide_d); |