From aae457de5558e166564bf50ed50c53acfa6b62cd Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 31 Aug 2018 22:38:35 +0000 Subject: automatically calculate knob bore length --- diff --git a/another.scad b/another.scad index e4d79f9..915b184 100644 --- a/another.scad +++ b/another.scad @@ -29,9 +29,9 @@ module the_extruder( filament_guide_d = 4, // PTFE filament guide diameter // knob properties knob_h = 10, - knob_bore_l = 4, knob_indent_d = 4, knob_indents = 12, + knob_v_clearance = 1, // spring tensioner st_nut_d = 9, st_nut_h = 4, st_screw_d = 5, @@ -408,6 +408,7 @@ module the_extruder( module knob() { ch = knob_indent_d/2; + knob_bore_l = body_h-protrusion_h-pulley_elevation-pulley_h-knob_v_clearance; translate([0,0,body_h+epsilon]) { mirror([0,0,1]) translate([0,0,-epsilon]) { difference() { -- cgit v0.9.0.2