SketchSolverOptions
Kind: Class
Domain: Sketch
Canonical import: from cadflow import SketchSolverOptions
Signature
class SketchSolverOptions(tolerance: 'float' = 1e-07, max_iterations: 'int' = 80) -> None
Description
Backend-neutral options for one solve request.
Backend-neutral options for one solve request.
A backend may not support every numerical hint. It must still preserve the result/status contract and must not silently invoke another backend.
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
tolerance | 'float' | no | 1e-07 | Not explicitly described in the source docstring. |
max_iterations | 'int' | no | 80 | 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 |
|---|---|---|
tolerance | 'float' | 1e-07 |
max_iterations | 'int' | 80 |
Behavior and constraints
- Instances are immutable dataclass values; update workflows return a replacement value.
Import check
from cadflow import SketchSolverOptions