cad-editor/src/ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 96aaf2a293 feat(snap,pick): eye-relative CPU projection — drop full view_proj at UTM
Route the remaining absolute-coordinate CPU projection through the
relative-to-eye path so it no longer multiplies by a view_proj matrix
carrying a ~1e7 translation (which cancels catastrophically in f32 after
world_offset removal):
- camera pick_on_plane / pick_on_target_plane delegate to
  unproject_on_plane_f64 (rotation-only inverse + f64 eye)
- snapper (world_to_screen), hit_test (click_hit / mesh / hatch), the
  scene mesh/solid hit methods, grid + UCS axes, and polar_constrain_near
  all take view_rot + eye and project relative-to-eye
- compute_grid_step measures the per-unit scale via the rotation-only
  matrix (no eye term needed)

view_proj remains only for conservative CPU frustum-cull / scissor and the
screen-space viewcube / UCS-icon directions. NOTE: SnapResult.world and
the command-point chain are still Vec3 (f32) — a ~0.5 m quantization at
extreme UTM zoom remains; the command layer goes f64 next.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-23 23:33:21 +03:00
..
ribbon fix(ribbon): anchor tooltips to the right of their button 2026-06-20 11:59:20 +03:00
about.rs feat(ui): shared in-canvas modal overlay; migrate About (Plan B) 2026-06-16 18:59:13 +03:00
app_menu.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
color_select.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
command_line.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
cycle_popup.rs fix(statusbar): cycling-list hover highlight on row re-entry 2026-06-05 00:05:15 +03:00
dimstyle.rs feat(ui): move full ACI palette to a separate "Select Color" window (#94) 2026-06-14 11:14:14 +03:00
icons.rs fix(web): render OSNAP menu symbols as SVG instead of font glyphs 2026-06-20 14:27:59 +03:00
isolate_popup.rs feat(statusbar): isolate action menu on the pill and right-click 2026-06-04 23:17:21 +03:00
layers.rs fix(layers): freeze toggle in ribbon dropdown + sortable manager columns 2026-06-19 20:39:09 +03:00
layout_manager.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
mleaderstyle.rs feat(ui): move full ACI palette to a separate "Select Color" window (#94) 2026-06-14 11:14:14 +03:00
mlstyle.rs feat(styles): make style managers transactional — persist only on Apply 2026-06-10 15:38:32 +03:00
mod.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
modal.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
open_progress.rs feat(io): show loading overlay while opening CAD files 2026-05-13 09:59:07 +03:00
overlay.rs feat(snap,pick): eye-relative CPU projection — drop full view_proj at UTM 2026-06-23 23:33:21 +03:00
page_setup.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
plotstyle.rs cargo fmt 2026-05-12 10:36:15 +03:00
plugin_manager.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
point_style.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
properties.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
scale_popup.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
selection_filter_popup.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
shortcuts.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
side_toolbar.rs feat(ui): right-edge side toolbar; drop the paper-space ribbon tab 2026-06-12 02:07:26 +03:00
snap_popup.rs fix(web): render OSNAP menu symbols as SVG instead of font glyphs 2026-06-20 14:27:59 +03:00
statusbar.rs feat(ui): unified viewport control chip + per-tile grid rendering 2026-06-18 23:29:34 +03:00
statusbar_config.rs feat(ui): unified viewport control chip + per-tile grid rendering 2026-06-18 23:29:34 +03:00
statusbar_menu.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
style_list.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
style_manager.rs feat(styles): green ✓ for current style + resolve it from DWG files 2026-06-10 15:56:13 +03:00
tablestyle.rs feat(ui): move full ACI palette to a separate "Select Color" window (#94) 2026-06-14 11:14:14 +03:00
text_util.rs feat(ui): elide overflowing text, tooltip full layer name 2026-06-09 19:04:18 +03:00
textstyle.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00
units_popup.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
update_notice.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00