From 4b4304d794ca7a89c53d33b2b14e7b9532c02de3 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Fri, 18 Dec 2020 19:01:57 -0800 Subject: [PATCH] Added anchor_arrow2d() --- debug.scad | 16 ++++++++++++++++ version.scad | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) 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