Files
FreeCADWasmDev/docs/p6/material-module-batch-259b16ea586f11f6b645bb6e-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

648 lines
27 KiB
JSON

{
"schema": "freecad-web-material-module-batch-runtime/v1",
"taskId": "FW-P6-FPA-Y",
"batchId": "259b16ea586f11f6b645bb6e",
"module": "Material",
"tier": "object-contract",
"family": "data-property",
"status": "pass_with_boundaries",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"route": {
"command": "material.pythonFamilyBatch",
"native": "freecad-source/src/WebAssembly/FreeCADCoreProbe/MaterialKernelProbe.cpp:fc_web_dispatch_json",
"facade": "web/src/material-python-family-facade.ts",
"worker": "web/src/material.worker.ts"
},
"input": {
"cmd": "material.pythonFamilyBatch",
"args": {
"tier": "object-contract",
"records": [
{
"apiId": "obj:Material:Materials::MaterialValue",
"name": "Materials::MaterialValue",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/MaterialValue.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::Array2D",
"name": "Materials::Array2D",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/MaterialValue.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::Array3D",
"name": "Materials::Array3D",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/MaterialValue.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::MaterialProperty",
"name": "Materials::MaterialProperty",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/Materials.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::Material",
"name": "Materials::Material",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/Materials.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::ModelProperty",
"name": "Materials::ModelProperty",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/Model.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::Model",
"name": "Materials::Model",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/Model.cpp",
"disposition": "planned"
},
{
"apiId": "obj:Material:Materials::ModelLibrary",
"name": "Materials::ModelLibrary",
"family": "data-property",
"kind": "object",
"sourcePath": "src/Mod/Material/App/ModelLibrary.cpp",
"disposition": "planned"
}
]
}
},
"inputSha256": "9aef122faa3656d4032777916eacf2a8399c9dbecca00d92f65f177fa70b42bf",
"result": {
"cmd": "material.pythonFamilyBatch",
"count": 8,
"module": "Material",
"ok": true,
"records": [
{
"apiId": "obj:Material:Materials::MaterialValue",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialValue",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialValue",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array2D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array2D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array2D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array3D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array3D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array3D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::MaterialProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialProperty",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Material",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Material",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Material",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelProperty",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Model",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Model",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Model",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelLibrary",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelLibrary",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelLibrary",
"sourceEntry": "src/Mod/Material/App/ModelLibrary.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
}
],
"resourcesReleased": true,
"schema": "freecad-web-material/python-family-batch/v1",
"source": "freecad-source",
"tier": "object-contract"
},
"resultSha256": "3309365f79396d79ac2bcd49c37d53877eadd569caa843926d5671e2e2f2a212",
"replay": {
"equal": true,
"resultSha256": "3309365f79396d79ac2bcd49c37d53877eadd569caa843926d5671e2e2f2a212"
},
"facadeWorker": {
"ready": {
"kind": "ready",
"action": "material.pythonFamilyBatch"
},
"success": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "material-object-batch-success",
"result": {
"cmd": "material.pythonFamilyBatch",
"count": 8,
"module": "Material",
"ok": true,
"records": [
{
"apiId": "obj:Material:Materials::MaterialValue",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialValue",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialValue",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array2D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array2D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array2D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array3D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array3D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array3D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::MaterialProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialProperty",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Material",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Material",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Material",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelProperty",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Model",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Model",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Model",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelLibrary",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelLibrary",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelLibrary",
"sourceEntry": "src/Mod/Material/App/ModelLibrary.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
}
],
"resourcesReleased": true,
"schema": "freecad-web-material/python-family-batch/v1",
"source": "freecad-source",
"tier": "object-contract"
}
},
"repeat": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "material-object-batch-repeat",
"result": {
"cmd": "material.pythonFamilyBatch",
"count": 8,
"module": "Material",
"ok": true,
"records": [
{
"apiId": "obj:Material:Materials::MaterialValue",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialValue",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialValue",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array2D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array2D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array2D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Array3D",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Array3D",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Array3D",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::MaterialProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::MaterialProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::MaterialProperty",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Material",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Material",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Material",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelProperty",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelProperty",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelProperty",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::Model",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::Model",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::Model",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
},
{
"apiId": "obj:Material:Materials::ModelLibrary",
"code": "native_object_contract",
"family": "data-property",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"name": "Materials::ModelLibrary",
"native": true,
"parameterSchema": "constructor:default",
"resourcesReleased": true,
"returnSchema": "native:Materials::ModelLibrary",
"sourceEntry": "src/Mod/Material/App/ModelLibrary.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "exposed"
}
],
"resourcesReleased": true,
"schema": "freecad-web-material/python-family-batch/v1",
"source": "freecad-source",
"tier": "object-contract"
}
},
"crossModule": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "result",
"requestId": "material-object-batch-cross",
"result": {
"cmd": "material.pythonFamilyBatch",
"count": 1,
"module": "Material",
"ok": true,
"records": [
{
"apiId": "obj:BIM:Materials::Library",
"code": "unmatched_source_record",
"family": "data-property",
"message": "Material object record is not part of this module-scoped adapter",
"name": "Materials::MaterialValue",
"native": true,
"parameterSchema": "unmatched",
"resourcesReleased": true,
"returnSchema": "unmatched",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"status": "not_implemented"
}
],
"resourcesReleased": true,
"schema": "freecad-web-material/python-family-batch/v1",
"source": "freecad-source",
"tier": "object-contract"
}
},
"malformed": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "material-object-batch-invalid",
"error": {
"code": "invalid_request",
"message": "Material Python family envelope is invalid"
}
},
"cancelled": {
"schema": "freecad-web-facade/v1",
"version": 1,
"kind": "error",
"requestId": "material-object-batch-cancel",
"error": {
"code": "cancelled",
"message": "request was cancelled"
}
},
"reset": {
"kind": "reset",
"requestId": "material-object-batch-reset"
},
"traceSha256": "d860cb5e4f371197f5fa55abf5166459234c33f93d8e6caf3862fab596ad312e"
},
"dispositionCounts": {
"exposed": 8,
"restricted": 0,
"nonportable": 0,
"not_implemented": 0
},
"records": [
{
"apiId": "obj:Material:Materials::MaterialValue",
"name": "Materials::MaterialValue",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "b4bde4acdf4273131d94b86c56aa086508d4c7763f4e1403d3747e15bde485a5"
},
{
"apiId": "obj:Material:Materials::Array2D",
"name": "Materials::Array2D",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "60f1026908313c896b3902ab60be608d2a993b1974e55d75c32042d66bfe5369"
},
{
"apiId": "obj:Material:Materials::Array3D",
"name": "Materials::Array3D",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/MaterialValue.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "4c04e5d617f5e2aef6a5aa3a684fadc0876c5ce49e129a1b36a91914729c0cc4"
},
{
"apiId": "obj:Material:Materials::MaterialProperty",
"name": "Materials::MaterialProperty",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "379f599b23cdfcd1cff206d43aac81e62fe9e91f5f4e4c7c5ec5557bd4139f4b"
},
{
"apiId": "obj:Material:Materials::Material",
"name": "Materials::Material",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/Materials.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "b884c15d86439d94fb4eaaf2ca81ec9271a99657d4fea7e83f962acd06863c72"
},
{
"apiId": "obj:Material:Materials::ModelProperty",
"name": "Materials::ModelProperty",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "df95362b9c1004d85ec58a0e7963bff216b2d13c89101757301647394829b7dc"
},
{
"apiId": "obj:Material:Materials::Model",
"name": "Materials::Model",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/Model.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "c67e621805c11b7cdaec28363abe7b45250e98e3f004341b8ba43a66ca94ab9b"
},
{
"apiId": "obj:Material:Materials::ModelLibrary",
"name": "Materials::ModelLibrary",
"status": "exposed",
"code": "native_object_contract",
"message": "Material object was constructed through the native FreeCAD Materials implementation",
"sourceEntry": "src/Mod/Material/App/ModelLibrary.cpp",
"sourceRevision": "2778e3f9c215da48bf0cfd562478d45d624aaa47",
"evidenceSha256": "cfb0400e47d41048df5903bfa4180848cb2592d4adbcffefa4ac7cc6c85b4137"
}
],
"resources": {
"resourcesReleased": true,
"documentMutation": false
},
"artifacts": {
"wasm": {
"path": "web/public/kernel/FreeCADWebMaterialKernelProbe.wasm",
"sha256": "cf31d2e8676526df53683bbfd2e647fcb3b9eb92e8727b138488bbb95c16a227"
},
"loader": {
"path": "web/public/kernel/FreeCADWebMaterialKernelProbe.js",
"sha256": "953e4fa3ecb08926bc802d08038a23f44070b47f7fd126aeee9c5206fe1da53e"
}
},
"boundaries": [
"MaterialManagerExternal remains restricted because BUILD_MATERIAL_EXTERNAL is disabled in the Web build.",
"All statuses, schemas and hashes come from compiled FreeCAD through fc_web_dispatch_json; JavaScript only transports and validates the batch envelope."
]
}