summaryrefslogtreecommitdiff
Side-by-side diff
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
@@ -108,4 +108,6 @@ module the_extruder(
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);
@@ -161,5 +163,5 @@ module the_extruder(
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
@@ -255,5 +257,5 @@ module the_extruder(
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;
@@ -283,5 +285,4 @@ module the_extruder(
}//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])
@@ -322,5 +323,5 @@ module the_extruder(
// 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)
/
(