Last modified on 6 July 2012, at 15:46

OpenSCAD User Manual/First Steps/Positioning an object

We have already seen how to create a simple cuboid. Our next task is to attempt to use the translate positioning command to place an identical cuboid next to the existing cuboid:

Usage example 1 - positioning an object:
translate([3,0,0]) {
OpenSCAD positioning an object

There is no semicolon following the translate commandEdit

Notice that there is no semicolon following the translate command. This is because the translate command relates to the following object. If the semicolon was not omitted, then the effect of the position translation would end, and the second cuboid would be placed at the same position as the first cuboid.