Files
FreeCADWasmDev/docs/current/techdraw-decorateline-dispatch-repair.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

1.2 KiB

TechDraw DecorateLine dispatch repair

Batch: 069a51008736a7120c4b6a57

The mounted workbench already dispatches through prepareTechDrawCommand. That adapter normalizes decorated references to projected Edge names. The generic native preflight incorrectly looked those names up as document objects and could report document/selection validation as a successful decoration.

DecorateLine now has explicit action validation and cancellation in the adapter and native handler. Cancellation needs no surviving selection or document and does not open a transaction. Native calls enforce active-task exclusion for acceptance. Unimplemented formatting returns implementation_required instead of invalid document-object selection or validation-only success.

Remaining boundaries: DecorateLine still needs native geometric/cosmetic format persistence, task parameter editing and rendered view refresh. ExportPageSVG and PrintAll still require complete native page scene composition and browser delivery. The existing View, ProjectionGroup, SectionGroup, SectionView and ProjectShape implementations and their outstanding boundaries are unchanged. No command is declared business-accepted by this repair.

Build, sync and acceptance are deferred to the outer pipeline as requested.