OpenSCAD User Manual/First Steps/Creating a simple model

From Wikibooks, open books for an open world
Jump to: navigation, search

For our first model we will create a simple 2 x 3 x 4 cuboid. In the openSCAD editor, type the following one line command:

Usage example 1 - simple cuboid:
cube([2,3,4]);
OpenSCAD Simple Cuboid

Compiling and rendering our first model[edit]

The cuboid can now be compiled and rendered by pressing F6 while the openSCAD editor has focus.

See also[edit]

Positioning an object