Skip to content
Mark Moissette edited this page Mar 31, 2013 · 9 revisions

The language

For more info about CoffeeScript, the language used in CoffeeSCad please see here

The assembly

The assembly instance represent the root of your project's objects hierarchy: any object you want to see displayed/renderer/processed should either be added to the hierarchy directly , or added as a child of an object in the hierarchy

Adding objects

whenever you want to add an object to your assembly just type

assembly.add(myobject)

for example to draw a cube:

cube = new Cube({size:20}) assembly.add cube

Clone this wiki locally