User Interface of OpenSCAD

Summary​

  • 1.1 Introduction to OpenSCAD’s interface
  • 1.2. Text Editor
  • 1.3. Viewing Area
  • 1.4. The Console
  • 2.1. Introduction to OpenSCAD’s language
  • 2.2. Basic code commands: Actions
  • 2.3. Basic code commands: Operators
  • 2.4. Basic code commands: Variables, Comments
  • 2.5. All commands- cheat sheet
  • 2.6. Creating shapes: cube
  • 2.7. Creating shapes: sphere
  • 2.8. Creating shapes: Cylinder and Cone
  • 2.9. Moving the objects
  • 2.10. Modifying the Objects with Operators
  • 2.11. Operators: Union
  • 2.12. Operators: Difference
  • 2.13. Operators: Intersection
  • 3.1. Rendering
  • 3.2. Exporting an STL file
  • 3.3. 3D printing

In the first part of the tutorial we will introduce you to the User Interface of OpenSCAD, which might be a bit different from other 3D modeling software. We will explain to you exactly how to move around OpenSCAD. Next we will move on to code commands for creating you first 3D objects. 

We will start with showing you all the parts of User Interface in OpenSCAD. The interface of OpenSCAD is very straightforward. On your left is Text Editor where you code. On top of that window you have the basic options: save, undo, redo etc, as well as Preview, Render and Export as STL. We will cover ‘’Save as STL’’ in the last part of this tutorial. On your right, most of the screen is Viewing Area, below which is the Console.

openscad_img_24.jpg

You enter the code in the Text Editor for OpenSCAD to read. To see how OpenSCAD translates your code you need to press Preview. The Preview will appear in the Viewing area. The Preview option will generate the code into a quick model, but it’s not the final version of your 3D model. To see the exact calculations of the code, press Render. However, rendering will take longer to generate. The Render will also show in the Viewing Area and the Console will give you technical information when the Rendering is done. 

openscad_img_25.jpg 

Anything that you code in the Text Editor results in 3D models shown in the Viewing Area. In the Viewing Area, we also find some options: Preview and Render, Zoom Controls, different Views and Viewing Options. The View and Viewing options allow you to see the model from different angles and sides. Switching between Perspective and Orthogonal view changes whether the model is shown with perspective or isometrically. We would suggest the Orthogonal view is more useful for mechanical models and the Perspective view will give you a better sight for decorative designs. otherwise you can’t edit it. 

openscad_img_26.jpg

The Console comes in handy when you would like to gather more technical information regarding calculations of your 3D model. It also shows the history of your saving or exporting actions. The Consol will also give you technical information when your Rendering is done. 

23_aL69pxw.jpg