feat(menu): implement right-click menu functions for model operations
- Add i18n translations for quick select menu (zh-CN, en-US) - Add 8 model operation methods to Engine layer - Add 8 proxy methods to EngineManager layer - Implement right-click menu handlers for hide/translucent/isolate/show all - Add quick select submenu (same type/level/level+type) - Replace console.log placeholders with actual API calls
This commit is contained in:
@@ -41,7 +41,11 @@ export const enUS: TranslationDictionary = {
|
||||
hideOthers: 'Hide Others',
|
||||
transparentOthers: 'Transparent Others',
|
||||
fitSectionBox: 'Fit Section Box',
|
||||
showAll: 'Show All'
|
||||
showAll: 'Show All',
|
||||
quickSelect: 'Quick Select',
|
||||
selectSameType: 'Select Same Type',
|
||||
selectSameLevel: 'Select Same Level',
|
||||
selectSameLevelType: 'Select Same Level & Type'
|
||||
},
|
||||
tree: {
|
||||
searchPlaceholder: 'Please enter content to search',
|
||||
@@ -107,15 +111,6 @@ export const enUS: TranslationDictionary = {
|
||||
slope: 'Slope:',
|
||||
}
|
||||
},
|
||||
units: {
|
||||
mm: 'mm',
|
||||
cm: 'cm',
|
||||
m: 'm',
|
||||
km: 'km',
|
||||
deg: '°',
|
||||
m2: 'm²',
|
||||
percent: '%',
|
||||
},
|
||||
settings: {
|
||||
title: 'Settings',
|
||||
unit: 'Unit:',
|
||||
@@ -173,11 +168,23 @@ export const enUS: TranslationDictionary = {
|
||||
},
|
||||
exit: 'Exit',
|
||||
path: {
|
||||
dialogTitle: 'Path Walk'
|
||||
dialogTitle: 'Path Roaming',
|
||||
duration: 'Duration',
|
||||
durationUnit: 's',
|
||||
loop: 'Loop',
|
||||
addPoint: 'Add Point',
|
||||
deleteAll: 'Delete All',
|
||||
point: 'Point',
|
||||
play: 'Play',
|
||||
stop: 'Stop',
|
||||
noPoints: 'No points yet'
|
||||
}
|
||||
},
|
||||
map: {
|
||||
dialogTitle: 'Map'
|
||||
info: {
|
||||
dialogTitle: 'Basic Info',
|
||||
meshCount: 'Mesh Count',
|
||||
totalTriangles: 'Total Triangles',
|
||||
totalVertices: 'Total Vertices',
|
||||
},
|
||||
aiChat: {
|
||||
title: 'AI Assistant',
|
||||
|
||||
Reference in New Issue
Block a user