forked from 1b-agent/opencadstudio-upstream
feat(scale): drive scales from the drawing's scale list
Read the model-space annotation scale from the standard CANNOSCALE / CANNOSCALEVALUE header variables instead of a user-variable hack, and populate both the status-bar scale picker and the viewport Scale property purely from the drawing's ACAD_SCALELIST — no built-in fallback set. Xref-derived scales (`_XREF` suffix, `name|` prefix) are filtered out so only the host drawing's own scales appear. Bumps the patched acadrust to the commit that adds CANNOSCALE/ CANNOSCALEVALUE read/write. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
b5ce376d5c
commit
edc8cbc969
8 files changed
+128
-30
No files matched your search
+3
-2
@@ -34,6 +34,7 @@ windows-sys = { version = "0.61", features = ["Win32_UI_Shell", "Win32_UI_Window
|
||||
|
||||
[patch.crates-io]
|
||||
# Tracks HakanSeven12/acadrust main, which carries the hatch
|
||||
# boundary-handle cap, raster-image/wipeout clip-vertex fix, and 3DFACE
|
||||
# Z-decode fix on top of upstream. Revert to upstream once those PRs land.
|
||||
# boundary-handle cap, raster-image/wipeout clip-vertex fix, 3DFACE
|
||||
# Z-decode fix, and CANNOSCALE/CANNOSCALEVALUE header support on top of
|
||||
# upstream. Revert to upstream once those PRs land.
|
||||
acadrust = { git = "https://github.com/HakanSeven12/acadrust", branch = "main" }
|
||||
Reference in new issue
Block a user