From c83b5d18ae09805a6a65715a2586c225ff393074 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 06 Feb 2017 21:19:36 +0000 Subject: moving around --- diff --git a/another.scad b/another.scad index d4a3f90..fa60676 100644 --- a/another.scad +++ b/another.scad @@ -60,6 +60,11 @@ module the_extruder( ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) ); spring_dl = idler_travel*longwing/ri; + filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; + ls_z = filament_elevation; // leverspace mid-z + body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2); + ls_h = lever_thickness+lever_v_clearance; // leverspace height + module mirrorleft() { mirror([left?0:1,0,0]) children(); } @@ -171,10 +176,6 @@ module the_extruder( }//lever module module body() { - filament_elevation=protrusion_h+pulley_elevation+teeth_elevation; - ls_z = filament_elevation; - body_h = max(protrusion_h+bore_l,mount_screw_l-mounthole_depth/2+mount_screwhead_h,ls_z*2); - ls_h = lever_thickness+lever_v_clearance; difference() { union() { cylinder(d=gearbox_d,h=body_h,$fn=2*PI*gearbox_d); -- cgit v0.9.0.2