Geometric Constraints#
The geometric constraints module provides tools for detecting and verifying implicit geometric relationships between drawing entities.
Purpose#
Technical drawings contain implicit geometric constraints that are not explicitly annotated but are essential for proper interpretation. This module detects:
Parallelism: Edges that are parallel to each other
Perpendicularity: Edges that meet at right angles
Tangency: Curves that are tangent to lines or other curves
Symmetry: Elements that are symmetric about an axis
Collinearity: Points or edges that lie on the same line
Concentricity: Circles or arcs that share the same center
These constraints are useful for:
Validating drawing correctness
Understanding geometric intent
Automated feature recognition
Design rule checking
Note
Because development is ongoing, detailed documentation for geometric constraints is not yet available.
Please refer to the API Reference for available classes and methods
in the drawing_tools.constraints module.