Fixed nut child placement when it is a nyloc

This commit is contained in:
Chris Palmer 2019-07-27 21:50:04 +01:00
parent 49ee92db8e
commit 13c654a10e

View File

@ -58,7 +58,7 @@ module nut(type, nyloc = false, brass = false, nylon = false) { //! Draw specifi
rounded_cylinder(r = outer_rad * cos(30) , h = nyloc_thickness, r2 = (nyloc_thickness - thickness) / 2, ir = hole_rad); rounded_cylinder(r = outer_rad * cos(30) , h = nyloc_thickness, r2 = (nyloc_thickness - thickness) / 2, ir = hole_rad);
} }
if($children) if($children)
translate_z(thickness) translate_z(nut_thickness(type, nyloc))
children(); children();
} }