FlexibleMaterial
Kind: Class
Domain: Flexible geometry
Canonical import: from cadflow.flexible import FlexibleMaterial
Signature
class FlexibleMaterial(name: 'str' = 'stretch-knit', thickness: 'float' = 1.2, color: 'tuple[float, float, float]' = (0.17, 0.34, 0.52), roughness: 'float' = 0.68) -> None
Description
Static shell properties used for thickness and appearance metadata.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
name | 'str' | no | 'stretch-knit' | Not explicitly described in the source docstring. |
thickness | 'float' | no | 1.2 | Not explicitly described in the source docstring. |
color | 'tuple[float, float, float]' | no | (0.17, 0.34, 0.52) | Not explicitly described in the source docstring. |
roughness | 'float' | no | 0.68 | 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 |
|---|---|---|
name | 'str' | 'stretch-knit' |
thickness | 'float' | 1.2 |
color | 'tuple[float, float, float]' | (0.17, 0.34, 0.52) |
roughness | 'float' | 0.68 |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow.flexible import FlexibleMaterial