feat: integrate SimpleCADAPI 2.0.2 CAD workflows
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# infer_dimension
|
||||
|
||||
## API Definition
|
||||
|
||||
```python
|
||||
def infer_dimension(value: 'ScalarLike') -> Dimension | None
|
||||
```
|
||||
|
||||
*Source: units.py*
|
||||
|
||||
## Import Surface
|
||||
|
||||
- top-level: `from simplecadapi import infer_dimension`
|
||||
|
||||
## Description
|
||||
|
||||
Infer and validate an expression's result dimension.
|
||||
|
||||
``None`` means the expression uses only legacy variables without unit
|
||||
declarations. Expressions that contain explicit units are validated
|
||||
strictly and cannot mix in legacy variables.
|
||||
Reference in New Issue
Block a user