Files
FreeCADWasmDev/docs/p6/bim-pure-function-module-batch-cf9cc581cd6322ba8b3a1b65-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": "cf9cc581cd6322ba8b3a1b65",
"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:closeHole",
"name": "closeHole",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 465,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:getCutVolume",
"name": "getCutVolume",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 495,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:mergeCells",
"name": "mergeCells",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 758,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:check",
"name": "check",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchCommands.py",
"sourceLine": 811,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "552de902502ab91c28a1c2bc3f5a5e13f6124791e6cc369ee803367a1e8da56f",
"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:closeHole",
"name": "closeHole",
"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/ArchCommands.py",
"sourceLine": 465,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getCutVolume",
"name": "getCutVolume",
"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/ArchCommands.py",
"sourceLine": 495,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:mergeCells",
"name": "mergeCells",
"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/ArchCommands.py",
"sourceLine": 758,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:check",
"name": "check",
"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/ArchCommands.py",
"sourceLine": 811,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "5ee75e5b60adcbbf39f1a00924af9554803e79f4f577649e815e64feef517713",
"replay": {
"equal": true,
"resultSha256": "5ee75e5b60adcbbf39f1a00924af9554803e79f4f577649e815e64feef517713"
},
"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:closeHole",
"name": "closeHole",
"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/ArchCommands.py",
"sourceLine": 465,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getCutVolume",
"name": "getCutVolume",
"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/ArchCommands.py",
"sourceLine": 495,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:mergeCells",
"name": "mergeCells",
"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/ArchCommands.py",
"sourceLine": 758,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:check",
"name": "check",
"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/ArchCommands.py",
"sourceLine": 811,
"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:closeHole",
"name": "closeHole",
"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/ArchCommands.py",
"sourceLine": 465,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:getCutVolume",
"name": "getCutVolume",
"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/ArchCommands.py",
"sourceLine": 495,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:mergeCells",
"name": "mergeCells",
"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/ArchCommands.py",
"sourceLine": 758,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:check",
"name": "check",
"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/ArchCommands.py",
"sourceLine": 811,
"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": "closeHole",
"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": 465,
"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": "7515e05788a2f0806f124e3531191de8f764a58d8f0097404b10b01eb7601da2"
},
"dispositionCounts": {
"exposed": 0,
"restricted": 0,
"nonportable": 0,
"not_implemented": 4
},
"records": [
{
"apiId": "py:BIM:function:closeHole",
"name": "closeHole",
"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/ArchCommands.py",
"sourceLine": 465,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "118f87af5b34df3bc25824e30b1c2dcc28aff852499f12f2ee001659f3788712"
},
{
"apiId": "py:BIM:function:getCutVolume",
"name": "getCutVolume",
"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/ArchCommands.py",
"sourceLine": 495,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "b942ec75c93a807b9bc128653d248afd391f238cdab9a8dae9d3dd3553730d32"
},
{
"apiId": "py:BIM:function:mergeCells",
"name": "mergeCells",
"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/ArchCommands.py",
"sourceLine": 758,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "de65a02452f331552e1988cabad3c48bed9cdd6700b1608e623770375d2b7055"
},
{
"apiId": "py:BIM:function:check",
"name": "check",
"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/ArchCommands.py",
"sourceLine": 811,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "2a84cda1b9ea3fa9948053fd04114551481e47f330affdf57706b0e0c6ea1768"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:closeHole",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 465,
"declaration": "def closeHole(shape):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:getCutVolume",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 495,
"declaration": "def getCutVolume(cutplane, shapes, clip=False, depth=None):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:mergeCells",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 758,
"declaration": "def mergeCells(objectslist):",
"sha256": "31bc5d1114e2502201bb6f0b8eb4aac87b05ad5dca9f404f484818823f66862b"
},
{
"apiId": "py:BIM:function:check",
"path": "src/Mod/BIM/ArchCommands.py",
"line": 811,
"declaration": "def check(objectslist, includehidden=False):",
"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."
]
}