[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:
21 files changed
+1177
-417
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user