1.5 KiB
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.