diff --git a/debug.scad b/debug.scad index c2568c9..a38a690 100644 --- a/debug.scad +++ b/debug.scad @@ -301,6 +301,22 @@ module anchor_arrow(s=10, color=[0.333,0.333,1], flag=true, $tags="anchor-arrow" +// Module: anchor_arrow2d() +// Usage: +// anchor_arrow2d([s], [color], [flag]); +// Description: +// Show an anchor orientation arrow. +// Arguments: +// s = Length of the arrows. +// color = Color of the arrow. +// Example: +// anchor_arrow2d(s=20); +module anchor_arrow2d(s=15, color=[0.333,0.333,1], $tags="anchor-arrow") { + noop() stroke([[0,0],[0,s]], width=s/10, endcap1="butt", endcap2="arrow2"); +} + + + // Module: show_internal_anchors() // Usage: // show_internal_anchors() ... diff --git a/version.scad b/version.scad index 76088b4..10b3bcc 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,480]; +BOSL_VERSION = [2,0,481]; // Section: BOSL Library Version Functions