From 34218f0f5e8e0f16b3e27137bce0aa1a374de0f6 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Mon, 15 Jan 2024 11:10:53 +0200 Subject: [PATCH] Include missing option "medium" for predefined sizes --- joiners.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/joiners.scad b/joiners.scad index 7f99135..cdd0b8b 100644 --- a/joiners.scad +++ b/joiners.scad @@ -791,7 +791,7 @@ module _pin_shaft(r, lStraight, nub, nubscale, stretch, d, pointed) function _pin_size(size) = is_undef(size) ? [] : let(sizeok = in_list(size,["tiny", "small","medium", "large", "standard"])) - assert(sizeok,"Pin size must be one of \"tiny\", \"small\", or \"standard\"") + assert(sizeok,"Pin size must be one of \"tiny\", \"small\", \"medium\" or \"standard\"") size=="standard" || size=="large" ? struct_set([], ["length", 10.8, "diameter", 7, @@ -846,7 +846,7 @@ function _pin_size(size) = // and a modified version at https://www.thingiverse.com/thing:3218332 by acwest // and distributed under the Creative Commons - Attribution - Share Alike License // Arguments: -// size = text string to select from a list of predefined sizes, one of "standard", "small", or "tiny". +// size = text string to select from a list of predefined sizes, one of "standard", "medium", "small", or "tiny". // --- // pointed = set to true to get a pointed pin, false to get one with a rounded end. Default: true // r/radius = radius of the pin @@ -917,7 +917,7 @@ module snap_pin(size,r,radius,d,diameter, l,length, nub_depth, snap, thickness, // The "large" or "standard" size pin has a length of 10.8 and diameter of 7. The "medium" pin has a length of 8 and diameter of 4.6. The "small" pin // has a length of 6 and diameter of 3.2. The "tiny" pin has a length of 4 and a diameter of 2.5. // Arguments: -// size = text string to select from a list of predefined sizes, one of "standard", "small", or "tiny". +// size = text string to select from a list of predefined sizes, one of "standard", "medium", "small", or "tiny". // --- // pointed = set to true to get a pointed pin, false to get one with a rounded end. Default: true // r/radius = radius of the pin