534 lines
20 KiB
JSON
534 lines
20 KiB
JSON
{
|
|
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
|
|
"taskId": "FW-P6-FPA-Y",
|
|
"batchId": "59b8b8e543fc48c9dee74802",
|
|
"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:convex_hull",
|
|
"name": "convex_hull",
|
|
"family": "pure-function",
|
|
"kind": "function",
|
|
"sourcePath": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"sourceLine": 3484,
|
|
"disposition": "not_implemented"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"name": "getHTMLTemplate",
|
|
"family": "pure-function",
|
|
"kind": "function",
|
|
"sourcePath": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 85,
|
|
"disposition": "not_implemented"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"name": "populate_camera",
|
|
"family": "pure-function",
|
|
"kind": "function",
|
|
"sourcePath": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 398,
|
|
"disposition": "not_implemented"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"name": "compress_floats",
|
|
"family": "pure-function",
|
|
"kind": "function",
|
|
"sourcePath": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 422,
|
|
"disposition": "not_implemented"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"inputSha256": "645ae0c3b9c32f92f947812090292d55bc58bf35681eb981296e65bcf1b5e097",
|
|
"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:convex_hull",
|
|
"name": "convex_hull",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"sourceLine": 3484,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"name": "getHTMLTemplate",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 85,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"name": "populate_camera",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 398,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"name": "compress_floats",
|
|
"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/importWebGL.py",
|
|
"sourceLine": 422,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "official FreeCAD source fixture inputs",
|
|
"returnSchema": "typed native result object",
|
|
"replay": "native-source-method",
|
|
"result": {
|
|
"values": [
|
|
"0.00000",
|
|
"1.25000",
|
|
"-2.50000"
|
|
],
|
|
"value": "RaTu:KicOn|tj:Tv",
|
|
"encoding": "base90"
|
|
}
|
|
}
|
|
],
|
|
"count": 4,
|
|
"resourcesReleased": true
|
|
},
|
|
"resultSha256": "8c8ae2489fa9c23700d6ad05f3830b27f547038f34c79b2d0b966012d66164e8",
|
|
"replay": {
|
|
"equal": true,
|
|
"resultSha256": "8c8ae2489fa9c23700d6ad05f3830b27f547038f34c79b2d0b966012d66164e8"
|
|
},
|
|
"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:convex_hull",
|
|
"name": "convex_hull",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"sourceLine": 3484,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"name": "getHTMLTemplate",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 85,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"name": "populate_camera",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 398,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"name": "compress_floats",
|
|
"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/importWebGL.py",
|
|
"sourceLine": 422,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "official FreeCAD source fixture inputs",
|
|
"returnSchema": "typed native result object",
|
|
"replay": "native-source-method",
|
|
"result": {
|
|
"values": [
|
|
"0.00000",
|
|
"1.25000",
|
|
"-2.50000"
|
|
],
|
|
"value": "RaTu:KicOn|tj:Tv",
|
|
"encoding": "base90"
|
|
}
|
|
}
|
|
],
|
|
"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:convex_hull",
|
|
"name": "convex_hull",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"sourceLine": 3484,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"name": "getHTMLTemplate",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 85,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"name": "populate_camera",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"native": true,
|
|
"resourcesReleased": true,
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 398,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "source-declared",
|
|
"returnSchema": "source-declared",
|
|
"replay": "native-source-disposition"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"name": "compress_floats",
|
|
"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/importWebGL.py",
|
|
"sourceLine": 422,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"parameterSchema": "official FreeCAD source fixture inputs",
|
|
"returnSchema": "typed native result object",
|
|
"replay": "native-source-method",
|
|
"result": {
|
|
"values": [
|
|
"0.00000",
|
|
"1.25000",
|
|
"-2.50000"
|
|
],
|
|
"value": "RaTu:KicOn|tj:Tv",
|
|
"encoding": "base90"
|
|
}
|
|
}
|
|
],
|
|
"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": "convex_hull",
|
|
"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": 3484,
|
|
"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": "33cdbcd66974a4d0f47b9bf9a0ec376fce860ced9f01ae506c1c6ab5c1f300a1"
|
|
},
|
|
"dispositionCounts": {
|
|
"exposed": 1,
|
|
"restricted": 0,
|
|
"nonportable": 0,
|
|
"not_implemented": 3
|
|
},
|
|
"records": [
|
|
{
|
|
"apiId": "py:BIM:function:convex_hull",
|
|
"name": "convex_hull",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"sourceEntry": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"sourceLine": 3484,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"evidenceSha256": "b821509745618a54ea1e27b498002498dbbe8688e778da679ef5a1fc9d429d1c"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"name": "getHTMLTemplate",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 85,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"evidenceSha256": "ba157ece2db3c8e04680b37265c076cbd164dc40d1a3d952fa7c2b3128a876cf"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"name": "populate_camera",
|
|
"family": "pure-function",
|
|
"status": "not_implemented",
|
|
"code": "method_evidence_pending",
|
|
"message": "BIM geometry-value source execution failed: No module named 'numpy'",
|
|
"sourceEntry": "src/Mod/BIM/importers/importWebGL.py",
|
|
"sourceLine": 398,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"evidenceSha256": "2853c286342d5fcdeb10a51a5f7d1605f2233a969d362eab246ff3a522df850e"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"name": "compress_floats",
|
|
"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/importWebGL.py",
|
|
"sourceLine": 422,
|
|
"sourceVerified": true,
|
|
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
|
|
"result": {
|
|
"values": [
|
|
"0.00000",
|
|
"1.25000",
|
|
"-2.50000"
|
|
],
|
|
"value": "RaTu:KicOn|tj:Tv",
|
|
"encoding": "base90"
|
|
},
|
|
"evidenceSha256": "0086b9531981a24d50b20f68c1256b2602df8393efbba3083bd4387d23bff49e"
|
|
}
|
|
],
|
|
"sourceEvidence": [
|
|
{
|
|
"apiId": "py:BIM:function:convex_hull",
|
|
"path": "src/Mod/BIM/importers/importSH3DHelper.py",
|
|
"line": 3484,
|
|
"declaration": "def convex_hull(points, tol=1e-6):",
|
|
"sha256": "5c91c888ef6d948253f25ee087254277bb3427936ce409ad1a0eb9f078b7bd97"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:getHTMLTemplate",
|
|
"path": "src/Mod/BIM/importers/importWebGL.py",
|
|
"line": 85,
|
|
"declaration": "def getHTMLTemplate():",
|
|
"sha256": "60b4144bf30edd65133705c7f12d1093bd2806a8c1b0a37504890de84c4a9b32"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:populate_camera",
|
|
"path": "src/Mod/BIM/importers/importWebGL.py",
|
|
"line": 398,
|
|
"declaration": "def populate_camera(data: CameraDict, camera: str | None):",
|
|
"sha256": "60b4144bf30edd65133705c7f12d1093bd2806a8c1b0a37504890de84c4a9b32"
|
|
},
|
|
{
|
|
"apiId": "py:BIM:function:compress_floats",
|
|
"path": "src/Mod/BIM/importers/importWebGL.py",
|
|
"line": 422,
|
|
"declaration": "def compress_floats(floats: list[str]) -> str:",
|
|
"sha256": "60b4144bf30edd65133705c7f12d1093bd2806a8c1b0a37504890de84c4a9b32"
|
|
}
|
|
],
|
|
"resources": {
|
|
"resourcesReleased": true,
|
|
"documentMutation": false
|
|
},
|
|
"artifacts": {
|
|
"wasm": {
|
|
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
|
|
"sha256": "1f68a0a1a1f7492c4967d0b609817da24d24003bba985bfd533ede3da87287c0"
|
|
},
|
|
"loader": {
|
|
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
|
|
"sha256": "f6aa1693a5476ee80be85d3b5eee16215b8775d70b26731b06be678eb6b46f00"
|
|
},
|
|
"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."
|
|
]
|
|
}
|