Assignment 2 - OpenSCAD

Due Monday 9/18 at 11:59 pm. You must work individually.


In this assignment, you will design a parameterized object (or a set of objects). You will use OpenSCAD to create your objects. OpenSCAD is a software for creating solid 3D CAD objects. It is free software and available for GNU/Linux, MS Windows and Apple macOS.

You are not required to 3D print your creation at this time. However, please make sure to design something that can be easily 3D printed. For example, you may need to separate your object into pieces and lock/glue them back together after printing.

OpenSCAD is not an interactive modeler. Instead it is a 3D-compiler that reads in a script file that describes the object and renders the 3D model from this script file. Your task in this assignment is to write a set of OpenSCAD scripts to create the objects. These objects will be printed in the future.

You will be responsible for using OpenSCAD to create a parameterized object with a reasonable complexity. Your design should be a single OpenSCAD file with any number of modules. All the parts of your designs must be created by a single high-level module. The parameters of that module are the exposed parameters of your parametrized model. The requirements of your design are:

Make sure your parameters are "interesting." Here are some guidelines.

Getting Started

Using the OpenSCAD Modeler

You will use OpenSCAD to create your 3D models. It is pretty straightforward to install OpenSCAD.

Export for 3D printing

Ultimately, you will 3D print your designed model. In order to 3D print you will need to export your objects from OpenSCAD as an explicit mesh. A typical file format for 3D printing is the STL file format, which is supported by OpenSCAD for importing and exporting. To export your design, you need to:

Note that sometimes you might be able to compile and render your design but you will not be able to output the STL file. One of the typical reasons is that the object created is not a valid 2-manifold. If it happens, you may refer to the example in http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export for further reading. It is important to test the export function incrementally as you build your model. Do not wait until the last moment to export!

Online Tutorials

There are some tutorials online:

Example Designs and Implementation Notes

There are some example designs built into OpenSCAD. You can see them by selecting "Examples" from the "File" menu. Below, we show some more examples from Thingiverse etc. that may be helpful as an inspiration.

Required for 689 students


What to hand in

Please provide a report with your submission (PDF). The report should include the following:

Create a zip file named NETID.zip (your email ID; e.g., sueda.zip) so that when you extract it, it creates a folder called NETID/ (e.g., sueda/) that has (ONLY) the following in it:

Generated on Sun Sep 17 16:31:20 CDT 2017