18 lines
368 B
Markdown
18 lines
368 B
Markdown
# SketchConstraintDiagnostic
|
|
|
|
## Class Definition
|
|
|
|
```python
|
|
class SketchConstraintDiagnostic(constraint_id: Optional[str], severity: str, code: str, message: str, residual: Optional[float] = None)
|
|
```
|
|
|
|
*Source: sketch.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import SketchConstraintDiagnostic`
|
|
|
|
## Description
|
|
|
|
Diagnostic emitted by the sketch solver.
|