drawing_tools.constraints package#
Submodules#
drawing_tools.constraints.core module#
Core constraint system for geometric and dimensional constraints.
- class drawing_tools.constraints.core.ConstraintType(*values)#
Bases:
EnumTypes of constraints.
- COINCIDENT = 1#
- DISTANCE = 2#
- LENGTH = 3#
- INCIDENCE = 4#
- PARALLEL = 5#
- COLLINEAR = 6#
- PERPENDICULAR = 7#
- ANGULAR = 8#
- TANGENT = 9#
- CONCENTRIC = 10#
- RADIUS = 11#
- DIAMETER = 12#
- EQUAL_RADIUS = 13#
- EQUAL_LENGTH = 14#
- FIX_POINT = 15#
- HORIZONTAL = 16#
- VERTICAL = 17#
- class drawing_tools.constraints.core.Constraint(type: ~drawing_tools.constraints.core.ConstraintType, geometries: list[Geometry | ~volmdlr.core_compiled.Point2D], metadata: dict = <factory>)#
Bases:
objectConstraint between primitives.
- type: ConstraintType#
Module contents#
2D Constraints.