Files
FreeCADWasmDev/docs/current/draft-mixed-58c2bc3cb5a8907db7967136-boundaries.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.9 KiB

Draft batch 58c2bc3cb5a8907db7967136

Partial implementation; no business acceptance claimed.

Added native transaction branches and success-gated dispatch for Draft_Text, Draft_ShapeString and Draft_Upgrade. They call Draft.make_text, Draft.make_shapestring and Draft.upgrade respectively, recompute real document objects, and return selected native object names through the existing owner. The Draft desktop adapter now routes these commands and checks basic input. Existing workbench command execution and its editable JSON payload provide the application entry. No shared dispatcher changes were made.

Inputs: Text accepts text as a string or string array and point as XYZ; ShapeString accepts text, fontFile (a path inside the runtime), size, tracking and point; Upgrade accepts document selection and delete.

Remaining boundaries:

  • Draft_Stretch, Draft_SubelementHighlight, Draft_ToggleGrid, Draft_Trimex and Draft_WireToBSpline still need source inspection and native/application wiring. No implementation registrations were added for these commands.
  • The scheduler rejected source reads after the supplied ShapeString anchor with SCHEDULER_SOURCE_BUDGET_REACHED. The other seven requested command source reads did not execute. API signatures and response/selection consumption for the three new branches still require inspection when reads are available.
  • ShapeString needs a user font staged in the runtime filesystem. This change does not add font upload or a dedicated text task panel.
  • Dedicated interactive tasks for these commands remain outstanding; the existing JSON command payload is the currently connected input surface.

No tests, business acceptance, browser validation, benchmarks, builds, sync, route receipts or historical reconciliation were run. The outer pipeline owns incremental build/sync/route receipts; those do not establish business acceptance.