Files
FreeCADWasmDev/docs/current/techdraw-export-boundary.md
wangdequan 9a7c4f0335 Save FreeCAD Web workspace sources and user validation evidence
IFC native binding remains incomplete; preserve accurate test results.
2026-09-15 22:01:58 +08:00

28 lines
1.5 KiB
Markdown

# TechDraw current-document export boundary
Batch: `50435b8c109aa0db05152515`.
The subsequent pipeline reported facade `result_mismatch` for all three valid
export inputs. Local inspection found that the TechDraw runtime target omitted
the `Import/DxfPlate` resources used by the native DXF writer. This batch adds
the same `/share/Mod/Import/DxfPlate` embedding used by Draft and tracks those
files as link dependencies. Facade validation retains all checks and now reports
envelope, SVG, DXF-section, and byte-count failures separately.
The current source already calls
`TechDraw.viewPartAsSvg` and `TechDraw.writeDXFView` on the selected document's
view, reads the native DXF file, and returns actual content through the facade.
No replacement projection or fixed output was added.
This batch recomputes the selected document before export and retains other
documents' view entries in the mounted workbench so subsequent export selection
can resolve them. The business assertion now includes failed checks, their input,
and any facade error without dumping entire SVG/DXF results.
Build, publication, and business acceptance remain pending with the outer
pipeline. The recorded failure is not claimed resolved. Run the selected export
cases against the updated runtime; use the new per-input diagnostic if they fail.
File import, full-page SVG export, and untested drawing types remain outside the
current selected-view export coverage. Image insertion and native save/reopen
still require the selected batch's existing acceptance checks.