OpenSCAD Tutorial
difference() {
cylinder(d=70, h=8); cylinder(d=55, h=8);
// Triangle cut (FIXED)
linear_extrude(height=10)
polygon(points=[[0,20],[-17,-10],[17,-10]]);
// Side holes
for(i=[0:60:360]) {
rotate([0,0,i])
translate([30,0,0])
cylinder(d=5, h=10);
}
}
Table of Contents
- Introduction
- Chapter 1
- A few words about OpenSCAD
- Getting started with the Tutorial
- Basic information about the OpenSCAD environment
- Creating your first object
- Creating a slightly different cube
- Adding more objects and translating objects
- The cylinder primitive and rotating objects
- Completing your first model
- Creating a second model
Useful links
- OpenSCAD's website
- Download OpenSCAD
- Syntax cheat sheet
- The OpenSCAD Language Manual for use later as a reference.