{ "schema": "freecad-web-bim-python-family-module-batch-runtime/v1", "taskId": "FW-P6-FPA-Y", "batchId": "b32ab5f7c3cf93361462d12f", "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:hex2rgb", "name": "hex2rgb", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py", "sourceLine": 3425, "disposition": "not_implemented" }, { "apiId": "py:BIM:function:set_shininess", "name": "set_shininess", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py", "sourceLine": 3464, "disposition": "not_implemented" }, { "apiId": "py:BIM:function:percent_sh2fc", "name": "percent_sh2fc", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py", "sourceLine": 3474, "disposition": "not_implemented" }, { "apiId": "py:BIM:function:cross_product", "name": "cross_product", "family": "pure-function", "kind": "function", "sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py", "sourceLine": 3479, "disposition": "not_implemented" } ] } }, "inputSha256": "f4e7a87fd1a60f04fb38935b1dbe5603404647f30221735c76413f0ff7ce0f2e", "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:hex2rgb", "name": "hex2rgb", "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": 3425, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": [ 17, 34, 51 ], "input": "112233" } }, { "apiId": "py:BIM:function:set_shininess", "name": "set_shininess", "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": 3464, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": null, "guiUp": false, "applied": false } }, { "apiId": "py:BIM:function:percent_sh2fc", "name": "percent_sh2fc", "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": 3474, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 37, "input": 0.375 } }, { "apiId": "py:BIM:function:cross_product", "name": "cross_product", "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": 3479, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 1, "input": [ [ 0, 0 ], [ 1, 0 ], [ 0, 1 ] ] } } ], "count": 4, "resourcesReleased": true }, "resultSha256": "ff583b4d547a5a09c8927751232541e3c23ab86a924f01fd103ef3e173c4512b", "replay": { "equal": true, "resultSha256": "ff583b4d547a5a09c8927751232541e3c23ab86a924f01fd103ef3e173c4512b" }, "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:hex2rgb", "name": "hex2rgb", "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": 3425, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": [ 17, 34, 51 ], "input": "112233" } }, { "apiId": "py:BIM:function:set_shininess", "name": "set_shininess", "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": 3464, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": null, "guiUp": false, "applied": false } }, { "apiId": "py:BIM:function:percent_sh2fc", "name": "percent_sh2fc", "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": 3474, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 37, "input": 0.375 } }, { "apiId": "py:BIM:function:cross_product", "name": "cross_product", "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": 3479, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 1, "input": [ [ 0, 0 ], [ 1, 0 ], [ 0, 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:hex2rgb", "name": "hex2rgb", "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": 3425, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": [ 17, 34, 51 ], "input": "112233" } }, { "apiId": "py:BIM:function:set_shininess", "name": "set_shininess", "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": 3464, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": null, "guiUp": false, "applied": false } }, { "apiId": "py:BIM:function:percent_sh2fc", "name": "percent_sh2fc", "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": 3474, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 37, "input": 0.375 } }, { "apiId": "py:BIM:function:cross_product", "name": "cross_product", "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": 3479, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "parameterSchema": "official FreeCAD source fixture inputs", "returnSchema": "typed native result object", "replay": "native-source-method", "result": { "value": 1, "input": [ [ 0, 0 ], [ 1, 0 ], [ 0, 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": "hex2rgb", "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": 3425, "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": "962298f34038ca982bcdfe49d053a52d17d635d1d53b39d10a35c7df0b195b8d" }, "dispositionCounts": { "exposed": 4, "restricted": 0, "nonportable": 0, "not_implemented": 0 }, "records": [ { "apiId": "py:BIM:function:hex2rgb", "name": "hex2rgb", "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": 3425, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "result": { "value": [ 17, 34, 51 ], "input": "112233" }, "evidenceSha256": "c087cdf3fbd7d7be5e105d3ca285fb2a1b3fdc0a3da2c8236b23711e81ab860f" }, { "apiId": "py:BIM:function:set_shininess", "name": "set_shininess", "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": 3464, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "result": { "value": null, "guiUp": false, "applied": false }, "evidenceSha256": "73d41efa777a64992ad07c71ba84a972faa969e8baecbf114033481074959f15" }, { "apiId": "py:BIM:function:percent_sh2fc", "name": "percent_sh2fc", "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": 3474, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "result": { "value": 37, "input": 0.375 }, "evidenceSha256": "d4dd93c92e6b145415e1c382b9c0803909d4e863df76501c266b50a1574b49f3" }, { "apiId": "py:BIM:function:cross_product", "name": "cross_product", "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": 3479, "sourceVerified": true, "sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47", "result": { "value": 1, "input": [ [ 0, 0 ], [ 1, 0 ], [ 0, 1 ] ] }, "evidenceSha256": "9b72199dcf6dd9665cee05d7bb7d6932bbb081797b88eda38d4bdf83728e3531" } ], "sourceEvidence": [ { "apiId": "py:BIM:function:hex2rgb", "path": "src/Mod/BIM/importers/importSH3DHelper.py", "line": 3425, "declaration": "def hex2rgb(hexcode):", "sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97" }, { "apiId": "py:BIM:function:set_shininess", "path": "src/Mod/BIM/importers/importSH3DHelper.py", "line": 3464, "declaration": "def set_shininess(obj, shininess):", "sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97" }, { "apiId": "py:BIM:function:percent_sh2fc", "path": "src/Mod/BIM/importers/importSH3DHelper.py", "line": 3474, "declaration": "def percent_sh2fc(percent):", "sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97" }, { "apiId": "py:BIM:function:cross_product", "path": "src/Mod/BIM/importers/importSH3DHelper.py", "line": 3479, "declaration": "def cross_product(o, a, b):", "sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97" } ], "resources": { "resourcesReleased": true, "documentMutation": false }, "artifacts": { "wasm": { "path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm", "sha256": "52ad98f7070ff53e99079c9230c6e617c2149d0c2aa16a9737fd29f96757549e" }, "loader": { "path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js", "sha256": "4e2bd50d49b8c8697c0ad431cb1a99b300a1fc44c8ce73e4a26091e4b89add6a" }, "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." ] }