Merge bubbapizza/master into master (#6)

This commit is contained in:
Chow Loong Jin 2019-07-23 21:55:29 +08:00
commit 4a71170f4b

View file

@ -96,7 +96,7 @@ METRIC_NUT_THICKNESS =
29.00//m36
];
COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS =
COARSE_THREAD_METRIC_BOLT_MAJOR_DIAMETERS =
[//based on max values
-1, //0 index is not used but reduces computation
-1,
@ -201,7 +201,7 @@ module nutHole(size, units=MM, tolerance = +0.0001, proj = -1)
module boltHole(size, units=MM, length, tolerance = +0.0001, proj = -1)
{
radius = COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS[size]/2+tolerance;
radius = COARSE_THREAD_METRIC_BOLT_MAJOR_DIAMETERS[size]/2+tolerance;
capHeight = size+tolerance;
capRadius = METRIC_BOLT_CAP_DIAMETERS[size]/2+tolerance;