cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 523ba74c10 Phase 3: Active viewport MSPACE/PSPACE workflow
- Add active_viewport: Option<Handle> field to Scene
- Add EnterViewport(Handle) and ExitViewport messages
- Double-click on a user viewport (id > 1) enters MSPACE;
  double-click on empty area while in MSPACE exits to PSPACE
- MSPACE middle-drag pans the viewport's model-space view (view_target)
- MSPACE scroll zooms the viewport's view_height / custom_scale
- Drawing commands inside MSPACE receive model-space coordinates
  via paper_to_model() coordinate transform
- Active viewport rendered with yellow dashed border (vs. cyan solid)
- Camera screen_delta_to_world helper for MSPACE pan conversion
- LayoutSwitch clears active_viewport

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 07:24:16 +03:00
..
cmd_result.rs Fix ribbon active state, polar snap, FILLET pick mode, and arc preview plane 2026-03-31 00:31:28 +03:00
commands.rs Fix ribbon active state, polar snap, FILLET pick mode, and arc preview plane 2026-03-31 00:31:28 +03:00
document.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
helpers.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
history.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
layers.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
mod.rs Phase 3: Active viewport MSPACE/PSPACE workflow 2026-03-31 07:24:16 +03:00
properties.rs Refactor src/main.rs into modular src/app/ structure 2026-03-22 22:44:32 +03:00
update.rs Phase 3: Active viewport MSPACE/PSPACE workflow 2026-03-31 07:24:16 +03:00
view.rs Aşama 2: Paper space görsel düzenleme 2026-03-31 07:17:45 +03:00