mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 22:35:18 +02:00
update doc
This commit is contained in:
@@ -12,8 +12,8 @@ For more details, please see [3D turtle graphics](https://openhome.cc/eGossip/Op
|
|||||||
- Given a list: `[[cmd1, value], [cmd2, value2], ...]`. For example, `[["xforward", 10], ["zturn", 120]]` will forward a turtle 10mm along the x axis and turn it 120 degrees around the z axis from your viewpoint.
|
- Given a list: `[[cmd1, value], [cmd2, value2], ...]`. For example, `[["xforward", 10], ["zturn", 120]]` will forward a turtle 10mm along the x axis and turn it 120 degrees around the z axis from your viewpoint.
|
||||||
- `point` : Set the position of a turtle.
|
- `point` : Set the position of a turtle.
|
||||||
- `unit_vectors` : Set the unit vectors of a turtle.
|
- `unit_vectors` : Set the unit vectors of a turtle.
|
||||||
- `angle` : Set the angle of a turtle if `cmd` is not provided. Turn a turtle if `cmd` is `"turn"`.
|
- `angle` : Set the angle of a turtle if `cmd` is not provided. Turn a turtle if `cmd` is `"xturn"`, `"yturn"` or `"zturn"`.
|
||||||
- `leng` : Forward a turtle if `cmd` is `"forward"`.
|
- `leng` : Forward a turtle if `cmd` is `"xforward"`, `"yforward"` or `"zforward"`.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user