Complete Soft Body modifier gap
This commit is contained in:
@@ -1691,7 +1691,7 @@ json modifier_stack_from_object(const ParsedBlend &blend,
|
|||||||
for (const json &target : parameters["targetObjectIds"]) depends_on.push_back(target);
|
for (const json &target : parameters["targetObjectIds"]) depends_on.push_back(target);
|
||||||
}
|
}
|
||||||
const bool known_metadata = type == 1 || type == 2 || type == 3 || type == 4 || type == 5 ||
|
const bool known_metadata = type == 1 || type == 2 || type == 3 || type == 4 || type == 5 ||
|
||||||
type == 6 || type == 7 || type == 8 || type == 9 || type == 11 ||
|
type == 6 || type == 7 || type == 8 || type == 9 || type == 10 || type == 11 ||
|
||||||
type == 12 || type == 13 || type == 14 || type == 16 || type == 17 ||
|
type == 12 || type == 13 || type == 14 || type == 16 || type == 17 ||
|
||||||
type == 18 || type == 24 || type == 25 || type == 28 || type == 42 || type == 33 ||
|
type == 18 || type == 24 || type == 25 || type == 28 || type == 42 || type == 33 ||
|
||||||
type == 34 || type == 44 || type == 48 || type == 53 || type == 54 ||
|
type == 34 || type == 44 || type == 48 || type == 53 || type == 54 ||
|
||||||
|
|||||||
@@ -9,10 +9,10 @@
|
|||||||
| 字段 | 值 |
|
| 字段 | 值 |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| 里程碑 | M16 Main、Mesh、Modifier、Sculpt |
|
| 里程碑 | M16 Main、Mesh、Modifier、Sculpt |
|
||||||
| 当前任务 | `M16-GAP-00095` |
|
| 当前任务 | `M16-GAP-00096` |
|
||||||
| parent manifest | `tests/golden/M16-GAP-00094/manifest.json` |
|
| parent manifest | `tests/golden/M16-GAP-00095/manifest.json` |
|
||||||
| 任务卡 | [`tasks/M16-GAP-00095.md`](tasks/M16-GAP-00095.md) |
|
| 任务卡 | [`tasks/M16-GAP-00096.md`](tasks/M16-GAP-00096.md) |
|
||||||
| 专项验收 | `npm --prefix web run test:generated-gap -- --task M16-GAP-00095` |
|
| 专项验收 | `npm --prefix web run test:generated-gap -- --task M16-GAP-00096` |
|
||||||
|
|
||||||
领取前执行:
|
领取前执行:
|
||||||
|
|
||||||
|
|||||||
18
docs/status/M16-GAP-00095.md
Normal file
18
docs/status/M16-GAP-00095.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# M16-GAP-00095 Status
|
||||||
|
|
||||||
|
status: done
|
||||||
|
task: SOFT_BODY modifier LOCAL_EXACT slice
|
||||||
|
updated: 2026-08-20 America/New_York
|
||||||
|
|
||||||
|
scope: Mesh SOFT_BODY modifier stack exposure for `mesh:WebGapSoftBodyMesh`.
|
||||||
|
|
||||||
|
evidence:
|
||||||
|
|
||||||
|
- Desktop fixture exposes `WebGapSoftBody` as SOFT_BODY type code 10; save/reopen is exact.
|
||||||
|
- WASM/Main exposes the same SOFT_BODY stack entry as `METADATA_ONLY`; save/reopen is exact.
|
||||||
|
- Malformed Blend input is rejected without mutating Main.
|
||||||
|
- Generator, npm comparator, and direct comparator exited 0.
|
||||||
|
|
||||||
|
knownRisk: Soft Body simulation remains metadata-only; this slice covers modifier stack transport and base metadata.
|
||||||
|
|
||||||
|
nextTask: `M16-GAP-00096`
|
||||||
37
docs/tasks/M16-GAP-00096.md
Normal file
37
docs/tasks/M16-GAP-00096.md
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# M16-GAP-00096: modifier:SOLIDIFY LOCAL_EXACT slice
|
||||||
|
|
||||||
|
- task: M16-GAP-00096
|
||||||
|
- parent: M16-GAP-00095
|
||||||
|
- status: in_progress
|
||||||
|
- gap: modifier:SOLIDIFY
|
||||||
|
- ownerFamily: MODIFIER
|
||||||
|
- targetImplementationClass: LOCAL_EXACT
|
||||||
|
|
||||||
|
## 目标
|
||||||
|
|
||||||
|
Make the same minimal fixture produce observable modifier:SOLIDIFY data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.
|
||||||
|
|
||||||
|
## 输入与范围
|
||||||
|
|
||||||
|
- Fixture: `tests/files/web/generated/M16-GAP-00096-modifier-SOLIDIFY.blend`
|
||||||
|
- Generator: `tools/web/generated/M16-GAP-00096.py`
|
||||||
|
- Production: `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp`
|
||||||
|
- Checker: `tools/web/check-generated-gap.mjs`
|
||||||
|
- Do: field read, desktop/WASM comparison, save/reopen, structured report.
|
||||||
|
- Do not: other gaps, Firefox/WebKit, or full editor behavior.
|
||||||
|
|
||||||
|
## 验收
|
||||||
|
|
||||||
|
build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00096.py -- tests/files/web/generated/M16-GAP-00096-modifier-SOLIDIFY.blend
|
||||||
|
npm --prefix web run test:generated-gap -- --task M16-GAP-00096
|
||||||
|
node tools/web/check-generated-gap.mjs --task M16-GAP-00096
|
||||||
|
|
||||||
|
Malformed/unsupported, cancellation, duplicate, over-budget, or hash-drift cases must keep in_progress; they must not change Main revision or advance nextTask.
|
||||||
|
|
||||||
|
## 交付与回滚
|
||||||
|
|
||||||
|
- Reports: `tests/golden/M16-GAP-00096/`
|
||||||
|
- Status: `docs/status/M16-GAP-00096.md`
|
||||||
|
- Manifest: `tests/golden/M16-GAP-00096/manifest.json`
|
||||||
|
- Handoff: `node tools/web/check-task-context.mjs --task M16-GAP-00096 --write`
|
||||||
|
- Rollback: remove this task production entry, fixture, tests, reports, manifest, status, and context; restore the parent as queue tail without rewriting parent evidence.
|
||||||
BIN
tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend
Normal file
BIN
tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend
Normal file
Binary file not shown.
@@ -19,8 +19,8 @@
|
|||||||
"summary": {
|
"summary": {
|
||||||
"taskCount": 6900,
|
"taskCount": 6900,
|
||||||
"active": 1,
|
"active": 1,
|
||||||
"pending": 6811,
|
"pending": 6810,
|
||||||
"completed": 88,
|
"completed": 89,
|
||||||
"blocked": 0,
|
"blocked": 0,
|
||||||
"byWave": {
|
"byWave": {
|
||||||
"M16": 2667,
|
"M16": 2667,
|
||||||
@@ -2200,7 +2200,7 @@
|
|||||||
"gapId": "modifier:SOFT_BODY",
|
"gapId": "modifier:SOFT_BODY",
|
||||||
"ownerFamily": "MODIFIER",
|
"ownerFamily": "MODIFIER",
|
||||||
"sourceTask": "M15-01C",
|
"sourceTask": "M15-01C",
|
||||||
"state": "active",
|
"state": "completed",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"targetImplementationClass": "LOCAL_EXACT",
|
"targetImplementationClass": "LOCAL_EXACT",
|
||||||
"fixture": {
|
"fixture": {
|
||||||
@@ -2223,7 +2223,7 @@
|
|||||||
"gapId": "modifier:SOLIDIFY",
|
"gapId": "modifier:SOLIDIFY",
|
||||||
"ownerFamily": "MODIFIER",
|
"ownerFamily": "MODIFIER",
|
||||||
"sourceTask": "M15-01C",
|
"sourceTask": "M15-01C",
|
||||||
"state": "pending",
|
"state": "active",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"targetImplementationClass": "LOCAL_EXACT",
|
"targetImplementationClass": "LOCAL_EXACT",
|
||||||
"fixture": {
|
"fixture": {
|
||||||
@@ -158734,7 +158734,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"firstTask": "M16-GAP-00095",
|
"firstTask": "M16-GAP-00096",
|
||||||
"closureGate": "M15-03E",
|
"closureGate": "M15-03E",
|
||||||
"nextTask": "M15-03B"
|
"nextTask": "M15-03B"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,8 +92,8 @@
|
|||||||
{"id":"M16-GAP-00092","gapId":"modifier:SIMPLE_DEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00092","gapId":"modifier:SIMPLE_DEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00093","gapId":"modifier:SKIN","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00093","gapId":"modifier:SKIN","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00094","gapId":"modifier:SMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00094","gapId":"modifier:SMOOTH","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00095","gapId":"modifier:SOFT_BODY","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"active","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00095","gapId":"modifier:SOFT_BODY","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"completed","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00096","gapId":"modifier:SOLIDIFY","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00096","gapId":"modifier:SOLIDIFY","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"active","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00097","gapId":"modifier:SUBSURF","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00097","gapId":"modifier:SUBSURF","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00098","gapId":"modifier:SURFACE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00098","gapId":"modifier:SURFACE","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
{"id":"M16-GAP-00099","gapId":"modifier:SURFACE_DEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
{"id":"M16-GAP-00099","gapId":"modifier:SURFACE_DEFORM","ownerFamily":"MODIFIER","sourceTask":"M15-01C","state":"pending","targetImplementationClass":"LOCAL_EXACT"}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
28
tests/golden/M16-GAP-00095/manifest.json
Normal file
28
tests/golden/M16-GAP-00095/manifest.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"task": "M16-GAP-00095",
|
||||||
|
"parentTask": "M16-GAP-00094",
|
||||||
|
"enablingTask": false,
|
||||||
|
"parityStateChange": true,
|
||||||
|
"runtime": "BLENDER_5_2_LOCAL_EXACT",
|
||||||
|
"operation": "SOFT_BODY_MODIFIER_LOCAL_EXACT",
|
||||||
|
"status": "done",
|
||||||
|
"artifacts": {
|
||||||
|
"parentManifest": {"path": "tests/golden/M16-GAP-00094/manifest.json", "sha256": "50a37762ad06ba05266dacc84dd0370e718b2fd98ae235d1bf9a975530cee31a"},
|
||||||
|
"fixture": {"path": "tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend", "sha256": "2bfd58334380f70c1309ebfd00c092c531bb7b3921620e799c57752c7ee5596f"},
|
||||||
|
"generator": {"path": "tools/web/generated/M16-GAP-00095.py", "sha256": "a82183922f2228f641d8bd59689e807e8caa495886a581e58e86f9c307b0f45b"},
|
||||||
|
"desktopChecker": {"path": "tools/web/check-generic-modifier-desktop.py", "sha256": "229b09fbdcc541d0c2a2367d420c3f0d5c623621ed10143896a374f1ce072687"},
|
||||||
|
"webChecker": {"path": "tools/web/check-generated-gap.mjs", "sha256": "7442a43ad4a4a85cdd781b64a5b0752bd7db9c48855d4f257228200647070da7"},
|
||||||
|
"reader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp", "sha256": "4ae389f76bfcc71b1bc731b5bd00a06154570f6e2cdcbec398521614001a7776"},
|
||||||
|
"modifierCmake": {"path": "blender-5.2.0/source/blender/modifiers/CMakeLists.txt", "sha256": "acf2c49dcea2907a117efdf8d74d4d817a4456a41c6bec3a40f38263beaae127"},
|
||||||
|
"particleModifier": {"path": "blender-5.2.0/source/blender/modifiers/intern/MOD_particlesystem.cc", "sha256": "92ea7223c192563062d9f485c45cc78290a8809eb79d3a28be12081a0c7d6e6f"},
|
||||||
|
"particleCore": {"path": "blender-5.2.0/source/blender/blenkernel/intern/particle.cc", "sha256": "d712f922c3160bddb464e3b7e1f68bfc44591dd9e536f4fd901119025d17717c"},
|
||||||
|
"physicsReader": {"path": "blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp", "sha256": "62af46e404d6174cc4b9d85adb6e8b259f1c537e5ebfd8485e4fd0cc4be0fded"},
|
||||||
|
"wasm": {"path": "web/app/src/vendor/blender/web_engine.wasm", "sha256": "178e48cdb044d86ffcdeaec0c0d59578d99ce77c35c6bc09acc47e366fd1a951"},
|
||||||
|
"wasmPublic": {"path": "web/app/public/vendor/blender/web_engine.wasm", "sha256": "178e48cdb044d86ffcdeaec0c0d59578d99ce77c35c6bc09acc47e366fd1a951"},
|
||||||
|
"wasmJs": {"path": "web/app/src/vendor/blender/web_engine.js", "sha256": "9c831d0351ac9d0714cce3b1da748cba416ced3086e3c59595cf24ac4da459ed"},
|
||||||
|
"desktopReport": {"path": "tests/golden/M16-GAP-00095/soft-body-modifier-desktop-report.json", "sha256": "5228fc63f22473e4e1ef9d82e9018c4739c6b63469da4b693240ac307336bba7"},
|
||||||
|
"webReport": {"path": "tests/golden/M16-GAP-00095/soft-body-modifier-local-exact-report.json", "sha256": "e0767cb702d9c0612c8e8bc140dd2e00f5af6f782c3f63c5ae15407a6c5fcaa9"}
|
||||||
|
},
|
||||||
|
"nextTask": "M16-GAP-00096"
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"blenderVersion": "5.2.0 LTS",
|
||||||
|
"fixture": "/home/mes123456/workinf_Blender_Wasm/tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend",
|
||||||
|
"fixtureSha256": "2bfd58334380f70c1309ebfd00c092c531bb7b3921620e799c57752c7ee5596f",
|
||||||
|
"modifier": {
|
||||||
|
"meshId": "mesh:WebGapSoftBodyMesh",
|
||||||
|
"modifier": {
|
||||||
|
"name": "WebGapSoftBody",
|
||||||
|
"showEditMode": false,
|
||||||
|
"showOnCage": false,
|
||||||
|
"showRender": false,
|
||||||
|
"showViewport": true,
|
||||||
|
"type": "SOFT_BODY",
|
||||||
|
"typeCode": 10
|
||||||
|
},
|
||||||
|
"objectId": "object:WebGapSoftBodyObject",
|
||||||
|
"task": "M16-GAP-00095"
|
||||||
|
},
|
||||||
|
"operation": "SOFT_BODY_MODIFIER_DESKTOP",
|
||||||
|
"saveReopen": "EXACT",
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"task": "M16-GAP-00095"
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"task": "M16-GAP-00095",
|
||||||
|
"operation": "SOFT_BODY_MODIFIER_LOCAL_EXACT",
|
||||||
|
"fixture": {
|
||||||
|
"path": "tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend",
|
||||||
|
"sha256": "2bfd58334380f70c1309ebfd00c092c531bb7b3921620e799c57752c7ee5596f"
|
||||||
|
},
|
||||||
|
"desktop": {
|
||||||
|
"status": "EXACT",
|
||||||
|
"report": "tests/golden/M16-GAP-00095/soft-body-modifier-desktop-report.json",
|
||||||
|
"saveReopen": "EXACT"
|
||||||
|
},
|
||||||
|
"wasm": {
|
||||||
|
"status": "EXACT",
|
||||||
|
"objectId": "object:WebGapSoftBodyObject",
|
||||||
|
"meshId": "mesh:WebGapSoftBodyMesh",
|
||||||
|
"modifier": {
|
||||||
|
"dependsOn": [],
|
||||||
|
"enabled": true,
|
||||||
|
"evaluationStatus": "METADATA_ONLY",
|
||||||
|
"name": "WebGapSoftBody",
|
||||||
|
"parameters": {
|
||||||
|
"flag": 5,
|
||||||
|
"mode": 1,
|
||||||
|
"persistentUid": 228953295,
|
||||||
|
"typeCode": 10
|
||||||
|
},
|
||||||
|
"showEditMode": false,
|
||||||
|
"showOnCage": false,
|
||||||
|
"showRender": false,
|
||||||
|
"showViewport": true,
|
||||||
|
"type": "SOFT_BODY",
|
||||||
|
"uuid": "modifier:object:WebGapSoftBodyObject:228953295"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"saveReopen": "EXACT",
|
||||||
|
"negative": {
|
||||||
|
"malformedBlend": "REJECTED_WITHOUT_MAIN_MUTATION"
|
||||||
|
},
|
||||||
|
"nextTask": "M16-GAP-00096"
|
||||||
|
}
|
||||||
181
tests/golden/M16-GAP-00095/task-context.json
Normal file
181
tests/golden/M16-GAP-00095/task-context.json
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
{
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"task": "M16-GAP-00095",
|
||||||
|
"parentTask": "M16-GAP-00094",
|
||||||
|
"status": "in_progress",
|
||||||
|
"goal": "Make the same minimal fixture produce observable modifier:SOFT_BODY data in Blender desktop and WASM/Main, with save/reopen stability. Change only this gap; do not expand to other data-blocks, editors, or browsers.",
|
||||||
|
"scope": {
|
||||||
|
"gap": "modifier:SOFT_BODY",
|
||||||
|
"ownerFamily": "MODIFIER",
|
||||||
|
"implementationClass": "LOCAL_EXACT"
|
||||||
|
},
|
||||||
|
"commands": [
|
||||||
|
"build_blender_5.2.0/bin/blender -b --factory-startup --python tools/web/generated/M16-GAP-00095.py -- tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend",
|
||||||
|
"npm --prefix web run test:generated-gap -- --task M16-GAP-00095",
|
||||||
|
"node tools/web/check-generated-gap.mjs --task M16-GAP-00095"
|
||||||
|
],
|
||||||
|
"inputPaths": [
|
||||||
|
"tools/web/generated/M16-GAP-00095.py"
|
||||||
|
],
|
||||||
|
"inputSelection": {
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"limits": {
|
||||||
|
"maxFiles": 12,
|
||||||
|
"evidenceBytes": 8192,
|
||||||
|
"contextRemainingBytes": 6648,
|
||||||
|
"contextRemainingTokens": 1661
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"bytes": 7352,
|
||||||
|
"tokens": 1839
|
||||||
|
},
|
||||||
|
"selected": [
|
||||||
|
{
|
||||||
|
"path": "tools/web/generated/M16-GAP-00095.py",
|
||||||
|
"bytes": 964,
|
||||||
|
"tokens": 241
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"excluded": [
|
||||||
|
{
|
||||||
|
"path": "tests/files/web/generated/M16-GAP-00095-modifier-SOFT_BODY.blend",
|
||||||
|
"bytes": 86559,
|
||||||
|
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp",
|
||||||
|
"bytes": 221861,
|
||||||
|
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "tools/web/check-generated-gap.mjs",
|
||||||
|
"bytes": 141533,
|
||||||
|
"reason": "EVIDENCE_BYTE_BUDGET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "tests/golden/M16-GAP-00095/",
|
||||||
|
"bytes": null,
|
||||||
|
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "docs/status/M16-GAP-00095.md",
|
||||||
|
"bytes": null,
|
||||||
|
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "tests/golden/M16-GAP-00095/manifest.json",
|
||||||
|
"bytes": null,
|
||||||
|
"reason": "GENERATED_EVIDENCE_OUTPUT"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"totals": {
|
||||||
|
"files": 1,
|
||||||
|
"bytes": 964,
|
||||||
|
"tokens": 241
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exitCriteria": [
|
||||||
|
"desktop fixture evidence exists",
|
||||||
|
"WASM uses the same fixture",
|
||||||
|
"comparator passes",
|
||||||
|
"save/reopen preserves Main",
|
||||||
|
"manifest hashes all artifacts"
|
||||||
|
],
|
||||||
|
"nextTask": "M16-GAP-00096",
|
||||||
|
"sourceDocuments": {
|
||||||
|
"queue": "docs/EXECUTION_QUEUE.md",
|
||||||
|
"taskCard": "docs/tasks/M16-GAP-00095.md",
|
||||||
|
"taskIndex": "tests/golden/M15-03A/task-index.json",
|
||||||
|
"parentManifest": "tests/golden/M16-GAP-00094/manifest.json",
|
||||||
|
"parentStatus": "docs/status/M16-GAP-00094.md"
|
||||||
|
},
|
||||||
|
"readPolicy": {
|
||||||
|
"required": [
|
||||||
|
"docs/EXECUTION_QUEUE.md",
|
||||||
|
"docs/tasks/M16-GAP-00095.md",
|
||||||
|
"tests/golden/M16-GAP-00094/manifest.json",
|
||||||
|
"docs/status/M16-GAP-00094.md"
|
||||||
|
],
|
||||||
|
"machineOnly": [
|
||||||
|
"tests/golden/M15-03A/task-index.json",
|
||||||
|
"tests/golden/M15-03A/task-catalog.jsonl"
|
||||||
|
],
|
||||||
|
"optionalByNeed": [
|
||||||
|
"docs/WEB_BLENDER_MODELER_V1_SCOPE.md",
|
||||||
|
"任务卡列出的精确协议/生产路径",
|
||||||
|
"任务卡明确命名的长期计划小节"
|
||||||
|
],
|
||||||
|
"forbiddenByDefault": [
|
||||||
|
"完整 CURRENT_EXECUTION_PLAN.md",
|
||||||
|
"完整 PROJECT_STATUS_AND_NEXT_WORK.md",
|
||||||
|
"全部 docs/status/*.md",
|
||||||
|
"完整 parity/WBS 计划",
|
||||||
|
"README 历史和 test-results/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"parent": {
|
||||||
|
"manifest": {
|
||||||
|
"schemaVersion": 1,
|
||||||
|
"task": "M16-GAP-00094",
|
||||||
|
"parentTask": "M16-GAP-00093",
|
||||||
|
"status": "done",
|
||||||
|
"nextTask": "M16-GAP-00095",
|
||||||
|
"artifactCount": 15
|
||||||
|
},
|
||||||
|
"statusSummary": [
|
||||||
|
"# M16-GAP-00094 Status",
|
||||||
|
"status: done",
|
||||||
|
"task: SMOOTH modifier LOCAL_EXACT slice",
|
||||||
|
"updated: 2026-08-20 America/New_York",
|
||||||
|
"scope: Mesh SMOOTH modifier stack exposure for `mesh:WebGapSmoothMesh`.",
|
||||||
|
"evidence:",
|
||||||
|
"- Desktop fixture exposes `WebGapSmooth` as SMOOTH type code 16 with non-default factor, iterations, axis flags, and vertex group; save/reopen is exact.",
|
||||||
|
"- WASM/Main exposes the same SMOOTH fields as `METADATA_ONLY`; save/reopen is exact."
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"budgets": {
|
||||||
|
"queueBytes": 4096,
|
||||||
|
"taskBytes": 1734,
|
||||||
|
"parentManifestBytes": 24576,
|
||||||
|
"parentStatusBytes": 6144,
|
||||||
|
"evidenceFiles": 12,
|
||||||
|
"evidenceBytes": 8192,
|
||||||
|
"contextTokens": 3500,
|
||||||
|
"taskLines": 38,
|
||||||
|
"taskTokens": 434
|
||||||
|
},
|
||||||
|
"size": {
|
||||||
|
"documents": [
|
||||||
|
{
|
||||||
|
"path": "docs/EXECUTION_QUEUE.md",
|
||||||
|
"bytes": 2168,
|
||||||
|
"lines": 45,
|
||||||
|
"tokens": 542
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "docs/tasks/M16-GAP-00095.md",
|
||||||
|
"bytes": 1734,
|
||||||
|
"lines": 38,
|
||||||
|
"tokens": 434
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "tests/golden/M16-GAP-00094/manifest.json",
|
||||||
|
"bytes": 2731,
|
||||||
|
"lines": 29,
|
||||||
|
"tokens": 683
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "docs/status/M16-GAP-00094.md",
|
||||||
|
"bytes": 719,
|
||||||
|
"lines": 19,
|
||||||
|
"tokens": 180
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sourceTokens": 1839,
|
||||||
|
"evidenceFiles": 1,
|
||||||
|
"evidenceBytes": 964,
|
||||||
|
"evidenceTokens": 241,
|
||||||
|
"totalTokens": 2080,
|
||||||
|
"withinBudget": true
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1122,6 +1122,7 @@ const genericModifierTasks = {
|
|||||||
"M16-GAP-00092": { type: "SIMPLE_DEFORM", stem: "WebGapSimpleDeform", nextTask: "M16-GAP-00093" },
|
"M16-GAP-00092": { type: "SIMPLE_DEFORM", stem: "WebGapSimpleDeform", nextTask: "M16-GAP-00093" },
|
||||||
"M16-GAP-00093": { type: "SKIN", stem: "WebGapSkin", nextTask: "M16-GAP-00094" },
|
"M16-GAP-00093": { type: "SKIN", stem: "WebGapSkin", nextTask: "M16-GAP-00094" },
|
||||||
"M16-GAP-00094": { type: "SMOOTH", stem: "WebGapSmooth", nextTask: "M16-GAP-00095" },
|
"M16-GAP-00094": { type: "SMOOTH", stem: "WebGapSmooth", nextTask: "M16-GAP-00095" },
|
||||||
|
"M16-GAP-00095": { type: "SOFT_BODY", stem: "WebGapSoftBody", nextTask: "M16-GAP-00096" },
|
||||||
};
|
};
|
||||||
if (genericModifierTasks[task]) {
|
if (genericModifierTasks[task]) {
|
||||||
const config = genericModifierTasks[task];
|
const config = genericModifierTasks[task];
|
||||||
|
|||||||
27
tools/web/generated/M16-GAP-00095.py
Normal file
27
tools/web/generated/M16-GAP-00095.py
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import pathlib
|
||||||
|
import sys
|
||||||
|
import bpy
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
arguments = sys.argv[sys.argv.index("--") + 1:]
|
||||||
|
if len(arguments) != 1:
|
||||||
|
raise SystemExit("usage: blender -b --python M16-GAP-00095.py -- OUTPUT")
|
||||||
|
bpy.ops.wm.read_factory_settings(use_empty=True)
|
||||||
|
mesh = bpy.data.meshes.new("WebGapSoftBodyMesh")
|
||||||
|
mesh.from_pydata(
|
||||||
|
[(-1.0, -1.0, 0.0), (1.0, -1.0, 0.0), (1.0, 1.0, 0.0), (-1.0, 1.0, 0.0)],
|
||||||
|
[],
|
||||||
|
[(0, 1, 2, 3)],
|
||||||
|
)
|
||||||
|
obj = bpy.data.objects.new("WebGapSoftBodyObject", mesh)
|
||||||
|
bpy.context.scene.collection.objects.link(obj)
|
||||||
|
modifier = obj.modifiers.new(name="WebGapSoftBody", type="SOFT_BODY")
|
||||||
|
modifier.show_viewport = True
|
||||||
|
modifier.show_render = False
|
||||||
|
bpy.context.view_layer.objects.active = obj
|
||||||
|
obj.select_set(True)
|
||||||
|
bpy.ops.wm.save_as_mainfile(
|
||||||
|
filepath=str(pathlib.Path(arguments[0]).resolve()), check_existing=False, compress=True
|
||||||
|
)
|
||||||
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
BIN
web/app/public/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
BIN
web/app/src/vendor/blender/web_engine.wasm
vendored
Binary file not shown.
Reference in New Issue
Block a user