forked from 1b-agent/opencadstudio-upstream
A dimension's *D block is baked in absolute WCS, so the DWG group-12 insertion point must be the origin. OCS's dimension commands seeded it with the text anchor, so a reader that positions the block by that point (BricsCAD / ODA) drew the dimension shifted by the offset, while OCS — which renders the block in place — showed it correctly. Reset base.insertion_point to the origin in bake_dimension_blocks, where the absolute-WCS block is created. Only dimensions whose block OCS bakes are touched; blocks preserved from other applications (baseline/continue dimensions with a legitimate non-zero clone insertion) are left alone. Co-Authored-By: Claude Opus 4.8 <[email protected]>