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

558 lines
20 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "e919c4980799b25b5aadcc2f",
"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:dim_sh2fc",
"name": "dim_sh2fc",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3323,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"name": "dim_fc2sh",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3335,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"name": "coord_sh2fc",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3347,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"name": "ang_sh2fc",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3359,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "5b3715d5523396e8ec1a4250098310efd7d34735ad6a57c558993fa6f76d1333",
"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:dim_sh2fc",
"name": "dim_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": 3323,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 25,
"input": 2.5,
"unit": "mm"
}
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"name": "dim_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": 3335,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 2.5,
"input": 25,
"unit": "cm"
}
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"name": "coord_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": 3347,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"x": 12.5,
"y": 20,
"z": 35
}
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"name": "ang_sh2fc",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: name 'TWO_PI' is not defined",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3359,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "c927cdb53703f5b84ccfc646a10698c1da1b19c9363b526299148a70ae9b0a02",
"replay": {
"equal": true,
"resultSha256": "c927cdb53703f5b84ccfc646a10698c1da1b19c9363b526299148a70ae9b0a02"
},
"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:dim_sh2fc",
"name": "dim_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": 3323,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 25,
"input": 2.5,
"unit": "mm"
}
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"name": "dim_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": 3335,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 2.5,
"input": 25,
"unit": "cm"
}
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"name": "coord_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": 3347,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"x": 12.5,
"y": 20,
"z": 35
}
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"name": "ang_sh2fc",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: name 'TWO_PI' is not defined",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3359,
"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:dim_sh2fc",
"name": "dim_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": 3323,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 25,
"input": 2.5,
"unit": "mm"
}
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"name": "dim_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": 3335,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"value": 2.5,
"input": 25,
"unit": "cm"
}
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"name": "coord_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": 3347,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"x": 12.5,
"y": 20,
"z": 35
}
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"name": "ang_sh2fc",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: name 'TWO_PI' is not defined",
"native": true,
"resourcesReleased": true,
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3359,
"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": "dim_sh2fc",
"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": 3323,
"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": "354b2041c88dec7e906a0ac389418319d89fb5c4682e5c63bf4fa5d65a8ad267"
},
"dispositionCounts": {
"exposed": 3,
"restricted": 0,
"nonportable": 0,
"not_implemented": 1
},
"records": [
{
"apiId": "py:BIM:function:dim_sh2fc",
"name": "dim_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": 3323,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": 25,
"input": 2.5,
"unit": "mm"
},
"evidenceSha256": "1f81449a5b8d454216fd0c3087870caccc1b460298e03a2cfec79bc4c5debff6"
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"name": "dim_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": 3335,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"value": 2.5,
"input": 25,
"unit": "cm"
},
"evidenceSha256": "ff391c09297d9a14e080a4239f7de4c4932cc6a0eec16b470af65bb638c51fc1"
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"name": "coord_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": 3347,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"x": 12.5,
"y": 20,
"z": 35
},
"evidenceSha256": "1ef1de3ea16ffe280dc54f75b7d2085cf7104d9a868ef04277904a84b7ae40c5"
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"name": "ang_sh2fc",
"family": "pure-function",
"status": "not_implemented",
"code": "method_evidence_pending",
"message": "BIM geometry-value source execution failed: name 'TWO_PI' is not defined",
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
"sourceLine": 3359,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "fd2c930c4245db165cd3b24f183c167e74aacd0951b8c21dc698e2de949f738c"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:dim_sh2fc",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3323,
"declaration": "def dim_sh2fc(dimension):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:dim_fc2sh",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3335,
"declaration": "def dim_fc2sh(dimension):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:coord_sh2fc",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3347,
"declaration": "def coord_sh2fc(vector):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
},
{
"apiId": "py:BIM:function:ang_sh2fc",
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
"line": 3359,
"declaration": "def ang_sh2fc(angle: float):",
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "ab212e9eca999ebeea344aeac640172c6758a7be8850f1a977cf5408f938ae6d"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "99c61f59308f3dee0f8179bf17f799f13d31c56ace20717c2172e8a8d56d4e8e"
},
"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."
]
}