mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 17:46:54 +02:00
line_copies() matrix return example fix.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user