SurfaceProperty
Kind: Class
Domain: Simulation handoff
Canonical import: from cadflow import SurfaceProperty
Signature
class SurfaceProperty(property_id: 'str', roughness_average: 'float | None' = None, coating_material_id: 'str | None' = None, coating_thickness: 'float | None' = None, metadata: 'dict[str, Any]' = <factory>) -> None
Description
Intrinsic properties of one manufactured surface, not a surface pair.
Other public imports
from cadflow.simulation import SurfaceProperty
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
property_id | 'str' | yes | - | Not explicitly described in the source docstring. |
roughness_average | 'float | None' | no | None | Not explicitly described in the source docstring. |
coating_material_id | 'str | None' | no | None | Not explicitly described in the source docstring. |
coating_thickness | 'float | None' | no | None | Not explicitly described in the source docstring. |
metadata | 'dict[str, Any]' | no | <factory> | 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 |
|---|---|---|
property_id | 'str' | required |
roughness_average | 'float | None' | None |
coating_material_id | 'str | None' | None |
coating_thickness | 'float | None' | None |
metadata | 'dict[str, Any]' | factory |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
from_dict | class method | (cls, value: 'Mapping[str, Any]') -> "'SurfaceProperty'" | See the member signature. |
to_dict | method | (self) -> 'dict[str, Any]' | See the member signature. |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import SurfaceProperty