Difference between revisions of "Intro to OpenSCAD"

From Mod Lab
Jump to: navigation, search
(Where to Get It)
(Basics)
Line 18: Line 18:
  
 
- See example015.scad
 
- See example015.scad
 +
 +
==== Linear Extrude ====
 +
 +
==== Rotate Extrude ====
  
 
=== Primitive 3D Shapes ===
 
=== Primitive 3D Shapes ===
  
 
cube(), sphere(), cylinder(), polyhedron()
 
cube(), sphere(), cylinder(), polyhedron()
 +
 +
==== Projection - 2D from 3D ====
  
 
=== Geometric Boolean Operations ===
 
=== Geometric Boolean Operations ===
Line 31: Line 37:
 
==== Intersection ====
 
==== Intersection ====
  
=== Import, Extrude and Projection Operators ===
+
=== Object and Code Re-Use ===
  
 
==== 2D Import - DXF ====
 
==== 2D Import - DXF ====
Line 37: Line 43:
 
==== 3D Import - STL ====
 
==== 3D Import - STL ====
  
==== Linear Extrude ====
+
==== Include and Use SCAD Files ====
 
+
==== Rotate Extrude ====
+
 
+
==== Projection - 2D from 3D ====
+
 
+
=== Include and Use Files ===
+
  
 
== Hierarchy ==
 
== Hierarchy ==

Revision as of 08:09, 23 April 2012

Overview

OpenSCAD is Open source software for creating Solid 3D CAD objects. While not the primary focus, closed 2D shapes can also be created.

Where to Get It

Links to downloadable binaries and source repositories can be found under the Download Releases section of the main OpenSCAD web page.

RTFM

When in doubt, check the manual: http://en.wikibooks.org/wiki/OpenSCAD_User_Manual

Basics

Primitive 2D Shapes

square(), circle(), polygon()

- See example015.scad

Linear Extrude

Rotate Extrude

Primitive 3D Shapes

cube(), sphere(), cylinder(), polyhedron()

Projection - 2D from 3D

Geometric Boolean Operations

Union

Difference

Intersection

Object and Code Re-Use

2D Import - DXF

3D Import - STL

Include and Use SCAD Files

Hierarchy

Modules as Objects

Modules as Operators

Optimizing for 3D Printing

Other Useful Tips'n'Tricks

Command Line Options

MCAD Library

Reference Objects for Position, Orientation and Scale