forked from 1b-agent/opencadstudio-upstream
fix(blocks): preserve UCS transformations
Bake BEDIT frames into block-local geometry while keeping model and viewport UCS isolated. Normalize legacy nonzero block origins during load.
This commit is contained in:
1 parent
02d15f5d23
commit
2c64888048
22 files changed
+693
-41
No files matched your search
@@ -33,6 +33,9 @@ pub enum EntityTransform {
|
||||
Scale { center: DVec3, factor: f64 },
|
||||
/// Mirror across the line through `p1`→`p2` in the world XY plane.
|
||||
Mirror { p1: DVec3, p2: DVec3 },
|
||||
/// General affine transform. Used when a complete UCS basis must be baked
|
||||
/// into block-local geometry instead of stored as drawing UCS state.
|
||||
Affine(acadrust::types::Transform),
|
||||
}
|
||||
|
||||
// ── Tangent object ─────────────────────────────────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user