mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
line_copies() matrix return example fix.
This commit is contained in:
parent
cab3eaf37f
commit
885a5fef9b
1 changed files with 5 additions and 2 deletions
|
@ -412,8 +412,11 @@ function zcopies(spacing, n, l, sp, p=_NO_ARG) =
|
||||||
// cube(size=[1,3,1],center=true);
|
// cube(size=[1,3,1],center=true);
|
||||||
// cube(size=[3,1,1],center=true);
|
// cube(size=[3,1,1],center=true);
|
||||||
// }
|
// }
|
||||||
// Example(2D): The functional form of line_copies() returns a list of points.
|
// Example(2D): The functional form of line_copies() returns a list of transform matrices.
|
||||||
// pts = line_copies([10,5],n=5);
|
// mats = line_copies([10,5],n=5);
|
||||||
|
// for (m = mats) multmatrix(m) circle(d=2);
|
||||||
|
// Example(2D): The functional form of line_copies() returns a list of points if given a point.
|
||||||
|
// pts = line_copies([10,5],n=5,p=[0,0,0]);
|
||||||
// move_copies(pts) circle(d=2);
|
// move_copies(pts) circle(d=2);
|
||||||
|
|
||||||
module line_of(spacing, n, l, p1, p2) {
|
module line_of(spacing, n, l, p1, p2) {
|
||||||
|
|
Loading…
Reference in a new issue