tqec.sketchup.block_graph.Color3D
- class Color3D(x: Color, y: Color, z: Color)[source]
Get face colors along the x, y, and z axes.
Methods
__init__
(x, y, z)from_string
(s[, flip_xz])match
(other)Check whether the color matches the other color.
null
()Get the null color.
pop_color_at_direction
(direction)Replace the color at the given direction with None.
push_color_at_direction
(direction, color)Set the color at the given direction.
Attributes
is_null
Check if the color is null.
x
y
z