Files
workinf_Blender_Wasm/my-tools/prepare_wbv2_physics_workflow.py
mes123456 f3e21c6b98
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled
chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-10 11:18:01 +08:00

50 lines
2.4 KiB
Python

"""Compile real native physics settings authoring; solver acceptance is deferred."""
from wbv2_compilation_recipe import prepare
JOB = "PHYSICS-SIMULATION-COVERAGE"
PREPARATION_INPUTS = [
"my-tools/wbv2_compilation_recipe.py",
"blender-5.2.0/source/blender/web_engine/web_engine_physics_authoring.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_physics_authoring.hh",
"web/app/src/app/PhysicsSettingsEditor.tsx",
"web/app/src/app/PhysicsSettingsEditor.css",
"web/protocol/physics-simulation.ts",
]
if __name__ == "__main__":
sources = [
"blender-5.2.0/source/blender/web_engine/web_engine_main_state.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_api.cpp",
"blender-5.2.0/source/blender/web_engine/web_engine_physics_authoring.cpp",
"blender-5.2.0/source/blender/modifiers/intern/MOD_cloth.cc",
"blender-5.2.0/source/blender/modifiers/intern/MOD_fluid.cc",
"blender-5.2.0/source/blender/modifiers/intern/MOD_particlesystem.cc",
"blender-5.2.0/source/blender/modifiers/intern/MOD_util.cc",
"blender-5.2.0/source/blender/blenkernel/intern/rigidbody.cc",
"blender-5.2.0/source/blender/blenkernel/intern/fluid.cc",
"blender-5.2.0/source/blender/makesrna/intern/rna_cloth.cc",
"blender-5.2.0/source/blender/makesrna/intern/rna_fluid.cc",
"blender-5.2.0/source/blender/makesdna/DNA_pointcache_types.h",
]
prepare(
JOB,
"Edit rigid body, Cloth and Fluid native settings; configure existing particle caches "
"from the Physics panel and retain real Main data when saving. Reuse native data "
"creation and serialization callbacks. Browser Bullet simulation is not enabled; "
"solver execution and runtime acceptance remain separate unfinished work.",
["web-command:setRigidBodySettings", "web-command:setClothSettings",
"web-command:setFluidSettings", "web-command:setParticleCache",
"web-command:setSimulationPlayback"],
sources,
PREPARATION_INPUTS + sources + [
"my-tools/prepare_wbv2_physics_workflow.py", "web/app/src/app/App.tsx",
"web/app/src/app/app-shell.css",
"blender-5.2.0/source/blender/web_engine/CMakeLists.txt",
"blender-5.2.0/source/blender/modifiers/CMakeLists.txt",
],
["web/protocol/physics-commands.ts"],
)