Jump to content

OpenSCAD User Manual/First Steps/Creating a simple model

From Wikibooks, open books for an open world

For our first model, we create a simple 2×3×4 cuboid.

To get started, launch OpenSCAD. You should have a preview window, toolbar, console and editor windows open. If one is hidden you can turn it on by going to the View menu and unselect the hidden items.

To create our cuboid we use the openSCAD editor window to type a one-line command:

Usage example 1 - simple cuboid:
cube([8,8,8]);

Compiling and rendering our first model

[edit | edit source]

The cuboid can now be compiled and rendered by pressing F5 or F6 Function key on your keyboard while the OpenSCAD editor has focus. You should now see your object in the preview window as shown above.

See also

[edit | edit source]

Next: Positioning an object