1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-25 05:51:41 +02:00

update all docs

This commit is contained in:
Justin Lin
2020-01-28 17:51:20 +08:00
parent 232225bf83
commit 9dd793541f
100 changed files with 391 additions and 586 deletions

View File

@@ -0,0 +1,22 @@
# 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
## Parameters
- `v` : Elements will be translated along the vector.
## Examples
use <matrix/m_translation.scad>;
cube(2, center = true);
multmatrix(m_translation([5, 0, 0]))
sphere(1);
![m_translation](images/lib-m_translation-1.JPG)