Skip to content
pyboxbuilder
pyboxbuilder.project.inventory.BoxPieceSummary
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.inventory.BoxPieceSummary
                • C pyboxbuilder.project.inventory.BoxPieceSummary
                  • M format_contents
              • pyboxbuilder.project.inventory.ComponentChecklistRow
              • pyboxbuilder.project.inventory.InventoryVerification
              • pyboxbuilder.project.inventory.PieceEntry
              • pyboxbuilder.project.inventory.ProjectInventory
              • pyboxbuilder.project.inventory.summarize_box_pieces
              • pyboxbuilder.project.inventory.summarize_project
              • pyboxbuilder.project.inventory.verify_inventory
            • pyboxbuilder.project.manifest
            • pyboxbuilder.project.piece
            • pyboxbuilder.project.pipeline
          • pyboxbuilder.rounding
          • pyboxbuilder.run
          • pyboxbuilder.sleeves
    • C pyboxbuilder.project.inventory.BoxPieceSummary
      • M format_contents

    pyboxbuilder.project.inventory.BoxPieceSummary¶

    class pyboxbuilder.project.inventory.BoxPieceSummary(label: str, box_type: BoxType, printed_bodies: int, printed_lids: int, compartment_count: int, entries: tuple[PieceEntry, ...], counted_pieces: int)[source]¶

    Bases: object

    Extracted piece-count and printed-part summary for one sub-box.

    format_contents(max_items: int = 5) → str[source]¶

    Return a concise single-line description of what goes inside this box.

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