SliceSpec
Kind: Class
Domain: Inspection
Canonical import: from cadflow.inspect.brep import SliceSpec
Signature
class SliceSpec(plane: 'SlicePlane', value: 'float', label: 'str | None' = None) -> None
Description
One constant-coordinate physical slice.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
plane | 'SlicePlane' | yes | - | Not explicitly described in the source docstring. |
value | 'float' | yes | - | Not explicitly described in the source docstring. |
label | '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 |
|---|---|---|
plane | 'SlicePlane' | required |
value | 'float' | required |
label | 'str | None' | None |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
display_label | property | - | See the member signature. |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow.inspect.brep import SliceSpec