mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 15:20:11 +02:00
Clean up square() functional example.
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
// Example(2D): Called as Function
|
// Example(2D): Called as Function
|
||||||
// path = square([40,30], chamfer=5, anchor=FRONT, spin=30);
|
// path = square([40,30], chamfer=5, anchor=FRONT, spin=30);
|
||||||
// stroke(path, closed=true);
|
// stroke(path, closed=true);
|
||||||
// place_copies(path) color("blue") sphere(d=2);
|
// place_copies(path) color("blue") circle(d=2,$fn=8);
|
||||||
module square(size=1, rounding=0, chamfer=0, center, anchor=FRONT+LEFT, spin=0) {
|
module square(size=1, rounding=0, chamfer=0, center, anchor=FRONT+LEFT, spin=0) {
|
||||||
size = is_num(size)? [size,size] : point2d(size);
|
size = is_num(size)? [size,size] : point2d(size);
|
||||||
pts = square(size=size, rounding=rounding, center=false, chamfer=chamfer);
|
pts = square(size=size, rounding=rounding, center=false, chamfer=chamfer);
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,68];
|
BOSL_VERSION = [2,0,69];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
Reference in New Issue
Block a user