User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
design_guide_anatomy [2018/03/24 13:12]
z3dev
design_guide_anatomy [2018/06/12 14:03]
z3dev
Line 1: Line 1:
 ===== Anatomy of a Design ===== ===== Anatomy of a Design =====
-A JSCAD script must have at least one function defined, the **main()** function, which has to return a shape.+A JSCAD script must have at least one function defined, the **main()** function, which must to return a shape.
 <code javascript>​ <code javascript>​
 function main() { function main() {