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

498 lines
18 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "3e377a94aa96ad22ba102077",
"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:create_material",
"name": "create_material",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/nativeifc/ifc_materials.py",
"sourceLine": 35,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:show_material",
"name": "show_material",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/nativeifc/ifc_materials.py",
"sourceLine": 68,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:get_material",
"name": "get_material",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/nativeifc/ifc_materials.py",
"sourceLine": 93,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:set_material",
"name": "set_material",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/nativeifc/ifc_materials.py",
"sourceLine": 116,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "8ab372f2347b390de107d3fead010d77d4ecaafd5398ecc91e7bc0ce563fec1d",
"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:create_material",
"name": "create_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 35,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show_material",
"name": "show_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 68,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_material",
"name": "get_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 93,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:set_material",
"name": "set_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 116,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "01e6e7f88464adbb2d26a179411b76d766d29bd569e3c45466e477297ff46754",
"replay": {
"equal": true,
"resultSha256": "01e6e7f88464adbb2d26a179411b76d766d29bd569e3c45466e477297ff46754"
},
"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:create_material",
"name": "create_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 35,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show_material",
"name": "show_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 68,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_material",
"name": "get_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 93,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:set_material",
"name": "set_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 116,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"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:create_material",
"name": "create_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 35,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:show_material",
"name": "show_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 68,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:get_material",
"name": "get_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 93,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:set_material",
"name": "set_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 116,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"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": "create_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 35,
"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": "884ee9d74a6f23cdeb36334eca131b4f3b72b1ae5839a358bebc69d853fedae9"
},
"dispositionCounts": {
"exposed": 0,
"restricted": 0,
"nonportable": 0,
"not_implemented": 4
},
"records": [
{
"apiId": "py:BIM:function:create_material",
"name": "create_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 35,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "808df6c9855df997ad71b99c16f2c6ebd28dfbf7a86bdb39a665b94409fc2768"
},
{
"apiId": "py:BIM:function:show_material",
"name": "show_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 68,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "6663f7bdd98067c0852559de32d69644d364e77e30b4f12366cde5125eab6f1d"
},
{
"apiId": "py:BIM:function:get_material",
"name": "get_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 93,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "f185255415d811a9fe935eefb2ed68aa59cda73dcedfa56a7de145c5ae4b786e"
},
{
"apiId": "py:BIM:function:set_material",
"name": "set_material",
"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/nativeifc/ifc_materials.py",
"sourceLine": 116,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "66f274ab554ec194a19c853f7b9adead9d2e94dda33b0c221ac4a913eaaebba6"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:create_material",
"path": "src/Mod/BIM/nativeifc/ifc_materials.py",
"line": 35,
"declaration": "def create_material(element, parent, recursive=False):",
"sha256": "96b91df2e370ead5429e6d389cf384f03902a01a1594e947bdfe7c35135363c7"
},
{
"apiId": "py:BIM:function:show_material",
"path": "src/Mod/BIM/nativeifc/ifc_materials.py",
"line": 68,
"declaration": "def show_material(obj):",
"sha256": "96b91df2e370ead5429e6d389cf384f03902a01a1594e947bdfe7c35135363c7"
},
{
"apiId": "py:BIM:function:get_material",
"path": "src/Mod/BIM/nativeifc/ifc_materials.py",
"line": 93,
"declaration": "def get_material(obj):",
"sha256": "96b91df2e370ead5429e6d389cf384f03902a01a1594e947bdfe7c35135363c7"
},
{
"apiId": "py:BIM:function:set_material",
"path": "src/Mod/BIM/nativeifc/ifc_materials.py",
"line": 116,
"declaration": "def set_material(material, obj):",
"sha256": "96b91df2e370ead5429e6d389cf384f03902a01a1594e947bdfe7c35135363c7"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "971428d5ff39b1fdb75f9802a901be6d3fd408b48ea0f62c0f6773f9a95bd3db"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "5953007a1181874437155e3f25a61cc66b1cac5e501b98dc7378b205596ae3fb"
},
"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."
]
}