[C1][C2] DXF-/DWG-Export über acadrust: export.rs (flache Zeichnung → CadDocument → DXF R2018 ASCII / DWG R2018), TS sammelt nur noch aus dem Plan, dxfWriter.ts gelöscht; Dialog mit Formatwahl, CLI dwg; Rundreise-Tests (acadrust, libredwg, ezdxf)

This commit is contained in:
Claude committed 2026-10-28 10:06:31 +00:00
1 parent 1d6c2e7b8b
commit d7ba11b7f0
21 files changed
+1177 -417

No files matched your search

+8
View File
@@ -55,6 +55,14 @@ describe("dossier-cli", () => {
}
});
it("DWG über das Format-WASM (acadrust, R2018)", async () => {
const out = join(dir, "eg.dwg");
expect(await call("dwg", "--level", "eg", "--out", out)).toBe(0);
const bytes = readFileSync(out);
expect(bytes.subarray(0, 6).toString("latin1")).toBe("AC1032");
expect(bytes.length).toBeGreaterThan(10_000);
}, 60_000);
it("Schnitt und STEP über das WASM", async () => {
const section = sampleProject.drawingLevels.find((l) => l.kind === "section");
if (section) {