c0de paint 0.2.0Diese Seite auf Deutsch

CANVAS_MIRROR ​

Mirrors the canvas at the plane perpendicular to the axis at position, like 4.5 for the plane between the voxels 4 and 5. Without position, it mirrors at the middle of the bounds, so the bounds stay the same. The states of the blocks are mirrored too, also the hinges of doors.

Parameters and results

  • canvas TYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)
  • axis STRING: "x", "y" or "z"
  • position FLOAT: the plane (optional)

Example

c0de
CALL c0de_paint/cpaint/CANVAS_MIRROR
    PARAMETER canvas c ;
    PARAMETER axis "x" ;

Used in the tutorials ​