Skip to content

Example 21: Grouped Player Set Instances

Store repeated player sets together when they do not need individual compartments.

BGI / EXAMPLE 21Dimensions in mm
Rendered assembled view of Grouped Player Set Instances
The assembled insert.

This section shows how items share one storage space:

groups:
- id: shared-sets
axis: x
gap_mm: 2
members:
- requirement: red-set
orientation: xy
- requirement: blue-set
orientation: xy

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

schema_version: 1
readme: "Store repeated player sets together when they do not need individual compartments."
project:
id: grouped-player-set-instances
name: Grouped Player Set Instances
box:
inner_mm: [75, 60, 40]
material:
profile: de-mdf-3mm
overrides:
thickness_mm: 3
kerf_mm: 0.16
components:
- id: player-set-template
kind: explicit
instances: [red-set, blue-set]
clear_min_mm: [30, 40, 30]
clear_max_mm: [65, 45, 35]
orientations: [xy]
groups:
- id: shared-sets
axis: x
gap_mm: 2
members:
- requirement: red-set
orientation: xy
- requirement: blue-set
orientation: xy
assemblies:
- id: grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [shared-sets]
interior:
id: all
kind: auto
layout:
mode: auto
construction_mode: full_box
search:
budget: 100
top_k: 2

Open 21-grouped-player-set-instances.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.