summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-07-27 16:37:37 (UTC)
committer Michael Krelin <hacker@klever.net>2018-07-27 16:37:37 (UTC)
commit5752d03e9b6750447faaa5174bab1e797e4e3f2f (patch) (side-by-side diff)
treecfef35d053984934896e1d66e27daf5b7a6a2f08
parent86fca7bf690279eadea33252e75227cd494cc34c (diff)
downloadextrudery-5752d03e9b6750447faaa5174bab1e797e4e3f2f.zip
extrudery-5752d03e9b6750447faaa5174bab1e797e4e3f2f.tar.gz
extrudery-5752d03e9b6750447faaa5174bab1e797e4e3f2f.tar.bz2
another: switch to pushfittery
(without extra customization yet)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad14
1 files changed, 4 insertions, 10 deletions
diff --git a/another.scad b/another.scad
index 9f42f46..b7b6e3a 100644
--- a/another.scad
+++ b/another.scad
@@ -3,14 +3,8 @@ layer_height=0.2; extrusion_width=0.4;
epsilon=0.01;
$fs=0.0125;
-use <threads.scad>;
-module pushfit_thread(h=10) {
- thr = 3/8 + .5/25.4;
- slit = 25.4*thr/2 + 0.4;
- if(draft) cylinder(d=thr*25.4,h=h);
- else english_thread(diameter=thr,threads_per_inch=28,length=h/25.4,internal=true);
- translate([-2,-slit,0]) cube([4,2*slit,h]);
-}
+use <pushfittery.scad>;
+include <pushfit_data.scad>;
module the_extruder(
// motor properties
@@ -113,7 +107,7 @@ module the_extruder(
rotate([90,0,0]) cylinder(d=filament_d,h=gearbox_d*2,center=true,$fn=15);
rotate([-90,0,0])
translate([0,0,mount_d/sqrt(2)/2+mount_screw_d])
- pushfit_thread();
+ pushfit(pushfit_threaded);
}
}//translate teeth
}//translate pulley
@@ -231,7 +225,7 @@ module the_extruder(
rotate([-90,0,0])
translate([0,0,mount_d/sqrt(2)/2+mount_screw_d+epsilon])
rotate([0,0,180]) {
- pushfit_thread(h=10);
+ pushfit(pushfit_threaded);
cylinder(d=filament_guide_d,h=gearbox_d,center=true,$fn=2*PI*filament_guide_d);
translate([0,-filament_guide_d/2/sqrt(2),0])
rotate([0,0,45])