SceneRoot
Kind: Class
Domain: Scene and artifacts
Canonical import: from cadflow import SceneRoot
Signature
class SceneRoot(root_id: 'str', value: 'Solid | Compound | Part | Assembly', transform: 'Placement' = <factory>, source_element_id: 'str | None' = None) -> None
Description
SceneRoot(root_id: 'str', value: 'Solid | Compound | Part | Assembly', transform: 'Placement' = <factory>, source_element_id: 'str | None' = None)
Other public imports
from cadflow.scene import SceneRoot
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
root_id | 'str' | yes | - | Not explicitly described in the source docstring. |
value | 'Solid | Compound | Part | Assembly' | yes | - | Not explicitly described in the source docstring. |
transform | 'Placement' | no | <factory> | Not explicitly described in the source docstring. |
source_element_id | 'str | None' | no | None | 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 |
|---|---|---|
root_id | 'str' | required |
value | 'Solid | Compound | Part | Assembly' | required |
transform | 'Placement' | factory |
source_element_id | 'str | None' | None |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import SceneRoot