Skip to content
pyboxbuilder
pyboxbuilder.project.piece.Build
Initializing search
    pinkfish/pythonscad_boxes
    pinkfish/pythonscad_boxes
      • Quickstart Guide
      • Getting Started
      • Box Types Guide & Gallery
      • Lid Patterns Guide & Gallery
      • Lid Labels Guide & Showcase
      • Auto-Layout & Automatic Spacers
      • Board-Game Insert Gallery
      • API Reference
        • pyboxbuilder
          • pyboxbuilder.box
          • pyboxbuilder.builders
          • pyboxbuilder.cli
          • pyboxbuilder.compartments
          • pyboxbuilder.deps
          • pyboxbuilder.enums
          • pyboxbuilder.export
          • pyboxbuilder.helpers
          • pyboxbuilder.layout
          • pyboxbuilder.lid
          • pyboxbuilder.packing
          • pyboxbuilder.paths
          • pyboxbuilder.precision
          • pyboxbuilder.preview
          • pyboxbuilder.project
            • pyboxbuilder.project.compiler
            • pyboxbuilder.project.core
            • pyboxbuilder.project.inventory
            • pyboxbuilder.project.manifest
            • pyboxbuilder.project.piece
              • pyboxbuilder.project.piece.Build
                • C pyboxbuilder.project.piece.Build
                  • M of_kind
              • pyboxbuilder.project.piece.Piece
              • pyboxbuilder.project.piece.ResolvedBox
            • pyboxbuilder.project.pipeline
          • pyboxbuilder.rounding
          • pyboxbuilder.run
          • pyboxbuilder.sleeves
    • C pyboxbuilder.project.piece.Build
      • M of_kind

    pyboxbuilder.project.piece.Build¶

    class pyboxbuilder.project.piece.Build(pieces: tuple[Piece, ...], packing: BoxPacking | None = None)[source]¶

    Bases: object

    Everything a project resolves to: its pieces and its packing.

    of_kind(*kinds: str) → list[Piece][source]¶

    Return the pieces whose kind is any of kinds.

    packing : BoxPacking | None = None¶

    The resolved BoxPacking, or None for a standalone project.

    pieces : tuple[Piece, ...]¶

    Every body, lid and spacer, in project order.

    © Copyright pyboxbuilder contributors.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial