689 B
689 B
SketchSolveResult
Class Definition
class SketchSolveResult(sketch_id: str, status: str, dof: int, residual_norm: float, iterations: int, solved_points: Dict[str, Tuple[float, float]], solved_scalars: Dict[str, float], diagnostics: Tuple[SketchConstraintDiagnostic, ...] = (), backend: str = "unknown", backend_version: str = "unknown", backend_status_code: Optional[int] = None)
Source: sketch.py
Import Surface
- top-level:
from simplecadapi import SketchSolveResult
Description
Backend-neutral result of solving a declarative sketch. backend, backend_version, and backend_status_code identify the solver implementation that produced the result.