mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Added anchor_arrow2d()
This commit is contained in:
parent
35e6fdb1aa
commit
4b4304d794
2 changed files with 17 additions and 1 deletions
16
debug.scad
16
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()
|
// Module: show_internal_anchors()
|
||||||
// Usage:
|
// Usage:
|
||||||
// show_internal_anchors() ...
|
// show_internal_anchors() ...
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,480];
|
BOSL_VERSION = [2,0,481];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue