User Tools


Differences

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

Link to this comparison view

Next revision Both sides next revision
design_guide_difference [2018/02/18 12:09]
z3dev created
design_guide_difference [2018/05/10 15:01]
z3dev
Line 1: Line 1:
 ==== Difference ==== ==== Difference ====
 +
 +Several shapes can be removed (subtracted) from another. The result is the logical difference of shapes.
  
 <code javascript>​ <code javascript>​
Line 5: Line 7:
 </​code>​ </​code>​
  
-multiple objects ​can be differentiated (subtracted) from the first element, ​also arrays.+The CSG library functions ​can also be used//NOTE: Deprecated in the V2 API//
  
 <code javascript>​ <code javascript>​
 sphere({r: 1, center:​true}).subtract(cube({size:​ 1.5, center:​true})); ​     // using CSG objects'​ built in methods sphere({r: 1, center:​true}).subtract(cube({size:​ 1.5, center:​true})); ​     // using CSG objects'​ built in methods
 </​code>​ </​code>​