Refactor surface masking and exclusion features

- Renamed "Surface Mask" section to "Mask Angles" for clarity in index.html.
- Updated translation keys and tooltips to reflect the new terminology in i18n.js.
- Removed the erase toggle button from the exclusion panel and implemented Shift key functionality to toggle erase mode in main.js.
- Adjusted brush radius handling to improve user experience and updated related UI elements in index.html.
- Enhanced the subdivision process to track original face IDs for better masking accuracy in subdivision.js.
- Added CSS styles for new UI elements and improved layout in style.css.
This commit is contained in:
CNCKitchen
2026-03-21 09:42:08 +01:00
parent a5cb0e5671
commit 6723dcb7b0
5 changed files with 275 additions and 115 deletions
+13
View File
@@ -671,6 +671,13 @@ input[type="number"].val:focus { outline: none; border-color: var(--accent); }
color: var(--accent);
}
.excl-shift-hint {
font-size: 10px;
color: var(--text-muted);
margin: -4px 0 8px;
text-align: center;
}
/* Segmented button group (Single / Radius) */
.excl-seg {
display: flex;
@@ -720,9 +727,15 @@ input[type="number"].val:focus { outline: none; border-color: var(--accent); }
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 4px;
margin-top: 10px;
}
.excl-footer .excl-shift-hint {
margin: 0;
}
.excl-count {
font-size: 11px;
color: var(--text-muted);