411 REFERENCE · Wikibooks
OpenSCAD User Manual/First Steps/Opening an existing example model
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
thumb|OpenSCAD after starting
Open one of the many examples that come with OpenSCAD (File, Examples). Or you can copy and paste this simple example into the OpenSCAD window:
Usage example 1difference() {
cube(30, center=true);
sphere(20);
}
translate([0, 0, 30]) {
cylinder(h=40, r=10);
}
thumb|OpenSCAD after pasting the example code and pressing F5
Then press F5 to get a graphical preview of what you typed (or press F6 to get a graphical view).
You get three types of movement in the preview frame:
Drag with left mouse button to rotate the view around the rotation center (view with ctrl-3) along the X and Z Axis. The bottom line changes the rotate values. (use shift while left-drag to rotate around X and Y )
Drag with any other mouse button (or control-drag under OSX) to translate (move) the view. The bottom line changes translate values.
Use the mouse scroll to zoom in and out. Alternatively you can use the + and - keys, or right-drag with the mouse while pressing a shift key (or control-shift-drag under OSX). The Viewport line at the bottom of the window shows a change in the distance value.
OpenSCAD User Manual/First Steps/Model views First Steps: Model views OpenSCAD User Manual/The OpenSCAD User Interface Manual: User Interface OpenSCAD User Manual First Steps
ru:Руководство пользователя по OpenSCAD/Первые шаги/Открытие существующей учебной модели