fixed tests
This commit is contained in:
parent
cd479750cc
commit
b0ea4d7369
|
@ -17,7 +17,7 @@
|
||||||
//test_meshing_double_helix ();
|
//test_meshing_double_helix ();
|
||||||
|
|
||||||
module test_meshing_double_helix(){
|
module test_meshing_double_helix(){
|
||||||
test_meshing_double_helix ();
|
meshing_double_helix ();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Demonstrate the backlash option for Spur gears.
|
// Demonstrate the backlash option for Spur gears.
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
//testNutsAndBolts();
|
//testNutsAndBolts();
|
||||||
|
|
||||||
module testNutsAndBolts()
|
module SKIPtestNutsAndBolts()
|
||||||
{
|
{
|
||||||
$fn = 360;
|
$fn = 360;
|
||||||
translate([0,15])nutHole(3, proj=2);
|
translate([0,15])nutHole(3, proj=2);
|
||||||
|
@ -13,7 +13,7 @@ MM = "mm";
|
||||||
INCH = "inch"; //Not yet supported
|
INCH = "inch"; //Not yet supported
|
||||||
|
|
||||||
//Based on: http://www.roymech.co.uk/Useful_Tables/Screws/Hex_Screws.htm
|
//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, //0 index is not used but reduces computation
|
||||||
-1,
|
-1,
|
||||||
|
@ -94,7 +94,7 @@ METRIC_NUT_THICKNESS =
|
||||||
29.00//m36
|
29.00//m36
|
||||||
];
|
];
|
||||||
|
|
||||||
COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS =
|
COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS =
|
||||||
[//based on max values
|
[//based on max values
|
||||||
-1, //0 index is not used but reduces computation
|
-1, //0 index is not used but reduces computation
|
||||||
-1,
|
-1,
|
||||||
|
@ -161,7 +161,7 @@ module boltHole(size, units=MM, length, tolerance = +0.0001, proj = -1)
|
||||||
//TODO: proper screw cap values
|
//TODO: proper screw cap values
|
||||||
capHeight = METRIC_NUT_THICKNESS[size]+tolerance; //METRIC_BOLT_CAP_HEIGHTS[size]+tolerance;
|
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;
|
capRadius = METRIC_NUT_AC_WIDTHS[size]/2+tolerance; //METRIC_BOLT_CAP_RADIUS[size]+tolerance;
|
||||||
|
|
||||||
if (proj == -1)
|
if (proj == -1)
|
||||||
{
|
{
|
||||||
translate([0, 0, -capHeight])
|
translate([0, 0, -capHeight])
|
||||||
|
|
Loading…
Reference in a new issue