Skip to content

Example 51: Automatic Shared Bulk Volume

Let the layout size a single compartment from the combined bulk volume of two loose-marker groups.

BGI / EXAMPLE 51Dimensions in mm
Rendered assembled view of Automatic Shared Bulk Volume
The assembled insert.

This section shows how items share one storage space:

groups:
- id: mixed-markers
layout: bulk
measured_bulk_volume_cm3: 60
footprints_mm: [[40, 50], [50, 40]]
allowed_heights_mm: [30]
allowance_total_mm: [2, 2, 0]
members:
- {requirement: red-markers}
- {requirement: blue-markers}

The shaded lines mark that section in the complete YAML. This is the same project file linked below.

schema_version: 1
readme: "Let the layout size a single compartment from the combined bulk volume of two loose-marker groups."
project: {id: auto-shared-bulk-volume, name: Automatic Shared Bulk Volume}
box: {inner_mm: [90, 80, 40]}
material:
profile: de-mdf-3mm
overrides: {thickness_mm: 3, kerf_mm: 0.16}
components:
- id: marker-template
instances: [red-markers, blue-markers]
kind: loose
measured_bulk_volume_cm3: 36
footprints_mm: [[30, 40]]
allowed_heights_mm: [30]
allowance_total_mm: [4, 4, 2]
groups:
- id: mixed-markers
layout: bulk
measured_bulk_volume_cm3: 60
footprints_mm: [[40, 50], [50, 40]]
allowed_heights_mm: [30]
allowance_total_mm: [2, 2, 0]
members:
- {requirement: red-markers}
- {requirement: blue-markers}
assemblies:
- id: grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [mixed-markers]
interior: {id: mixed-compartment, kind: auto}
layout:
mode: auto
construction_mode: full_box
search: {budget: 10, top_k: 1}

Open 51-auto-shared-bulk-volume.bgi.yaml and save a copy if you want to edit it in your own folder. This project asks BGI to try layouts. Follow Let BGI suggest layouts to choose a saved result before building.