Graphic-Cache SubMenu
In the WPF application the submenu locates on the Preference Menu Dropdown. The web application moved it onto the Player toolbar's Workpiece ▾ dropdown, since it acts on the workpiece meshed geometry's rendering cache.
The model UserService is from its parent component.
Layout
- Graphic-Cache SubMenu
Graphic-Cache Lower Limit Input Text FieldGraphic-Cache Upper Limit Input Text FieldGraphic-Cache Input Text FieldGraphic-Cache Slider
Behavior
Graphic-Cache Input Text Field and Graphic-Cache Slider bind the GraphicCacheMb. The limit text fields also bind to the properties of UserConfig.
Source Code Path
See this page for git repository.
WPF Application Source Code Path
- MainWindow (be included in preference menu)
Web Page Application Source Code Path
HiNC-2025-webservice (Quasar CLI SPA):
wwwroot-src/src/components/preference/GraphicCacheMenu.vue— nested<q-menu>underWorkpiece → Graphic Cachewith Lower / Upper (NumericInput) + Current (NumericInput) +<q-slider>. Commits on blur / change.wwwroot-src/src/components/widgets/NumericInput.vue— sharedInfinity-friendly numeric field reused for the three limit inputs.wwwroot-src/src/components/player/PlayerExtendedToolBar.vue— hosts the Graphic Cache entry inside the Player toolbar'sWorkpiece ▾dropdown (next to Diff Visual Radius). The menu bar (wwwroot-src/src/components/AppMenuBar.vue) no longer carries it.wwwroot-src/src/api/preference.ts— typed wrapper overGET/POST /api/preference/graphic-cache.Environments/PreferenceController.cs— REST endpoints:GET /api/preference/graphic-cachereturns{ graphicCacheMb, lowerLimitMb, upperLimitMb };POSTwrites throughUserService.SaveUserConfig()→UserConfig.GraphicCacheMb→CubeTree.DispCacheMb.