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

606 lines
21 KiB
JSON

{
"schema": "freecad-web-bim-python-family-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "a886d7c9067fec4d9cd66f66",
"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:makeWindowPreset",
"name": "makeWindowPreset",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/ArchWindowPresets.py",
"sourceLine": 46,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:string_to_array",
"name": "string_to_array",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/Dice3DS/dom3ds.py",
"sourceLine": 45,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:array_to_string",
"name": "array_to_string",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/Dice3DS/dom3ds.py",
"sourceLine": 53,
"disposition": "not_implemented"
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"name": "array_to_string_destructive",
"family": "pure-function",
"kind": "function",
"sourcePath": "src/Mod/BIM/Dice3DS/dom3ds.py",
"sourceLine": 60,
"disposition": "not_implemented"
}
]
}
},
"inputSha256": "00c06606f0fec55c88059f3d552f9073ac67672fca621b8cca7153d17575a8fa",
"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:makeWindowPreset",
"name": "makeWindowPreset",
"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/ArchWindowPresets.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:string_to_array",
"name": "string_to_array",
"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/Dice3DS/dom3ds.py",
"sourceLine": 45,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"inputHex": "01000201",
"values": [
1,
258
],
"byteOrder": "little"
}
},
{
"apiId": "py:BIM:function:array_to_string",
"name": "array_to_string",
"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/Dice3DS/dom3ds.py",
"sourceLine": 53,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": false
}
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"name": "array_to_string_destructive",
"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/Dice3DS/dom3ds.py",
"sourceLine": 60,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": true
}
}
],
"count": 4,
"resourcesReleased": true
},
"resultSha256": "5582fd225432906200081962c430297c7df9ea6b99b71b1aa3ffe13e0a535c80",
"replay": {
"equal": true,
"resultSha256": "5582fd225432906200081962c430297c7df9ea6b99b71b1aa3ffe13e0a535c80"
},
"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:makeWindowPreset",
"name": "makeWindowPreset",
"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/ArchWindowPresets.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:string_to_array",
"name": "string_to_array",
"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/Dice3DS/dom3ds.py",
"sourceLine": 45,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"inputHex": "01000201",
"values": [
1,
258
],
"byteOrder": "little"
}
},
{
"apiId": "py:BIM:function:array_to_string",
"name": "array_to_string",
"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/Dice3DS/dom3ds.py",
"sourceLine": 53,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": false
}
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"name": "array_to_string_destructive",
"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/Dice3DS/dom3ds.py",
"sourceLine": 60,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": true
}
}
],
"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:makeWindowPreset",
"name": "makeWindowPreset",
"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/ArchWindowPresets.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "source-declared",
"returnSchema": "source-declared",
"replay": "native-source-disposition"
},
{
"apiId": "py:BIM:function:string_to_array",
"name": "string_to_array",
"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/Dice3DS/dom3ds.py",
"sourceLine": 45,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"inputHex": "01000201",
"values": [
1,
258
],
"byteOrder": "little"
}
},
{
"apiId": "py:BIM:function:array_to_string",
"name": "array_to_string",
"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/Dice3DS/dom3ds.py",
"sourceLine": 53,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": false
}
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"name": "array_to_string_destructive",
"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/Dice3DS/dom3ds.py",
"sourceLine": 60,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"parameterSchema": "official FreeCAD source fixture inputs",
"returnSchema": "typed native result object",
"replay": "native-source-method",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": true
}
}
],
"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": "makeWindowPreset",
"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/ArchWindowPresets.py",
"sourceLine": 46,
"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": "311dfebc71f0959b19b2ffab62fa3b5a220ed8e15900c185567ef2472695557f"
},
"dispositionCounts": {
"exposed": 3,
"restricted": 0,
"nonportable": 0,
"not_implemented": 1
},
"records": [
{
"apiId": "py:BIM:function:makeWindowPreset",
"name": "makeWindowPreset",
"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/ArchWindowPresets.py",
"sourceLine": 46,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "4a76f3a1c97d2e4cf36842f6db975501798e101c42f01a9a867f42a07a2ba4d8"
},
{
"apiId": "py:BIM:function:string_to_array",
"name": "string_to_array",
"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/Dice3DS/dom3ds.py",
"sourceLine": 45,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"dtype": "uint16",
"inputHex": "01000201",
"values": [
1,
258
],
"byteOrder": "little"
},
"evidenceSha256": "306de877cf6c3dd25429dddd8b2d6889e65d6f10b6f8b8f7021862bfb27c3ab0"
},
{
"apiId": "py:BIM:function:array_to_string",
"name": "array_to_string",
"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/Dice3DS/dom3ds.py",
"sourceLine": 53,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": false
},
"evidenceSha256": "706bf8d186b8f7bec411a51b4b78da8f50a44c552ef9c38cd26c107ee143246c"
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"name": "array_to_string_destructive",
"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/Dice3DS/dom3ds.py",
"sourceLine": 60,
"sourceVerified": true,
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"result": {
"dtype": "uint16",
"values": [
1,
258
],
"bytesHex": "01000201",
"destructive": true
},
"evidenceSha256": "b0d617a7072ab1c0d9ff3093c4172d54907ed6081a749c8d41946fc5978d8e05"
}
],
"sourceEvidence": [
{
"apiId": "py:BIM:function:makeWindowPreset",
"path": "src/Mod/BIM/ArchWindowPresets.py",
"line": 46,
"declaration": "def makeWindowPreset(windowtype, width, height, h1, h2, h3, w1, w2, o1, o2, placement=None):",
"sha256": "90a8f37ca7b5c0d8619f4e1f7e3023aaeabad55ea12ba84520d2ef7e8d7d24a8"
},
{
"apiId": "py:BIM:function:string_to_array",
"path": "src/Mod/BIM/Dice3DS/dom3ds.py",
"line": 45,
"declaration": "def string_to_array(s, typ):",
"sha256": "1ceaa6592d519aa21f7169df74320476b101fe43df9a810e99e47bb0e0e292c3"
},
{
"apiId": "py:BIM:function:array_to_string",
"path": "src/Mod/BIM/Dice3DS/dom3ds.py",
"line": 53,
"declaration": "def array_to_string(a):",
"sha256": "1ceaa6592d519aa21f7169df74320476b101fe43df9a810e99e47bb0e0e292c3"
},
{
"apiId": "py:BIM:function:array_to_string_destructive",
"path": "src/Mod/BIM/Dice3DS/dom3ds.py",
"line": 60,
"declaration": "def array_to_string_destructive(a):",
"sha256": "1ceaa6592d519aa21f7169df74320476b101fe43df9a810e99e47bb0e0e292c3"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.wasm",
"sha256": "5c4d02af1090a0387353d9fd7b0a9ff48b5db8d9b1931c452601ac0fdf31024e"
},
"loader": {
"path": "web/public/kernel/FreeCADWebBimRuntimeProbe.js",
"sha256": "513a880e55189f9fcd28f52b16399cd451a8f746ab29b5f2e2975b9fab578c2c"
},
"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."
]
}