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
@@ -109,2 +109,4 @@ module the_extruder(
+ pf_offset = mount_d/sqrt(2)/2+mount_screw_d/2+min_xy_shell;
+
module teardrop(r,d,h,center=false,angle=45) {
@@ -162,3 +164,3 @@ module the_extruder(
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);
@@ -256,3 +258,3 @@ module the_extruder(
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:
@@ -284,3 +286,2 @@ module the_extruder(
// pushfit
- pf_offset = mount_d/sqrt(2)/2+mount_screw_d;
translate([0,0,filament_elevation])
@@ -323,3 +324,3 @@ module the_extruder(
a0_ = atan(
- (mount_d/sqrt(2)/2+mount_screw_d+pf_h(pf)+gearbox_d/2)
+ (pf_offset+pf_h(pf)+gearbox_d/2)
/