πŸ““ JupyterLab Python APIΒΆ

This section documents the frontend Python package, the API you import inside a JupyterLab notebook running on the solver host to drive the solver directly. Once a Blender scene has been transferred, the same project can be run, previewed, parameter-swept, and inspected entirely from a notebook, with Blender closed.

For when to reach for JupyterLab and how it fits into the end-to-end loop, see πŸ““ JupyterLab. This section is the reference material the notebook calls into.

Typical entry point:

from frontend import App

app = App.load()              # attach to the transferred project
session = app.session         # the FixedSession you drive
session.param.set("dt", 0.01) # override a simulation parameter
session.run()                 # start / resume the solver

What each reference page covers

  • 🧩 Module Reference lists every class, method, and property the package exports: frontend.App, the scene / session / asset / mesh managers, and the parameter and plotting helpers.

  • βš™οΈ Simulation Parameters lists the application-wide parameters set via session.param.set(...) (step size, Newton iteration bounds, contact gaps, frame rate, etc.).

  • πŸ§ͺ Material Parameters lists the per-object material parameters set via object.param.set(...), with separate defaults for the three element types: triangles, tetrahedra, and rods.

  • πŸ“‘ Log Channels lists the named log streams the solver emits, retrievable with session.get.log.numbers(name) / session.get.log.stdout() for live plotting and post-run analysis.