Skip to main content

CanonicalEdgeBlock

Kind: Class
Domain: Scene and artifacts
Canonical import: from cadflow import CanonicalEdgeBlock

Signature

class CanonicalEdgeBlock(entity_id: 'str', render_key: 'bytes', block_bytes: 'bytes', position_keys: 'tuple[bytes, ...]', positions: 'tuple[tuple[float, float, float], ...]', segments: 'tuple[tuple[int, int], ...]') -> None

Description

CanonicalEdgeBlock(entity_id: 'str', render_key: 'bytes', block_bytes: 'bytes', position_keys: 'tuple[bytes, ...]', positions: 'tuple[tuple[float, float, float], ...]', segments: 'tuple[tuple[int, int], ...]')

Other public imports

  • from cadflow.scene import CanonicalEdgeBlock

Parameters

NameTypeRequiredDefaultSource description
entity_id'str'yes-Not explicitly described in the source docstring.
render_key'bytes'yes-Not explicitly described in the source docstring.
block_bytes'bytes'yes-Not explicitly described in the source docstring.
position_keys'tuple[bytes, ...]'yes-Not explicitly described in the source docstring.
positions'tuple[tuple[float, float, float], ...]'yes-Not explicitly described in the source docstring.
segments'tuple[tuple[int, int], ...]'yes-Not explicitly described in the source docstring.

Returns

Type: None

The source docstring does not declare additional return semantics.

Errors

The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.

Data fields

NameTypeDefault
entity_id'str'required
render_key'bytes'required
block_bytes'bytes'required
position_keys'tuple[bytes, ...]'required
positions'tuple[tuple[float, float, float], ...]'required
segments'tuple[tuple[int, int], ...]'required

Behavior and constraints

  • Instances are immutable dataclass values; update workflows return a replacement value.

Import check

from cadflow import CanonicalEdgeBlock

See also