forked from 1b-agent/opencadstudio-upstream
feat(viewport): interactive VPORTS model tiled presets
Model space'de VPORTS artık iki aşamalı: bare VPORTS bir yapılandırma istiyor (SIngle/2H/2V/4), sonraki komut-satırı girdisi düzeni kuruyor (boş giriş = SINGLE). set_model_tile_layout normalized rect listesiyle tiled düzeni değiştiriyor: - SINGLE: tek tam-ekran - 2H: üst/alt - 2V: sol/sağ - 4: 2x2 awaiting_vports app flag'i prompt sonrası girdiyi yakalıyor. Paper-space VPORTS davranışı değişmedi. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
1 parent
41c75dbb9b
commit
6fe25e4b5f
4 files changed
+79
-13
No files matched your search
@@ -70,6 +70,9 @@ pub(super) struct OpenCADStudio {
|
||||
show_grid: bool,
|
||||
/// Dynamic input overlay (F12): show coordinate tooltip near cursor.
|
||||
dyn_input: bool,
|
||||
/// `true` after a bare `VPORTS` in model space — the next command-line
|
||||
/// entry is treated as the tiled-config option (SIngle/2H/2V/4).
|
||||
awaiting_vports: bool,
|
||||
/// Show the UCS icon in the bottom-left corner of model space (UCSICON).
|
||||
show_ucs_icon: bool,
|
||||
/// Whether the ViewCube 3D gizmo is visible in model space (NAVVCUBE).
|
||||
@@ -743,6 +746,7 @@ impl OpenCADStudio {
|
||||
polar_increment_deg: 45.0,
|
||||
show_grid: false,
|
||||
dyn_input: true,
|
||||
awaiting_vports: false,
|
||||
show_ucs_icon: true,
|
||||
show_viewcube: true,
|
||||
show_properties: true,
|
||||
|
||||
Reference in new issue
Block a user