Translates moves its child elements along the specified vector. The argument name is optional.
translate(v = [x, y, z]) { ... }
cube([2,3,4]);
translate([3,0,0]) {
cube([2,3,4]);
}
Rotate
Rotates its child 'a' degrees about the axis of the coordinate system or around an arbitrary axis. The argument names are optional if the arguments are given in the same order as specified.
rotate(a = deg_a, v = [x, y, z]) { ... }
Parameters
"x" is a rotation about the X axis, from the +Y axis, toward the +Z axis.
"y" is a rotation about the Y axis, from the +Z axis, toward the +X axis.
"z" is a rotation about the Z axis, from the +X axis, toward the +Y axis.
Point your right thumb along the positive axis, your fingers rotate in the direction of the rotation.