Files
FreeCADWasmDev/docs/current/bim-a98e440692d6d4b8861930cd-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

2.6 KiB

BIM batch a98e440692d6d4b8861930cd

Batch remains incomplete. No builds, tests, browser validation, benchmarks, or acceptance were run.

Changed boundary

In BimRuntimeProbe.cpp, the selected Leader, Library, LinkMake and MoveView branch no longer calls FreeCADGui.runCommand and unconditionally reports executed=true. It reports native_command_failed through the existing exception/result path until a document workflow is connected. This is an error-reporting correction, not implementation of these commands. No implementation registrations were added.

Required continuation

  • All eight selected commands retain their implementation requirements: BIM_Leader, BIM_Library, BIM_LinkMake, BIM_MoveView, BIM_Offset2D, BIM_Preflight, BIM_Project and BIM_ProjectManager.
  • BimRuntimeProbe.cpp:3532 intercepts the first four commands before the document route. Real implementations must remove that interception and use document loading, mutation and FCStd serialization.
  • BimRuntimeProbe.cpp:3559 begins the document execution script. Its registered-script invocation, document input contract and serialization must be read before attaching new implementations. The window at 4275 contains result formatting, not that invocation.
  • BIMDesktopCommandRegistry.h:17 lists executable entries; none of the eight selected commands are present. Its included BIMDesktopCommands.h and BIMManagementCommands.h are necessary ownership anchors for a subsequent packet. New business logic must stay outside the oversized runtime.
  • BimMoveView.py:33-65 supplies the actual transfer behavior: enumerate TechDraw pages, resolve the selected destination, remove each selected view from containing pages, save X/Y, add to the destination page, recompute, then restore X/Y. Web input should identify a destination object unambiguously and supply selected views; execute with transaction rollback on failure and return the updated document.
  • Desktop source anchors still needed for the other seven commands are the sourceAnchors in this batch packet. Resource/fixture branches do not establish their implementation.
  • The existing shell passes prepared BIM arguments and selection to DesktopCommandDispatcher. The adapter already defaults the first four commands to action=read. Real read/apply contracts and mounted controls remain necessary; no shared dispatcher defect was demonstrated.

The four permitted supplemental source windows were used for runtime dispatch at 3490, the registry at 1, MoveView desktop semantics at 33, and runtime result formatting at 4275. No inference of absent desktop source is made from this read limit. Outer pipeline owns incremental build/sync/route receipts.