User Tools


Translate

Shapes can be translated (moved) to another location. In other words, every point in the shape is moved by a fixed distance in the same direction. The offset can be positive or negative.

Learn about translation at MathIsFun.com

Defaults:

  • offset : 0 or [0,0,0]
let obj = sphere(5)
obj = translate([0,0,10],obj)

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

obj.translate([0,0,10])