Files
FreeCADWasmDev/docs/p6/bim-pure-function-module-batch-bc0daea34faa78aa0a279400-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

570 lines
21 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "bc0daea34faa78aa0a279400",
"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:norm_deg_ang",
"name": "norm_deg_ang",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3375,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"name": "norm_rad_ang",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3387,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"name": "set_color_and_transparency",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3399,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:color_fc2sh",
"name": "color_fc2sh",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3419,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "aa58c614874f734765c823f7a1760fd2b9b05e62548d2846f62cd6051c315488",
"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:norm_deg_ang",
"name": "norm_deg_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3375,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 288,
"input": -1.25,
"unit": "deg"
}
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"name": "norm_rad_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3387,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 5.033185307179586,
"input": -1.25,
"unit": "rad"
}
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"name": "set_color_and_transparency",
"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/importers/importSH3DHelper.py",
"sourceLine": 3399,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": null,
"guiUp": false
}
},
{
"apiId": "py:BIM:function:color_fc2sh",
"name": "color_fc2sh",
"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/importers/importSH3DHelper.py",
"sourceLine": 3419,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": "44112233",
"input": "0x11223344"
}
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "ef2656de78bfc16c8fdecd61416a060b4540fb94d6ea7c87d973cd64bf8352f0",
"replay": {
"equal": true,
"resultSha256": "ef2656de78bfc16c8fdecd61416a060b4540fb94d6ea7c87d973cd64bf8352f0"
},
"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:norm_deg_ang",
"name": "norm_deg_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3375,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 288,
"input": -1.25,
"unit": "deg"
}
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"name": "norm_rad_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3387,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 5.033185307179586,
"input": -1.25,
"unit": "rad"
}
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"name": "set_color_and_transparency",
"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/importers/importSH3DHelper.py",
"sourceLine": 3399,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": null,
"guiUp": false
}
},
{
"apiId": "py:BIM:function:color_fc2sh",
"name": "color_fc2sh",
"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/importers/importSH3DHelper.py",
"sourceLine": 3419,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": "44112233",
"input": "0x11223344"
}
}
],
"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:norm_deg_ang",
"name": "norm_deg_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3375,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 288,
"input": -1.25,
"unit": "deg"
}
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"name": "norm_rad_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3387,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 5.033185307179586,
"input": -1.25,
"unit": "rad"
}
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"name": "set_color_and_transparency",
"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/importers/importSH3DHelper.py",
"sourceLine": 3399,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": null,
"guiUp": false
}
},
{
"apiId": "py:BIM:function:color_fc2sh",
"name": "color_fc2sh",
"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/importers/importSH3DHelper.py",
"sourceLine": 3419,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": "44112233",
"input": "0x11223344"
}
}
],
"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": "norm_deg_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3375,
"sourceVerified": false,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared"
}
],
"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": "38507f9edf36d9f1d60a2b814c852515a01e9ad7fc0d4b9bbca6499df0c30025"
},
"dispositionCounts": {
"exposed": 4,
"restricted": 0,
"nonportable": 0,
"not_implemented": 0
},
"records": [
{
"apiId": "py:BIM:function:norm_deg_ang",
"name": "norm_deg_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3375,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": 288,
"input": -1.25,
"unit": "deg"
},
"evidenceSha256": "12dac8ce3d05ed32a32cec834eeec8c355268d8ae882bdf90964d1b36a0ac51b"
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"name": "norm_rad_ang",
"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/importers/importSH3DHelper.py",
"sourceLine": 3387,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": 5.033185307179586,
"input": -1.25,
"unit": "rad"
},
"evidenceSha256": "8eb50078637c2559efaf473951cc1f8c324ff0aa21d45a644b66015803c0a057"
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"name": "set_color_and_transparency",
"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/importers/importSH3DHelper.py",
"sourceLine": 3399,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": null,
"guiUp": false
},
"evidenceSha256": "a776814d71c11dbb61dc808891d69d42b4169d865ec8b8988135f9a42ffec6dc"
},
{
"apiId": "py:BIM:function:color_fc2sh",
"name": "color_fc2sh",
"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/importers/importSH3DHelper.py",
"sourceLine": 3419,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": "44112233",
"input": "0x11223344"
},
"evidenceSha256": "da1ec546a45f668da8345c5642a4ba71e20fe588ccec97afa723fd114cc0781c"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:norm_deg_ang",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3375,
"declaration": "def norm_deg_ang(angle: float):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:norm_rad_ang",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3387,
"declaration": "def norm_rad_ang(angle: float):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:set_color_and_transparency",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3399,
"declaration": "def set_color_and_transparency(obj, color):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:color_fc2sh",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3419,
"declaration": "def color_fc2sh(hexcode):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "a1797afe411847239458c458aa5e7ce6f4444d77044732c49f73fba2b11500ff"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "4b11cceb8aea350c9aea9481deb425675cddcb0cef784b93dd5a9eba4981d369"
},
"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."
]
}