Fix ribbon active state, polar snap, FILLET pick mode, and arc preview plane

- Deactivate ribbon tool highlight when command ends (issue #1)
- Reset last_point on new command dispatch to fix polar snap offset (issue #2)
- FILLET/CHAMFER: disable text input during entity pick so clicks reach viewport (issue #3)
- Dropdown icon buttons now use RibbonToolClick so they highlight blue when active
- FILLET/CHAMFER: AutoCAD-style sub-step UX — typing R/D + Enter prompts for value
- Fix FILLET arc preview plane: arc was rendering in XZ instead of XY
- Bump version to 0.1.1

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Sonnet 4.6 committed 2026-03-31 00:31:28 +03:00
1 parent 468633c1fe
commit a88542a69a
6 files changed
+162 -44

No files matched your search

+1
View File
@@ -290,6 +290,7 @@ impl H7CAD {
if self.tabs[i].active_cmd.is_some() {
self.focus_cmd_input()
} else {
self.ribbon.deactivate_tool();
self.blur_cmd_input()
}
}
+3
View File
@@ -12,6 +12,9 @@ impl H7CAD {
self.tabs[i].scene.clear_preview_wire();
self.tabs[i].active_cmd = None;
}
// Reset the last committed point so the first click of the new command
// is not constrained by ortho/polar relative to a previous command's endpoint.
self.last_point = None;
if let Some(path_str) = cmd.strip_prefix("OPEN_RECENT:") {
let path = PathBuf::from(path_str);