Skip to content

Example 090: Variable Trays Beside Fixed Storage

Search one to three divided trays around a fixed grid and existing closed box while keeping a card deck pinned.

BGI / EXAMPLE 090Dimensions in mm
Rendered assembled view of Variable Trays Beside Fixed Storage
The assembled insert.

This section shows the defining layout and construction settings:

containers:
- id: existing-deck-box
outer_mm: [30, 30, 30]
side_clearance_mm: [1, 1, 1, 1]
top_clearance_mm: 3
rotations_deg: [0]
inventory:
- {id: stored-cards, count: 60}

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

schema_version: 1
readme: "Search one to three divided trays around a fixed grid and existing closed box while keeping a card deck pinned."
project:
id: mixed-fixed-variable-trays
name: Variable Trays Beside Fixed Storage
box:
inner_mm: [160, 100, 120]
material:
profile: de-mdf-3mm
overrides:
thickness_mm: 3
kerf_mm: 0.16
fit_clearance_mm: 0.10
components:
- {id: card-deck-a, kind: explicit, clear_min_mm: [55, 30, 25], orientations: [xy, yx]}
- {id: card-deck-b, kind: explicit, clear_min_mm: [30, 35, 25], orientations: [xy]}
- id: loose-markers
kind: loose
solid_volume_cm3: 8
fill_fraction: 0.5
footprints_mm: [[30, 30]]
allowed_heights_mm: [25]
allowance_total_mm: [0, 0, 0]
- {id: dice, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: fixed-dice, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
containers:
- id: existing-deck-box
outer_mm: [30, 30, 30]
side_clearance_mm: [1, 1, 1, 1]
top_clearance_mm: 3
rotations_deg: [0]
inventory:
- {id: stored-cards, count: 60}
assemblies:
- id: card-tray
kind: tray
construction: open_grid_box
assembly: glue_allowed
side_clearance_mm: [1, 1, 1, 1]
members: [card-deck-a]
interior: {id: card-interior, kind: auto}
- id: token-tray
kind: tray
construction: open_grid_box
assembly: glue_allowed
side_clearance_mm: [2, 2, 2, 2]
members: []
interior: {id: token-interior, kind: auto}
- id: tile-tray
kind: tray
construction: open_grid_box
assembly: glue_allowed
side_clearance_mm: [1, 1, 1, 1]
members: []
interior: {id: tile-interior, kind: auto}
- id: fixed-dice-grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [fixed-dice]
interior:
id: fixed-dice-compartment
kind: compartment
clear_mm: [30, 30, 25]
contents: [fixed-dice]
layout:
mode: auto
construction_mode: local_groups
search:
budget: 6000
top_k: 3
member_partition: one_to_three_trays
fixed_container_origins:
- {id: existing-deck-box, origin_mm: [120, 6]}
fixed_assembly_origins:
- {id: fixed-dice-grid, origin_mm: [120, 55]}

Open 090-mixed-fixed-variable-trays.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.