mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Bugfix for #416
This commit is contained in:
parent
61fa62e68a
commit
ff5d7af477
@ -1092,7 +1092,7 @@ function _ISO_thread_tolerance(diameter, pitch, internal=false, tolerance=undef)
|
||||
],
|
||||
|
||||
rangepts = [0.99, 1.4, 2.8, 5.6, 11.2, 22.4, 45, 90, 180, 300],
|
||||
d_ind = floor(lookup(diameter,zip(rangepts,list_range(len(rangepts))))),
|
||||
d_ind = floor(lookup(diameter,hstack(rangepts,list_range(len(rangepts))))),
|
||||
avgd = sqrt(rangepts[d_ind]* rangepts[d_ind+1]),
|
||||
|
||||
T_d2_6 = 90*pow(P, 0.4)*pow(avgd,0.1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user