Shapes can be rotated by any given degree about the X, Y, and Z axis. The degrees can be specified as either positive or negative values.
Learn about rotation at MathIsFun.com
Defaults:
let obj = cube([5,20,5]) obj = rotate([90,15,30],obj) obj = rotate(90,[1,0.25,0.5],obj)
The CSG library functions can also be used. NOTE: Deprecated in the V2 API
obj.rotateX(90); obj.rotateY(45); obj.rotateZ(30); obj.rotate(rotationCenter, rotationAxis, degrees) obj.rotateEulerAngles(alpha, beta, gamma, position)