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

518 lines
19 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "27edd147fe3ab37b73625005",
"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:storeColorDict",
"name": "storeColorDict",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importIFCmulticore.py",
"sourceLine": 309,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:findVert",
"name": "findVert",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 59,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:getIndices",
"name": "getIndices",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 70,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:peek",
"name": "peek",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 344,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "eb16a4fd59feea5773b737d5a731efc7e5d058d92745b0937deb9f3a75f08d11",
"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:storeColorDict",
"name": "storeColorDict",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importIFCmulticore.py",
"sourceLine": 309,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:findVert",
"name": "findVert",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 59,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getIndices",
"name": "getIndices",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 70,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:peek",
"name": "peek",
"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/importOBJ.py",
"sourceLine": 344,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"next": "f 1 2 3",
"atEnd": null,
"count": 2
}
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "4042e4b31258e2335cbc4b4808e534fa310838bc86214feef4dcd3c23021b16c",
"replay": {
"equal": true,
"resultSha256": "4042e4b31258e2335cbc4b4808e534fa310838bc86214feef4dcd3c23021b16c"
},
"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:storeColorDict",
"name": "storeColorDict",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importIFCmulticore.py",
"sourceLine": 309,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:findVert",
"name": "findVert",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 59,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getIndices",
"name": "getIndices",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 70,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:peek",
"name": "peek",
"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/importOBJ.py",
"sourceLine": 344,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"next": "f 1 2 3",
"atEnd": null,
"count": 2
}
}
],
"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:storeColorDict",
"name": "storeColorDict",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importIFCmulticore.py",
"sourceLine": 309,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:findVert",
"name": "findVert",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 59,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getIndices",
"name": "getIndices",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 70,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:peek",
"name": "peek",
"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/importOBJ.py",
"sourceLine": 344,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"next": "f 1 2 3",
"atEnd": null,
"count": 2
}
}
],
"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": "storeColorDict",
"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/importIFCmulticore.py",
"sourceLine": 309,
"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": "bcc5cfce2ff04631cf2df39763fb57cb6b13d89b2faf14f92845271e94928d69"
},
"dispositionCounts": {
"exposed": 1,
"restricted": 0,
"nonportable": 0,
"not_implemented": 3
},
"records": [
{
"apiId": "py:BIM:function:storeColorDict",
"name": "storeColorDict",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM Python API has no method-level readonly native evidence",
"sourceEntry": "src/Mod/BIM/importers/importIFCmulticore.py",
"sourceLine": 309,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "642a2418afa9d4963a52d43c5e109332c89fd168fbcd963a3252e19c4efa7f38"
},
{
"apiId": "py:BIM:function:findVert",
"name": "findVert",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 59,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "45a6972b5ff7c3579d723ae27d5854a155de821c99e1f4c85a192420598804c8"
},
{
"apiId": "py:BIM:function:getIndices",
"name": "getIndices",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: 'Base.Vector' object has no attribute 'X'",
"sourceEntry": "src/Mod/BIM/importers/importOBJ.py",
"sourceLine": 70,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "fbda9b677558643d8a17fbebd36220fa496ed20efc18573744db4c68edf07ae5"
},
{
"apiId": "py:BIM:function:peek",
"name": "peek",
"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/importOBJ.py",
"sourceLine": 344,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"next": "f 1 2 3",
"atEnd": null,
"count": 2
},
"evidenceSha256": "15c2fbf0d384bfa843e4316ddfd95506a642d20c5e6b9af124dea7fd54256b4e"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:storeColorDict",
"path": "src/Mod/BIM/importers/importIFCmulticore.py",
"line": 309,
"declaration": "def storeColorDict():",
"sha256": "9397a840bb480c0e3efe6fbdf6880a4102689de443ed773ebecfd81d3f8499df"
},
{
"apiId": "py:BIM:function:findVert",
"path": "src/Mod/BIM/importers/importOBJ.py",
"line": 59,
"declaration": "def findVert(aVertex, aList):",
"sha256": "a6b4c4088165518104c5fa674af9b400285900169362cc4981c93f289ea81003"
},
{
"apiId": "py:BIM:function:getIndices",
"path": "src/Mod/BIM/importers/importOBJ.py",
"line": 70,
"declaration": "def getIndices(obj, shape, offsetv, offsetvn):",
"sha256": "a6b4c4088165518104c5fa674af9b400285900169362cc4981c93f289ea81003"
},
{
"apiId": "py:BIM:function:peek",
"path": "src/Mod/BIM/importers/importOBJ.py",
"line": 344,
"declaration": "def peek(index, array):",
"sha256": "a6b4c4088165518104c5fa674af9b400285900169362cc4981c93f289ea81003"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "276eb402f4d354ff4ebfa5f21c70ed7a04bf34cf8d4aac16446f3306b1e7d050"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "7822a4b92588fcc618e56cf8e86351710bfa51dcc286dc9848cf8d483e756469"
},
"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."
]
}