Files
FreeCADWasmDev/docs/current/web-commandmacro-direct-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

29 lines
1.5 KiB
Markdown

# Macro batch implementation boundaries
Batch: ba4cad68ea8ed95624783d80
The existing native macro helper now dispatches Std_DlgMacroExecuteDirect.
The mounted Web macro editor supplies its filename and current source through
the existing desktop adapter to the PartBox Python runtime. Direct execution
compiles the editor text without saving or reading the disk copy. File and
editor execution select the requested native document before running Python.
Successful execution requests the existing scene inspector and publishes its
document view; refresh errors remain attached to the macro result.
Remaining work:
- Std_DlgMacroRecord needs the native macro manager and command emission stream
connected to start/stop recording and commit the recorded source.
- Std_MacroAttachDebugger needs the supplied RemoteDebugger implementation and
its debugger transport connected to the runtime. No success substitute exists.
- Macro listing/read results still need file selection and editor hydration;
source currently comes from the mounted editor inputs.
- Scene refresh after Python exceptions and clearing a scene when execution
closes all documents remain unresolved.
- Files in the runtime macro directory still need durable browser storage.
No build, sync, tests, browser validation, benchmarks, or business acceptance
were run. The outer pipeline owns build and route receipts. This batch remains
incomplete; source-window limits prevent further desktop manager inspection
in this turn.