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
design_guide_parameters [2018/03/21 00:49]
z3dev
design_guide_parameters [2018/03/21 00:53]
z3dev
Line 7: Line 7:
 === Passing Options === === Passing Options ===
  
-JSCAD tries to maintain a consistent and easy to use set of functions (API). Although most functions require specific ​parameter and options, most are optionalEach function has predefined ​default values, even shapes (The defaults are shown along side of examples for each function.)+JSCAD tries to maintain a consistent and easy to use set of functions (API). Although most functions require specific options, most have defaults and do not need to be suppliedEvery function has predefined ​defaults, even shapes (The defaults are shown along side of examples for each function.)
  
 Options are passed as attributes of another object. In most cases, the options are assigned a value, and bracketed with ‘{…}’. Options are passed as attributes of another object. In most cases, the options are assigned a value, and bracketed with ‘{…}’.