mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-07-31 19:50:29 +02:00
Added anchor_arrow2d()
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user