Merge branch 'screw_knob_typo' of https://github.com/martinbudden/NopSCADlib into martinbudden-screw_knob_typo

This commit is contained in:
Chris Palmer 2020-02-22 20:55:17 +00:00
commit 53140a4cc1

View File

@ -34,7 +34,7 @@ knob_waves = 5;
knob_height = knob_stem_h + knob_thickness; knob_height = knob_stem_h + knob_thickness;
function knob_height() = knob_height; function knob_height() = knob_height;
module screw_knob(screw) { //! Generate the STL foe a knob to fit the specified hex screw module screw_knob(screw) { //! Generate the STL for a knob to fit the specified hex screw
stl(str("screw_knob_M", screw_radius(screw) * 20)); stl(str("screw_knob_M", screw_radius(screw) * 20));
knob_stem_r = nut_trap_radius(screw_nut(screw)) + knob_wall; knob_stem_r = nut_trap_radius(screw_nut(screw)) + knob_wall;