bundle.recon3d.stages.blender

Blender stage — import 3DGS output into Blender.

Submodules

Classes

BlenderInput

Input contract for the Blender import stage.

BlenderOutput

Output contract from the Blender import stage.

BlenderStage

Imports a 3DGS PLY into Blender headless and saves a .blend file.

Package Contents

class bundle.recon3d.stages.blender.BlenderInput(/, **data: Any)[source]

Bases: bundle.core.data.Data

Input contract for the Blender import stage.

gaussians_output: bundle.recon3d.stages.gaussians.base.GaussiansOutput
blend_output: pathlib.Path
render: bool = False
engine: Literal['EEVEE', 'CYCLES'] = 'EEVEE'
render_dir: pathlib.Path | None = None
class bundle.recon3d.stages.blender.BlenderOutput(/, **data: Any)[source]

Bases: bundle.core.data.Data

Output contract from the Blender import stage.

blend_path: pathlib.Path
render_dir: pathlib.Path | None = None
validate_exists() → bool[source]
class bundle.recon3d.stages.blender.BlenderStage(/, **data: Any)[source]

Bases: bundle.recon3d.stages.base.Stage

Imports a 3DGS PLY into Blender headless and saves a .blend file.

Subclasses override script_name and _build_params to drive a different Blender script without touching the run machinery.

name: str = 'blender'
script_name: str = 'ply_to_blend'
async check_deps() → bool[source]

Return True if a usable Blender installation is discoverable.

async run(input: bundle.core.data.Data) → bundle.core.data.Data[source]

Execute the stage and return the output contract.