mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-28 07:49:45 +00:00
doc fixes
This commit is contained in:
parent
fb9ab5f399
commit
d860dc8044
2 changed files with 3 additions and 6 deletions
|
@ -1,13 +1,10 @@
|
||||||
module translate_copies(a=[[0,0,0]]) move_copies(a) children();
|
module translate_copies(a=[[0,0,0]]) move_copies(a) children();
|
||||||
module xmove(x) right(x) children();
|
|
||||||
module ymove(y) back(y) children();
|
|
||||||
module zmove(z) up(z) children();
|
|
||||||
|
|
||||||
module xspread(spacing, n, l, sp) xcopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
module xspread(spacing, n, l, sp) xcopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
||||||
module yspread(spacing, n, l, sp) ycopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
module yspread(spacing, n, l, sp) ycopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
||||||
module zspread(spacing, n, l, sp) zcopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
module zspread(spacing, n, l, sp) zcopies(spacing=spacing, n=n, l=l, sp=sp) children();
|
||||||
|
|
||||||
module spread(p1=[0,0,0], p2=[10,0,0], spacing, l, n=2) line_of(p1=p1, p2=p2, spacing=spacing, l=l, n=n) children();
|
module spread(p1=[0,0,0], p2=[10,0,0], spacing, l, n=2) line_copies(p1=p1, p2=p2, spacing=spacing, l=l, n=n) children();
|
||||||
module grid_of(xa=[0],ya=[0],za=[0],count,spacing) grid3d(xa=xa, ya=ya, za=za, n=count, spacing=spacing) children();
|
module grid_of(xa=[0],ya=[0],za=[0],count,spacing) grid3d(xa=xa, ya=ya, za=za, n=count, spacing=spacing) children();
|
||||||
|
|
||||||
module xring(n=2,r=0,sa=0,cp=[0,0,0],rot=true) xrot_copies(n=n,r=r,sa=sa,cp=cp,subrot=rot) children();
|
module xring(n=2,r=0,sa=0,cp=[0,0,0],rot=true) xrot_copies(n=n,r=r,sa=sa,cp=cp,subrot=rot) children();
|
||||||
|
|
|
@ -1599,9 +1599,9 @@ function reuleaux_polygon(n=3, r, d, anchor=CENTER, spin=0) =
|
||||||
// txt = "This is the string.";
|
// txt = "This is the string.";
|
||||||
// line_copies(spacing=[10,-5],n=len(txt))
|
// line_copies(spacing=[10,-5],n=len(txt))
|
||||||
// text(txt[$idx], size=10, anchor=CENTER);
|
// text(txt[$idx], size=10, anchor=CENTER);
|
||||||
// Example: Using arc_of() distributor
|
// Example: Using arc_copies() distributor
|
||||||
// txt = "This is the string";
|
// txt = "This is the string";
|
||||||
// arc_of(r=50, n=len(txt), sa=0, ea=180)
|
// arc_copies(r=50, n=len(txt), sa=0, ea=180)
|
||||||
// text(select(txt,-1-$idx), size=10, anchor=str("baseline",CENTER), spin=-90);
|
// text(select(txt,-1-$idx), size=10, anchor=str("baseline",CENTER), spin=-90);
|
||||||
module text(text, size=10, font="Helvetica", halign, valign, spacing=1.0, direction="ltr", language="en", script="latin", anchor="baseline", spin=0) {
|
module text(text, size=10, font="Helvetica", halign, valign, spacing=1.0, direction="ltr", language="en", script="latin", anchor="baseline", spin=0) {
|
||||||
no_children($children);
|
no_children($children);
|
||||||
|
|
Loading…
Reference in a new issue