Group Create

faces

Controls the visual representation of a polytope group. When faces is yes (the default), the polyhedron is represented by solid polygons, that users can see from the outside or from the inside. When faces is no, the polyhedron is represented by wired lines connecting the vertices.
Example: <group ... faces="yes"/> (default)
Allowed values: yes, no (optional)

red, green, blue

Set the color of a polytope group, between black (0.0, 0.0, 0.0) and white (1.0, 1.0, 1.0).
Example: <group ... red="0.0" green="1.0" blue="1.0"/> (default)
(defined in GAMGI_MESA_GROUP_R, GAMGI_MESA_GROUP_G
and GAMGI_MESA_GROUP_B)
Allowed values: 0.0 - 1.0 (optional, coupled)

scale

Change the group size, including its child objects.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.

Polytope groups are scaled around the group center, while Container groups are scaled around the viewport center. This happens because Polytope groups have a geometric center, defined by the polyhedra, while Container groups may have only atoms, and using its geometric center as the scaling center has the weird effect that moving one atom changes the visual representation of the other atoms, because the scaling center and thus the scaling transformation has changed!

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