RenderMesh
Kind: Class
Domain: Scene and artifacts
Canonical import: from cadflow import RenderMesh
Signature
class RenderMesh(positions: 'tuple[tuple[float, float, float], ...]', normals: 'tuple[tuple[float, float, float], ...]', indices: 'tuple[int, ...]', groups: 'tuple[RenderGroup, ...]', bounds: 'tuple[tuple[float, float, float], tuple[float, float, float]]', blocks: 'tuple[CanonicalTriangleBlock, ...]') -> None
Description
RenderMesh(positions: 'tuple[tuple[float, float, float], ...]', normals: 'tuple[tuple[float, float, float], ...]', indices: 'tuple[int, ...]', groups: 'tuple[RenderGroup, ...]', bounds: 'tuple[tuple[float, float, float], tuple[float, float, float]]', blocks: 'tuple[CanonicalTriangleBlock, ...]')
Other public imports
from cadflow.scene import RenderMesh
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
positions | 'tuple[tuple[float, float, float], ...]' | yes | - | Not explicitly described in the source docstring. |
normals | 'tuple[tuple[float, float, float], ...]' | yes | - | Not explicitly described in the source docstring. |
indices | 'tuple[int, ...]' | yes | - | Not explicitly described in the source docstring. |
groups | 'tuple[RenderGroup, ...]' | yes | - | Not explicitly described in the source docstring. |
bounds | 'tuple[tuple[float, float, float], tuple[float, float, float]]' | yes | - | Not explicitly described in the source docstring. |
blocks | 'tuple[CanonicalTriangleBlock, ...]' | 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 |
|---|---|---|
positions | 'tuple[tuple[float, float, float], ...]' | required |
normals | 'tuple[tuple[float, float, float], ...]' | required |
indices | 'tuple[int, ...]' | required |
groups | 'tuple[RenderGroup, ...]' | required |
bounds | 'tuple[tuple[float, float, float], tuple[float, float, float]]' | required |
blocks | 'tuple[CanonicalTriangleBlock, ...]' | required |
Behavior and constraints
- This operation writes an external artifact. Validate the returned path or output file before delivery.
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import RenderMesh