ScalarLimit
Kind: Class
Domain: Assembly
Canonical import: from cadflow import ScalarLimit
Signature
class ScalarLimit(lower_value: 'float', upper_value: 'float', _metadata: 'Dict[str, Any]' = <factory>, _runtime: 'Dict[str, Any]' = <factory>) -> None
Description
Closed scalar range for a constraint drive coordinate.
Other public imports
from cadflow.assembly import ScalarLimit
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
lower_value | 'float' | yes | - | Not explicitly described in the source docstring. |
upper_value | 'float' | yes | - | Not explicitly described in the source docstring. |
_metadata | 'Dict[str, Any]' | no | <factory> | Not explicitly described in the source docstring. |
_runtime | '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 |
|---|---|---|
lower_value | 'float' | required |
upper_value | 'float' | required |
_metadata | 'Dict[str, Any]' | factory |
_runtime | 'Dict[str, Any]' | factory |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
contains | method | (self, value: 'float') -> 'bool' | 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 ScalarLimit