From 5fc39109c531d0b4c61a64f206c66e4e34befea7 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Fri, 31 Aug 2018 22:57:52 +0000 Subject: optimizied knob generation --- diff --git a/another.scad b/another.scad index 0f696cc..05bfab3 100644 --- a/another.scad +++ b/another.scad @@ -421,12 +421,10 @@ module the_extruder( } } difference() { - union() { - cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d); + hull() { + cylinder(d=gearbox_d-2*ch,h=knob_h,$fn=fnd*gearbox_d); translate([0,0,ch]) - cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d); - translate([0,0,knob_h-ch]) - cylinder(d1=gearbox_d,d2=gearbox_d-2*ch,h=ch,$fn=fnd*gearbox_d); + cylinder(d=gearbox_d,h=knob_h-2*ch,$fn=fnd*gearbox_d); } for(a=[0:360/knob_indents:359]) rotate([0,0,a]) translate([0,gearbox_d/2,-1]) -- cgit v0.9.0.2