Mate type definitions and geometry references #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 1.1
Files: solver/mates/primitives.py (Create), solver/mates/init.py (Create), tests/mates/test_primitives.py (Create)
Scope: MateType enum (COINCIDENT, CONCENTRIC, PARALLEL, PERPENDICULAR, TANGENT, DISTANCE, ANGLE, LOCK) with context-dependent DOF removal. GeometryType enum (FACE, EDGE, POINT, AXIS, PLANE). GeometryRef dataclass (body_id, geometry_type, geometry_id, origin, direction). Mate dataclass (mate_id, mate_type, ref_a, ref_b, value, tolerance) with validate() and to_dict()/from_dict(). dof_removed() function for context-dependent DOF counting.
Acceptance Criteria: