mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-06 04:09:47 +00:00
Clean up square() functional example.
This commit is contained in:
parent
4e9aa3868d
commit
7a58e69a31
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue