Skip to main content

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

NameTypeRequiredDefaultSource description
tolerance'float'no1e-07Not explicitly described in the source docstring.
max_iterations'int'no80Not 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

NameTypeDefault
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

See also