# Difference between revisions of "Intro to OpenSCAD"

From Mod Lab

(→Primitive 2D Shapes) |
m (→Translation, Rotation and Link Matrices) |
||

(4 intermediate revisions by one user not shown) | |||

Line 6: | Line 6: | ||

Links to downloadable binaries and source repositories can be found under the '''Download Releases''' section of the main [http://www.openscad.org/ OpenSCAD] web page. | Links to downloadable binaries and source repositories can be found under the '''Download Releases''' section of the main [http://www.openscad.org/ OpenSCAD] web page. | ||

+ | |||

+ | === RTFM === | ||

+ | |||

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

== Basics == | == Basics == | ||

− | === Primitive | + | === Primitive 3D Shapes === |

− | + | ==== Cube ==== | |

− | + | ==== Cylinder ==== | |

− | === | + | ==== Sphere ==== |

− | + | ==== Polyhedron ==== | |

+ | |||

+ | === Movement === | ||

+ | |||

+ | ==== Translation, Rotation and Link Matrices ==== | ||

+ | |||

+ | See [http://en.wikipedia.org/wiki/Forward_kinematics Forward kinematics] for link matrix mathematical definition. | ||

=== Geometric Boolean Operations === | === Geometric Boolean Operations === | ||

Line 27: | Line 37: | ||

==== Intersection ==== | ==== Intersection ==== | ||

− | |||

− | |||

− | === | + | === Primitive 2D Shapes === |

+ | |||

+ | square(), circle(), polygon() | ||

+ | |||

+ | - See example015.scad | ||

==== Linear Extrude ==== | ==== Linear Extrude ==== | ||

Line 39: | Line 51: | ||

==== Projection - 2D from 3D ==== | ==== Projection - 2D from 3D ==== | ||

− | === Include and Use Files === | + | |

+ | === Object and Code Re-Use === | ||

+ | |||

+ | ==== 2D Import - DXF ==== | ||

+ | |||

+ | ==== 3D Import - STL ==== | ||

+ | |||

+ | ==== Include and Use SCAD Files ==== | ||

== Hierarchy == | == Hierarchy == |

## Latest revision as of 09:17, 24 April 2012

## Contents

## Overview

OpenSCAD is **Open** source software for creating **S**olid 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 3D Shapes

#### Cube

#### Cylinder

#### Sphere

#### Polyhedron

### Movement

#### Translation, Rotation and Link Matrices

See Forward kinematics for link matrix mathematical definition.

### Geometric Boolean Operations

#### Union

#### Difference

#### Intersection

### Primitive 2D Shapes

square(), circle(), polygon()

- See example015.scad