Repository navigation
Fix DWG attribute coordinates, DXF FIELD writing, hatch angles and writer performance - #13
Conversation
|
Review of head 5bf4c0e: 673 tests passed, 8 skipped; typecheck, build, and minified bundle creation passed locally. Both GitHub CI jobs are green. The queue traversal, hatch-angle conversion, and keep-names changes look consistent with the surrounding implementation. A DXF round trip with a translated, rotated, scaled INSERT preserved stored attribute coordinates and height. I reproduced two FIELD issues:
Could you also add attribute-loading regression tests covering both linked first/end handles and |
|
Merged into master in cbf3639 and pushed, with follow-up fixes in 60b9201. Both FIELD issues from my review are resolved:
Added regression coverage for default-constructed nested fields, both FIELDLIST orderings, existing owners, emitted handles/owner references, HANDSEED, repeat writes, and both attribute-loading paths with translated/rotated/scaled INSERTs. Updated the original FIELD test to count object records rather than matching the FIELD class name. Validation: 680 tests passed, 8 skipped; typecheck, build, bundle, changed-file ESLint, git diff --check, and a minified-bundle FIELD serialization smoke test all passed. The external DWG corpus was not rerun. Thanks for the contribution. This PR is now incorporated into master. |
DWG-to-DXF conversion can apply INSERT transforms twice to attributes, write hatch pattern lines at the wrong angle, and fail when referenced FIELD objects have no owner. Large writer queues also incur repeated array shifts, and minification renames classes used by runtime DXF type lookup.
This change:
Validation:
The full external DWG corpus described during investigation was not rerun as part of this change; the results above are from the repository test suite and local smoke test.