ToleranceCheck
Kind: Class
Domain: Expressions, units, and tolerances
Canonical import: from cadflow import ToleranceCheck
Signature
class ToleranceCheck(requirement: 'ToleranceRequirement', analysis: 'ToleranceAnalysis', passed: 'bool', lower_margin: 'float', upper_margin: 'float') -> None
Description
Validation result for one tolerance requirement.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
requirement | 'ToleranceRequirement' | yes | - | Not explicitly described in the source docstring. |
analysis | 'ToleranceAnalysis' | yes | - | Not explicitly described in the source docstring. |
passed | 'bool' | yes | - | Not explicitly described in the source docstring. |
lower_margin | 'float' | yes | - | Not explicitly described in the source docstring. |
upper_margin | 'float' | 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 |
|---|---|---|
requirement | 'ToleranceRequirement' | required |
analysis | 'ToleranceAnalysis' | required |
passed | 'bool' | required |
lower_margin | 'float' | required |
upper_margin | 'float' | required |
Public members
| Member | Kind | Signature | Description |
|---|---|---|---|
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 ToleranceCheck