bundle.recon3d.stages¶
Recon3D pipeline stages.
Submodules¶
Classes¶
Base class for a pipeline stage. |
|
Imports a 3DGS PLY into Blender headless and saves a |
|
Base class for scene export backends (USDZ, glTF, etc.). |
|
Base class for Gaussian splatting renderers. |
|
Base class for SfM backends. |
|
Base class for cross-platform visualization backends. |
Functions¶
|
|
|
Create a CUDA Gaussians training stage for the given renderer. |
|
Create an SfM stage for the given backend. |
|
Create a VisualizationStage for the given backend. |
Package Contents¶
- class bundle.recon3d.stages.Stage(/, **data: Any)[source]¶
Bases:
bundle.core.entity.EntityBase class for a pipeline stage.
Each stage wraps an external tool (COLMAP, 3DGRUT, etc.) with a thin Python orchestration layer: construct CLI args, run via subprocess, and validate the output contract.
- abstractmethod run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
- Async:
Execute the stage and return the output contract.
- class bundle.recon3d.stages.BlenderStage(/, **data: Any)[source]¶
Bases:
bundle.recon3d.stages.base.StageImports a 3DGS PLY into Blender headless and saves a
.blendfile.Subclasses override
script_nameand_build_paramsto drive a different Blender script without touching the run machinery.- async run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
Execute the stage and return the output contract.
- bundle.recon3d.stages.create_blender_stage() BlenderStage[source]¶
- class bundle.recon3d.stages.ExportStage(/, **data: Any)[source]¶
Bases:
bundle.recon3d.stages.base.StageBase class for scene export backends (USDZ, glTF, etc.).
- async run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
Execute the stage and return the output contract.
- class bundle.recon3d.stages.GaussiansStage(/, **data: Any)[source]¶
Bases:
bundle.recon3d.stages.base.StageBase class for Gaussian splatting renderers.
Subclasses implement
_runwith renderer-specific training logic. Common validation and output discovery lives here.- async run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
Execute the stage and return the output contract.
- bundle.recon3d.stages.create_gaussians_stage(renderer: str = '3dgut', **kwargs) base.GaussiansStage[source]¶
Create a CUDA Gaussians training stage for the given renderer.
- class bundle.recon3d.stages.SfmStage(/, **data: Any)[source]¶
Bases:
bundle.recon3d.stages.base.StageBase class for SfM backends.
Subclasses implement
_runwith the backend-specific pipeline. Common validation and setup lives here.- backend: SfmBackend¶
- async run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
Execute the stage and return the output contract.
- bundle.recon3d.stages.create_sfm_stage(backend: base.SfmBackend = SfmBackend.COLMAP, **kwargs) base.SfmStage[source]¶
Create an SfM stage for the given backend.
- class bundle.recon3d.stages.VisualizationStage(/, **data: Any)[source]¶
Bases:
bundle.recon3d.stages.base.StageBase class for cross-platform visualization backends.
Visualization stages run on any platform (Metal, CPU, CUDA) and produce a quick-preview PLY + renders from an existing training workspace.
- async run(input: bundle.core.data.Data) bundle.core.data.Data[source]¶
Execute the stage and return the output contract.
- bundle.recon3d.stages.create_visualization_stage(backend: str = 'opensplat', **kwargs) base.VisualizationStage[source]¶
Create a VisualizationStage for the given backend.