1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-04 14:37:24 +02:00

Fixed square nut threads.

This commit is contained in:
Chris Palmer
2020-03-15 17:16:28 +00:00
parent 0738893510
commit b6a32b6b41

View File

@@ -213,10 +213,10 @@ module nut_square(type, brass = false, nylon = false) { //! Draw specified squar
}
}
}
if(show_threads)
female_metric_thread(thread_d, metric_coarse_pitch(thread_d), thickness, center = false, colour = colour);
}
}
function nut_trap_radius(nut, horizontal = false) = nut_radius(nut) + (horizontal ? layer_height / 4 : 0); //! Radius across the corners of a nut trap
function nut_trap_flat_radius(nut, horizontal = false) = nut_trap_radius(nut, horizontal) * cos(30); //! Radius across the flats of a nut trap