1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-07-31 20:10:36 +02:00

update doc

This commit is contained in:
Justin Lin
2019-06-24 07:29:42 +08:00
parent 16509eec6c
commit 5f3bfb391d
11 changed files with 22 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ The power of using transformation matrice is that you can cumulate all transform
## Parameters
The dir changed since 2.0.
- `matrice` : A list of 4x4 transformation matrice.
## Examples

View File

@@ -1,5 +1,7 @@
# m_mirror
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into `multmatrix` to mirror the child element on a plane through the origin.
**Since:** 1.1

View File

@@ -1,5 +1,7 @@
# m_rotation
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into `multmatrix` to rotate the child element about the axis of the coordinate system or around an arbitrary axis.
**Since:** 1.1

View File

@@ -1,5 +1,7 @@
# m_scaling
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into `multmatrix` to scale its child elements using the specified vector.
**Since:** 1.1

View File

@@ -1,5 +1,7 @@
# m_shearing
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into `multmatrix` to shear all child elements along the X-axis, Y-axis, or Z-axis in 3D.
**Since:** 1.1

View File

@@ -1,5 +1,7 @@
# m_translation
The dir changed since 2.0.
Generate a 4x4 transformation matrix which can pass into `multmatrix` to translates (moves) its child elements along the specified vector.
**Since:** 1.1

View File

@@ -1,5 +1,7 @@
# parse_number
The dir changed since 2.0.
Parses the string argument as an number.
## Parameters

View File

@@ -1,5 +1,7 @@
# split_str
The dir changed since 2.0.
Splits the given string around matches of the given delimiting character.
## Parameters

View File

@@ -1,5 +1,7 @@
# sub_str
The dir changed since 2.0.
Returns a new string that is a substring of the given string.
## Parameters

View File

@@ -1,5 +1,7 @@
# turtle2d
The dir changed since 2.0.
An OpenSCAD implementation of Turtle Graphics. It moves on the xy plane. You can get the cooridinate `[x, y]` or `angle` of its current position.
## Parameters

View File

@@ -1,5 +1,7 @@
# turtle3d
The dir changed since 2.0.
An OpenSCAD implementation of 3D Turtle Graphics. When using the function, imagine that you are sitting on the turtle. You move or turn the turtle from the your viewpoint, not the viewpoint of OpenSCAD coordinates.
For more details, please see [3D turtle graphics](https://openhome.cc/eGossip/OpenSCAD/3DTurtleGraphics.html).