GlbInfo
Kind: Class
Domain: Scene and artifacts
Canonical import: from cadflow.scene import GlbInfo
Signature
class GlbInfo(kind: "Literal['triangle', 'line']", vertex_count: 'int', index_count: 'int', primitive_count: 'int', decoded_buffer_bytes: 'int', position_bounds: 'tuple[tuple[float, float, float], tuple[float, float, float]]') -> None
Description
GlbInfo(kind: "Literal['triangle', 'line']", vertex_count: 'int', index_count: 'int', primitive_count: 'int', decoded_buffer_bytes: 'int', position_bounds: 'tuple[tuple[float, float, float], tuple[float, float, float]]')
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
kind | "Literal['triangle', 'line']" | yes | - | Not explicitly described in the source docstring. |
vertex_count | 'int' | yes | - | Not explicitly described in the source docstring. |
index_count | 'int' | yes | - | Not explicitly described in the source docstring. |
primitive_count | 'int' | yes | - | Not explicitly described in the source docstring. |
decoded_buffer_bytes | 'int' | yes | - | Not explicitly described in the source docstring. |
position_bounds | 'tuple[tuple[float, float, float], tuple[float, float, float]]' | 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
| Name | Type | Default |
|---|---|---|
kind | "Literal['triangle', 'line']" | required |
vertex_count | 'int' | required |
index_count | 'int' | required |
primitive_count | 'int' | required |
decoded_buffer_bytes | 'int' | required |
position_bounds | 'tuple[tuple[float, float, float], tuple[float, float, float]]' | required |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow.scene import GlbInfo