tqec.sketchup.block_graph.PipeType
- class PipeType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Valid pipe types in the library.
- __init__(*args, **kwds)
Methods
get_color_at_side
([src_side_if_h_pipe])Get the color of the pipe at the given side.
from_color_at_side
(color[, ...])Get the pipe type from the color at one side.
infer_cube_type_at_side
([...])Infer the cube type at the side of the pipe.
temporal_basis
()Attributes
has_hadamard
Check if the block type has a hadamard transition.
direction
Return the direction of the pipe.
OZX
OXZ
XOZ
ZOX
XZO
ZXO
OZXH
OXZH
ZOXH
XOZH
ZXOH
XZOH