summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-09-01 11:29:30 (UTC)
committer Michael Krelin <hacker@klever.net>2018-09-01 11:29:30 (UTC)
commit8dd62c375a2df44eaa42a4ac58905f15d4b17cca (patch) (side-by-side diff)
tree8367f583086adf69cd40eba8cdda9e61a9ef4936
parent3c20c090273e3f87fc3d0e50d031400f57aff238 (diff)
downloadextrudery-8dd62c375a2df44eaa42a4ac58905f15d4b17cca.zip
extrudery-8dd62c375a2df44eaa42a4ac58905f15d4b17cca.tar.gz
extrudery-8dd62c375a2df44eaa42a4ac58905f15d4b17cca.tar.bz2
move pushfit a tiny bit closer
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad9
1 files changed, 5 insertions, 4 deletions
diff --git a/another.scad b/another.scad
index 0d67286..8334b11 100644
--- a/another.scad
+++ b/another.scad
@@ -107,6 +107,8 @@ module the_extruder(
body_h = max(protrusion_h+bore_l,mount_screw_l-mount_depth+mount_screwhead_h+min_z_shell,ls_z*2);
echo("mount depth",mount_depth);
+ pf_offset = mount_d/sqrt(2)/2+mount_screw_d/2+min_xy_shell;
+
module teardrop(r,d,h,center=false,angle=45) {
dd = d ? d : (2*r);
$fn = dd*fnd;
@@ -160,7 +162,7 @@ module the_extruder(
}//rotate translate
translate([pulley_d/2+filament_offset,0,0]) rotate([-90,0,0]) {
cylinder(d=filament_d,h=gearbox_d,center=false,$fn=15);
- translate([0,0,mount_d/sqrt(2)/2+mount_screw_d])
+ translate([0,0,pf_offset])
pushfit(pf);
}//rotate translate
}//rotate
@@ -254,7 +256,7 @@ module the_extruder(
translate([0,0,filament_elevation])
rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0])
rotate([-90,0,0])
- translate([0,0,mount_d/sqrt(2)/2+mount_screw_d-gearbox_d/2/*TODO:*/]) {
+ translate([0,0,pf_offset-gearbox_d/2/*TODO:*/]) {
pfbl = pf_h(pf)+gearbox_d/2; //TODO:
pfbd = pf_d(pf)+2*pf_shell;
hull() {
@@ -282,7 +284,6 @@ module the_extruder(
cylinder(d=mount_screwhead_d,h=body_h+1,$fn=fnd*mount_screwhead_d);
}//for
// pushfit
- pf_offset = mount_d/sqrt(2)/2+mount_screw_d;
translate([0,0,filament_elevation])
rotate([0,0,45]) translate([pulley_d/2+filament_offset,0,0])
rotate([-90,0,0])
@@ -321,7 +322,7 @@ module the_extruder(
// XXX: this is somewhat ugly and potentially bugged,
// but I want to sleep.
a0_ = atan(
- (mount_d/sqrt(2)/2+mount_screw_d+pf_h(pf)+gearbox_d/2)
+ (pf_offset+pf_h(pf)+gearbox_d/2)
/
(
pulley_d/2+filament_offset-