mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-22 13:57:08 -06:00
The drafting aids worked along the world axes whatever the UCS; now they work along the current UCS's. - Ortho (and direct distance entry with it, and TK tracking) along the UCS axes; the isometric axes turn with the UCS. Settings::ucs_angle, filled in by drafting_settings(), carries the UCS rotation. - Grid and grid snap in the UCS: SNAPBASE is a UCS point and SNAPANG an angle from its X axis (snap::grid_frame_in). The rectangular grid is drawn in that frame, so it also honours SNAPANG and SNAPBASE now (its snap already did); the red and green axes are the UCS's. - Polar tracking measured from ANGBASE off the UCS X axis; object snap tracking's orthogonal paths along the UCS axes; the tracking tooltip reads the angle in the UCS. - DIMLINEAR horizontal and vertical (automatic and the keywords) along the UCS axes at the command line; JSON stays in world coordinates. - Ortho at the cursor keeps the full drafting settings (isometric snap steps), not the copy grid snap hands back. Tests: ortho through the cursor and direct distance entry, grid snap and the grid frame with SNAPBASE/SNAPANG, polar tracking and the tracking configuration, isometric axes, DIMLINEAR, and the World UCS unchanged.