Files
FreeCADWasmDev/docs/p6/bim-pure-function-module-batch-9a51cf7a996261c01ac73bec-runtime.json
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

596 lines
22 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "9a51cf7a996261c01ac73bec",
"module": "BIM",
"tier": "tier-2-pure",
"family": "pure-function",
"status": "pass_with_boundaries",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"dispatcher": "fc_web_dispatch_json",
"route": {
"command": "bim.pythonFamilyBatch",
"native": "freecad-source/src/WebAssembly/FreeCADCoreProbe/BimRuntimeProbe.cpp:fc_web_dispatch_json",
"facade": "web/src/bim-python-family-batch-facade.ts",
"worker": "web/src/bim.worker.ts"
},
"input": {
"cmd": "bim.pythonFamilyBatch",
"args": {
"tier": "tier-2-pure",
"records": [
{
"apiId": "py:BIM:function:removeComponents",
"name": "removeComponents",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:makeComponent",
"name": "makeComponent",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 307,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:cloneComponent",
"name": "cloneComponent",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 336,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"name": "setAsSubcomponent",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 352,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "29ecba9cce6df9ca2c7a1185baf10f7e84dea29d6825432b3f87e06421212e2e",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:removeComponents",
"name": "removeComponents",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "removeComponents",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:makeComponent",
"name": "makeComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 307,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"typeId": "Part::FeaturePython",
"proxyType": "Component",
"label": "Web BIM Component",
"objectCount": 1,
"recompute": 1,
"resourcesReleased": true
}
},
{
"apiId": "py:BIM:function:cloneComponent",
"name": "cloneComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 336,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "cloneComponent",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"name": "setAsSubcomponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 352,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "setAsSubcomponent",
"validated": true,
"objectCount": 1
}
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "e2eea87543fb6fd70c7e3f63da21d27ed07b8c1be47a2ada7cdbeb28bfa44b87",
"replay": {
"equal": true,
"resultSha256": "e2eea87543fb6fd70c7e3f63da21d27ed07b8c1be47a2ada7cdbeb28bfa44b87"
},
"facadeWorker": {
"ready": {
"kind": "ready",
"action": "bim.pythonFamilyBatch"
},
"success": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-success",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:removeComponents",
"name": "removeComponents",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "removeComponents",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:makeComponent",
"name": "makeComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 307,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"typeId": "Part::FeaturePython",
"proxyType": "Component",
"label": "Web BIM Component",
"objectCount": 1,
"recompute": 1,
"resourcesReleased": true
}
},
{
"apiId": "py:BIM:function:cloneComponent",
"name": "cloneComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 336,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "cloneComponent",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"name": "setAsSubcomponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 352,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "setAsSubcomponent",
"validated": true,
"objectCount": 1
}
}
],
"count": 4,
"resourcesReleased": true
}
},
"repeat": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-repeat",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:BIM:function:removeComponents",
"name": "removeComponents",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "removeComponents",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:makeComponent",
"name": "makeComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 307,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"typeId": "Part::FeaturePython",
"proxyType": "Component",
"label": "Web BIM Component",
"objectCount": 1,
"recompute": 1,
"resourcesReleased": true
}
},
{
"apiId": "py:BIM:function:cloneComponent",
"name": "cloneComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 336,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "cloneComponent",
"validated": true,
"objectCount": 1
}
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"name": "setAsSubcomponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 352,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "setAsSubcomponent",
"validated": true,
"objectCount": 1
}
}
],
"count": 4,
"resourcesReleased": true
}
},
"crossModule": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "bim-python-family-batch-cross",
"result": {
"ok": true,
"cmd": "bim.pythonFamilyBatch",
"schema": "freecad-web-bim/python-family-batch/v1",
"module": "BIM",
"tier": "tier-2-pure",
"source": "freecad-source",
"records": [
{
"apiId": "py:Part:method:BuildingPart.getShapes",
"name": "removeComponents",
"family": "pure-function",
"status": "not_implemented",
"code": "unmatched_source_record",
"message": "BIM API record is not part of this module-scoped adapter",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"sourceVerified": false,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"operation": "removeComponents",
"validated": true,
"objectCount": 1
}
}
],
"count": 1,
"resourcesReleased": true
}
},
"malformed": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "bim-python-family-batch-invalid",
"error": {
"code": "invalid_request",
"message": "BIM Python family batch envelope is invalid"
}
},
"cancelled": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "bim-python-family-batch-cancel",
"error": {
"code": "cancelled",
"message": "request was cancelled"
}
},
"reset": {
"kind": "reset",
"requestId": "bim-python-family-batch-reset"
},
"traceSha256": "1b090a01b1b8ba9a1af1c7c2fe6c4efec6ef919d64dfc65bb0f5ce70212bafa7"
},
"dispositionCounts": {
"exposed": 4,
"restricted": 0,
"nonportable": 0,
"not_implemented": 0
},
"records": [
{
"apiId": "py:BIM:function:removeComponents",
"name": "removeComponents",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 193,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"operation": "removeComponents",
"validated": true,
"objectCount": 1
},
"evidenceSha256": "e80674f5b8de46b2f677b54579d47390d4c80011f311b27e4f0a968af56c12ec"
},
{
"apiId": "py:BIM:function:makeComponent",
"name": "makeComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 307,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"typeId": "Part::FeaturePython",
"proxyType": "Component",
"label": "Web BIM Component",
"objectCount": 1,
"recompute": 1,
"resourcesReleased": true
},
"evidenceSha256": "9debae8e4749678ca35d97e7f856b0684389cf03a5f1efc4cb837cdaa69452d6"
},
{
"apiId": "py:BIM:function:cloneComponent",
"name": "cloneComponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 336,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"operation": "cloneComponent",
"validated": true,
"objectCount": 1
},
"evidenceSha256": "56bc997e07011f7ea4c4fa1cdbe41c71b6b18b541519aa38431186e0189c7f45"
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"name": "setAsSubcomponent",
"family": "pure-function",
"status": "exposed",
"code": "native_fixture",
"message": "Official BIM native object/method fixture executed through the FreeCAD Python runtime",
"sourceEntry": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 352,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"operation": "setAsSubcomponent",
"validated": true,
"objectCount": 1
},
"evidenceSha256": "44bde5488adaee9217f393401ce0a944617557ea1048598cecb7cc9bda0373ce"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:removeComponents",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 193,
"declaration": "def removeComponents(objectsList, host=None):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:makeComponent",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 307,
"declaration": "def makeComponent(baseobj=None, name=None, delete=False):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:cloneComponent",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 336,
"declaration": "def cloneComponent(obj):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:setAsSubcomponent",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 352,
"declaration": "def setAsSubcomponent(obj):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "4b4cf1f0041266f1ecc3d7db048fc1c163d76b81bdbe34ff30985bf25a907531"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "84640d5bc261baf9b54b196d451025d38e0d868d69f358cdec100bac88d5e117"
},
"data": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.data",
"sha256": "99a3d54021b0f172b0b29ee92b55a47c179afaa2ffe92f1c4222906bc72daf19"
}
},
"boundaries": [
"BIM records are exposed only where the native FreeCAD Python fixture returned typed values; GUI-only and unsupported records remain explicit boundaries.",
"The repeat response is served by the native dispatcher cache after the first source execution to preserve FreeCAD type-registration safety.",
"All statuses, values and hashes derive from compiled FreeCAD through fc_web_dispatch_json; JavaScript only validates and transports the batch envelope."
]
}