pyboxbuilder.project.pipeline.GeometryPipeline¶
- class pyboxbuilder.project.pipeline.GeometryPipeline[source]¶
Bases:
objectExecutes CSG construction, lid decoration, previewing, and 3MF exporting (FR-093).
-
build(manifest: ProjectManifest, compiler: LayoutCompiler | None =
None, build_box_solids_fn: Any =None) Build[source]¶ Resolve the layout and describe every piece of this project.
The one build path. Previewing renders what this returns and export writes it.
-
export(manifest: ProjectManifest, compiler: LayoutCompiler | None =
None, out_dir: str | Path ='.', fn: int | None =None, fa: float | None =None, fs: float | None =None, only: str | Iterable[str] | None =None, force: bool =False, build_box_solids_fn: Any =None, decorated_lid_fn: Any =None, fingerprint_fn: Any =None) ExportResult[source]¶ Write every piece of this project, and the layout PDF.
-
preview_pieces(manifest: ProjectManifest, compiler: LayoutCompiler | None =
None, show_lids: bool =False, remove_layers: int =0, only: str | Iterable[str] | None =None, lids_only: bool =False, build_box_solids_fn: Any =None, decorated_lid_fn: Any =None) list[PreviewPiece][source]¶ Build the list of separately-coloured solids show renders.
-
show(manifest: ProjectManifest, compiler: LayoutCompiler | None =
None, show_lids: bool =False, remove_layers: int =0, only: str | Iterable[str] | None =None, lids_only: bool =False, fn: int | None =None, fa: float | None =None, fs: float | None =None) None[source]¶ Preview the packed box layout interactively.
-
build(manifest: ProjectManifest, compiler: LayoutCompiler | None =