diff --git a/involute_gears.scad b/involute_gears.scad index 8780ae1..35840a2 100644 --- a/involute_gears.scad +++ b/involute_gears.scad @@ -17,7 +17,7 @@ //test_meshing_double_helix (); module test_meshing_double_helix(){ - test_meshing_double_helix (); + meshing_double_helix (); } // Demonstrate the backlash option for Spur gears. diff --git a/nuts_and_bolts.scad b/nuts_and_bolts.scad index cb74842..3ad37f3 100644 --- a/nuts_and_bolts.scad +++ b/nuts_and_bolts.scad @@ -2,7 +2,7 @@ //testNutsAndBolts(); -module testNutsAndBolts() +module SKIPtestNutsAndBolts() { $fn = 360; translate([0,15])nutHole(3, proj=2); @@ -13,7 +13,7 @@ MM = "mm"; INCH = "inch"; //Not yet supported //Based on: http://www.roymech.co.uk/Useful_Tables/Screws/Hex_Screws.htm -METRIC_NUT_AC_WIDTHS = +METRIC_NUT_AC_WIDTHS = [ -1, //0 index is not used but reduces computation -1, @@ -94,7 +94,7 @@ METRIC_NUT_THICKNESS = 29.00//m36 ]; -COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS = +COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS = [//based on max values -1, //0 index is not used but reduces computation -1, @@ -161,7 +161,7 @@ module boltHole(size, units=MM, length, tolerance = +0.0001, proj = -1) //TODO: proper screw cap values capHeight = METRIC_NUT_THICKNESS[size]+tolerance; //METRIC_BOLT_CAP_HEIGHTS[size]+tolerance; capRadius = METRIC_NUT_AC_WIDTHS[size]/2+tolerance; //METRIC_BOLT_CAP_RADIUS[size]+tolerance; - + if (proj == -1) { translate([0, 0, -capHeight])