How st-tech/ppf-contact-solver works
ZOZO Contact Solver provides a Blender add-on and Python API for authoring physics scenes, running simulations locally or remotely, and viewing fetched animation/results; it also exposes MCP support for natural-language-driven simulations. The graph shows the Blender control path, the solver/server and Python-session surfaces, and the simulation engine. Several subsystems are represented from README capabilities or directory paths because their implementation was not sampled; those links are marked unverified where needed.
Main entry points: client.py Solver Client · facade.py Communicator · solver.py Add-on UI · _session_.py Python Sessions
Components 18
Blender Add-on
- Add-on UI
blender_addon/ui/solver.py - Communicator
blender_addon/core/facade.py - Event Engine
blender_addon/core/engine.py - App State
blender_addon/core/state.py - Scene Encoder
blender_addon/core/encoder/mesh.py - Solver Client
blender_addon/core/client.py - Animation Cache
blender_addon/core/pc2.py - Scene Groups
blender_addon/models/groups.py
Simulation Runtime
- Contact Solver
crates/ppf-cts-solver/src/main.rs - Solver Server
crates/ppf-cts-server/src/engine.rs - Scene Formats
crates/ppf-cts-formats/src/statistics.rs
Python API
- Python Bindings
crates/ppf-cts-py/src/session_py.rs - Python Sessions
frontend/_session_.py - Python Frontend
frontend/__init__.py
MCP Integration
- MCP Server
blender_addon/mcp/http_handler.py
Other components
- Artist / User
- Blender
- MCP Client
Connections 20
- Artist / User → Blender: authors scene
README.md - Blender → Add-on UI: uses add-on
README.md - Add-on UI → Communicator: dispatches actions
blender_addon/core/facade.py - Communicator → Event Engine: dispatches events
blender_addon/core/facade.py - Event Engine → App State: updates state
blender_addon/core/engine.py - Communicator → App State: reads status
blender_addon/core/facade.py - Add-on UI → Solver Client: runs solver tasks
blender_addon/ui/solver.py - Add-on UI → Scene Encoder: encodes scene
blender_addon/ui/solver.py - Scene Encoder → Scene Groups: reads assignments
blender_addon/core/encoder/mesh.py - Solver Client → Scene Groups: reads group data
blender_addon/core/client.py - Solver Client → Animation Cache: writes animation
blender_addon/core/client.py - Solver Client → Communicator: uses communicator
blender_addon/core/client.py - Solver Client → Solver Server: connects remotely
README.md - Solver Server → Contact Solver: launches solver
- Contact Solver → Scene Formats: uses formats
- Artist / User → Python Sessions: runs Python session
README.md - Python Sessions → Python Bindings: calls Rust bindings
frontend/_session_.py - Python Sessions → Python Frontend: uses frontend modules
frontend/_session_.py - MCP Client → MCP Server: requests simulation
README.md - MCP Server → Communicator: controls add-on