# Cell Create

- Symmetry
- Type
- Position
- Origin
- View

### faces

Controls the visual representation of the lattice faces. In wired mode, the lattice faces are represented by wired lines connecting the vertices. In solid mode, the lattice faces are represented by solid polygons, that users can see from the outside or from the inside.

When the selected type is rhombus or sphere, the cell must be represented in wired mode, otherwise the actual lattice would be hidden by the filtering volume. When type is projection, faces cannot be represented. The cell object must always have a visual representation, so at least one of the lattice components, faces, nodes and borders must be visible.

    Example: <cell ... faces="no"/> (default)
    Allowed values: yes, no (optional)

### nodes

Controls whether the lattice nodes are visible or not. When type is projection, nodes cannot be represented. The cell object must always have a visual representation, so at least one of the lattice components, faces, nodes and borders must be visible.

    Example: <cell ... nodes="yes"/> (default)
    Allowed values: yes, no (optional)

### borders

Controls the visual representation of the cell borders. When borders is none, no borders are represented in any cell representation. When borders is edges, only the outer line contours are shown. The boundaries between cells are hidden, as long as they are in the same plane, independently of the lattice parameters. When borders is faces, all lines are shown, except those inside the volume representation, making it easier to see the cell contents. Selecting the option all, all border lines become visible, including those inside the cell.

The faces and all options are disabled when type is set to rhombus or sphere filtering modes. The all option is disabled when faces is set to yes, because in solid mode the inner borders cannot be seen from the outside and make it very difficult to analyze something from the inside. When type is projection, the borders option is always edges, meaning the projection circumpherence. The cell object must always have a visual representation, so at least one of the lattice components, faces, nodes and borders must be visible.

    Example: <cell ... borders="all"/> (default)
    Allowed values: all, faces, edges, none (optional)

### red, green, blue

Set the cell color, between black (0.0, 0.0, 0.0) and white (1.0, 1.0, 1.0). When the cell is shown in wired mode, this color is used to render the cell lattice framework. When the cell is shown in solid mode, faces are rendered using this color, and wired boundaries are rendered using the current layer background color.

    Example: <cell ... red="1.0" green="1.0" blue="1.0"/> (default)
    (defined in GAMGI_MESA_CELL_R, GAMGI_MESA_CELL_G
    and GAMGI_MESA_CELL_B)
    Allowed values: 0.0 - 1.0 (optional, coupled)

### scale

Change the cell size, including its child objects. Cell objects are scaled around the cell center. The visual representation of an object is always scaled by its own scale factor multiplied by the scale factor of all its parent objects until layer, inclusive.

    Example: <cell ... scale="1.0"/> (default)
    (defined in GAMGI_MESA_SCALE)
    Allowed values: positive real (optional)

Home