mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-07 07:36:31 +02:00
Removed planar=true from tutorial.
This commit is contained in:
@@ -386,7 +386,7 @@ multmatrix(mat) square(50,center=true);
|
|||||||
To apply a compound transformation matrix to a path, you can use the `apply()` function:
|
To apply a compound transformation matrix to a path, you can use the `apply()` function:
|
||||||
|
|
||||||
```openscad-2D
|
```openscad-2D
|
||||||
mat = move([5,10]) * rot(30, planar=true) * scale([1.5,0.75]);
|
mat = move([5,10]) * rot(30) * scale([1.5,0.75]);
|
||||||
path = square(50,center=true);
|
path = square(50,center=true);
|
||||||
tpath = apply(mat, path);
|
tpath = apply(mat, path);
|
||||||
stroke(tpath, endcap2="arrow2");
|
stroke(tpath, endcap2="arrow2");
|
||||||
|
Reference in New Issue
Block a user