feat(blocks): persist independent Move and Scale reference grips

Selected drawing references now expose action parameter grips outside Test
Block. Point input evaluates immutable definition geometry into an independent
anonymous representation and stores per-INSERT values in native AppDataCache
XRecords, preserving definition graphs and sibling references.

Reuse visibility representation isolation, including shared COPY blocks, and
retain cache metadata. Record geometry, INSERT links, new block records and
parameter values in one undo step. Support transformed uniform references and
Point, Linear, Polar and XY endpoints for the existing Move/Scale actions.

Validate synthetic DWG/DXF persistence, re-edit/resave, COPY isolation,
XY/Polar cache layouts, metadata, cancellation, transformed grips and undo/redo.
327 block regressions pass (6 existing opt-in checks ignored).
This commit is contained in:
Karim Jerbi committed 2026-10-17 08:48:26 +01:00
1 parent ddf348af22
commit f67f2cf4f5
8 files changed
+804 -26

No files matched your search

+1
View File
@@ -1530,6 +1530,7 @@ pub enum CmdResult {
location: DVec3,
},
EvaluateBlockParameter {
insert: Option<Handle>,
document: u64,
definition: Handle,
parameter: Handle,