[C2] DXF-Export: Verlauf als Gradient-HATCH, Binär-DXF als Format
Verlauf-Schraffuren (linear/radial) gehen als echte Gradient-HATCH (neuer Datensatz REC_GRADIENT) statt nur als Umriss. Neues Ausgabeformat "DXF binär" (acadrust new_binary) im Dialog und als CLI-Option `dxf --binary`. Rundreise acadrust (DXF, binär, DWG) und ezdxf (Auditor, Name, Winkel, Farben). Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
11 files changed
+324
-30
No files matched your search
@@ -13,7 +13,7 @@ import type { CadExportFormat } from "../export/exportDxf";
|
||||
|
||||
/** Entscheidung, die der Dialog beim Bestätigen liefert. */
|
||||
export interface ExportDxfDecision {
|
||||
/** Dateiformat: DXF (R2018 ASCII) oder DWG (R2018). */
|
||||
/** Dateiformat: DXF (R2018 ASCII), Binär-DXF (R2018) oder DWG (R2018). */
|
||||
format: CadExportFormat;
|
||||
includeHatches: boolean;
|
||||
/** „nur Auswahl" statt des ganzen Plans (nur relevant, wenn `selectionCount > 0`). */
|
||||
@@ -78,10 +78,11 @@ export function ExportDxfDialog({
|
||||
<div className="imp-section-title">{t("exportDxf.format")}</div>
|
||||
<Dropdown
|
||||
value={format}
|
||||
onChange={(v) => setFormat(v === "dwg" ? "dwg" : "dxf")}
|
||||
onChange={(v) => setFormat(v === "dwg" ? "dwg" : v === "dxfbin" ? "dxfbin" : "dxf")}
|
||||
title={t("exportDxf.format")}
|
||||
options={[
|
||||
{ value: "dxf", label: t("exportDxf.format.dxf") },
|
||||
{ value: "dxfbin", label: t("exportDxf.format.dxfbin") },
|
||||
{ value: "dwg", label: t("exportDxf.format.dwg") },
|
||||
]}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user