CANVAS_CLEAR and CANVAS_CROP
CANVAS_CLEAR unsets the voxels in the box from from to to, or all voxels without them. CANVAS_CROP unsets all voxels outside the box.
Parameters and results
canvasTYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)from,toSTRUCT c0de_paint/cpaint/POINT: the box (optional for CANVAS_CLEAR)
Example
c0de
CALL c0de_paint/cpaint/CANVAS_CROP
PARAMETER canvas c ;
PARAMETER from a ;
PARAMETER to b ;