UsingOpenSCAD
From Clothbot
Revision as of 20:37, 7 November 2009; AndrewPlumb (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Contents |
Using OpenSCAD
This page is to hold my notes on using OpenSCAD.
Syntax
Comments
Comments are escaped with the // character prefix.
// This is a comment
Variable Declarations
Variables are defined using <name> = <value> ; syntax.
my_variable = 10;
Module Declarations
A module with no arguments:
module peg() { union() { translate([0,0,320-overlap]) cylinder(h=180+overlap, r=245, center=false); cylinder(h=320, r=245+55, center=false); } }