bundle.blender.runtime.session ============================== .. py:module:: bundle.blender.runtime.session .. autoapi-nested-parse:: Session orchestration for launching Blender subprocesses. Attributes ---------- .. autoapisummary:: bundle.blender.runtime.session.log Classes ------- .. autoapisummary:: bundle.blender.runtime.session.BlenderLaunchRequest bundle.blender.runtime.session.BlenderSession Module Contents --------------- .. py:data:: log .. py:class:: BlenderLaunchRequest(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` Parameters describing how to launch Blender. .. py:attribute:: executable :type: str .. py:attribute:: args :type: Sequence[str] :value: () .. py:attribute:: env :type: dict[str, str] | None :value: None .. py:method:: as_command() -> str Return the shell command string to execute via bundle.core.process. .. py:class:: BlenderSession(launch_request: BlenderLaunchRequest) Wrapper around `bundle.core.process.Process` to execute Blender runs. .. py:attribute:: launch_request .. py:method:: run() -> bundle.core.process.ProcessResult :async: Execute Blender with the configured arguments.