Roadmap 0.11, Fixes

FX.375 Binary DXF from another program: real ezdxf files in the tests, sheet sets write a binary member back as binary (cadcraft#10)

  • Fix
  • Built · in the lab
  • CadCraft

withshalom's PR adds binary DXF read and save. Our source already had it (ORS.18: dxf-binary.js, dxf-open.js, Save as DXF 2000 binary), written from the published reference but only ever tested on files made here. Not ported: the PR's module duplicates ours and was written against the old public tree. Taken from it: its six fixtures (R12 with 1-byte codes, R2000 and R2018 with 2-byte codes, each saved by ezdxf as binary and ASCII; ezdxf is MIT, run as a black box), now in testfiles/dxf-binary-ezdxf and checked by bin/test-dxf-binary-real.mjs (24 checks): our reader gives every group of the ASCII twin, readDxf and readDxfModel equal, our writer gives ezdxf's exact bytes for R2018 and the same file but for non-ASCII letters (we write \U+XXXX, ezdxf the code page byte) for R12 and R2000. And the PR's one gap that was real: a sheet set rewrote a binary DXF member as text; sheetset-io.js now writes it back as binary. Found: ezdxf's own R2000 ASCII twin holds a wrong letter (a bug in that file, not in our reader). Log: docs/0.10.1.md 101.23.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.