User Tools


Scale

Shapes can be scaled by any factor. Shapes are enlarged (increases) or shrunk (diminishes) by a scale factor. The result of scaling is a similar shape (in the geometric sense) to the original.

Learn about the scaling shapes at Wikipedia.org

Defaults:

  • factor : 1.0 or [1.0,1.0,1.0]
let obj = sphere(5)
obj = scale(2,obj)
obj = scale([1,2,3],obj)

The CSG library functions can also be used. NOTE: Deprecated in the V2 API

obj.scale([1,2,3])