Files
FreeCADWasmDev/docs/current/assembly-joint-batch-8d028b2604665ddf9b329d91.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.6 KiB

Assembly joint batch 8d028b2604665ddf9b329d91

Scope: Assembly_CreateJointAngle, Assembly_CreateJointBall, Assembly_CreateJointBelt, and Assembly_CreateJointCylindrical.

The existing native handler maps these commands to desktop joint indices 8, 4, 12, and 2. It resolves current-document component references through UtilsAssembly, creates JointObject.Joint, applies native properties, solves and recomputes, and commits or rolls back the transaction for preview. The existing workbench dispatcher calls prepareAssemblyCommand and applyAssemblyResponse; no shared dispatcher change was needed.

This repair validates the contents of returned joint references and finite numeric joint properties before Web selection is applied. Preview references and placements remain optional, but are validated when returned. Committed results still require both references, both placements, and the created joint selection. Removed a redundant command-specific exposed-status assignment; status continues to depend on the existing native execution result.

Remaining boundaries: native build, resource sync, and business acceptance belong to the outer pipeline and were not run. The project TypeScript check could not start because web/node_modules/.bin/tsc is absent (exit 127). No command is newly claimed as business-accepted. Interactive task cancellation remains unsupported by this route. The supplied packet has no acceptance contract or concrete failing business input, so runtime behavior still needs verification with current-document inputs, including preview rollback and invalid-reference rejection.