-
Notifications
You must be signed in to change notification settings - Fork 53
basics
Mark Moissette edited this page Mar 31, 2013
·
9 revisions
For more info about CoffeeScript, the language used in CoffeeSCad please see here
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
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