cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven f00c48bebb feat(viewcube): add compass ring, cardinals, and nav controls
Build the ViewCube out into a full navigation widget:

- Compass ring painted in the cube's ground plane (z = base) so it
  reads as a ground compass and foreshortens with the view.
- N/E/S/W cardinals painted flat onto the ring band; clicking one snaps
  to that side elevation. Added S/W glyphs to the bitmap atlas.
- Home button (top-down view), roll arrows (90° roll about the view
  axis), and four nudge triangles (90° tip/spin) as SVG iced controls
  laid out around the cube. New home.svg.
- WCS / named-UCS selector under the cube, switching the active UCS.

The cube hit area now shares one stack with the control buttons, so a
click on a button is caught by the button while a click on the cube
falls through. Face clicks snap to the highlighted region rather than a
cursor position the viewport's move handler can overwrite.

Camera gains home_view / roll_by / nudge_90; floating viewports drive
the same ops through mutate_active_viewport_camera, which re-encodes the
result to the stored view direction + twist.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-25 23:46:43 +03:00
..
app feat(viewcube): add compass ring, cardinals, and nav controls 2026-06-25 23:46:43 +03:00
command feat(commands): interactive value prompts for PDMODE/PDSIZE/LTSCALE/CELTSCALE (F4) 2026-06-25 13:35:25 +03:00
entities fix(dimension): render diameter text and shrink point markers (#139) 2026-06-25 18:22:35 +03:00
io fix(pdf): export linetypes and true lineweights (#155) 2026-06-25 19:13:19 +03:00
modules fix(rotate): apply a typed angle right after the centre (#159) 2026-06-25 19:58:45 +03:00
plugin Fix 5: Allow backward-compatibility and add plugin-template-v2 2026-06-25 00:02:17 +03:00
scene feat(viewcube): add compass ring, cardinals, and nav controls 2026-06-25 23:46:43 +03:00
shaders fix(linetype): render dotted and dash-dot patterns (#149) 2026-06-25 17:37:24 +03:00
snap fix(osnap): snap to arc/circle centre when hovering the curve (#152) 2026-06-25 17:01:23 +03:00
ui feat(viewcube): add compass ring, cardinals, and nav controls 2026-06-25 23:46:43 +03:00
cli.rs Initial commit 2026-06-25 00:01:36 +03:00
lib.rs feat(cli): full command-line interface via clap 2026-06-20 13:59:20 +03:00
linetypes.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
main.rs Initial commit 2026-06-25 00:01:36 +03:00
par.rs feat(wasm): sequential rayon shim for the web build 2026-06-16 17:11:20 +03:00
patterns.rs chore: rename H7CAD to Open CAD Studio 2026-05-23 17:16:15 +03:00
sys.rs fix(web): paste clipboard text into the TEXT / MText editors 2026-06-20 17:05:02 +03:00
update_check.rs chore: silence native and wasm build warnings 2026-06-22 02:03:34 +03:00