Skip to content

Example 2: Two Compartments

One divider creates two compartments for keeping different pieces apart.

BGI / EXAMPLE 02Dimensions in mm
Rendered assembled view of Two Compartments
The assembled insert.

The translucent outer shell shows the game box interior. Translucent blue objects are existing containers.

This section shows the walls and compartments BGI will make:

assemblies:
- id: tray
kind: grid
construction: open_grid_box
assembly: glue_allowed
interior:
id: contents
kind: split
axis: x
clear_mm: [100, 80, 30]
first:

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

schema_version: 1
readme: "One divider creates two compartments for keeping different pieces apart."
project:
id: two-compartments
name: Two Compartments
box:
inner_mm: [110, 90, 40]
side_clearance_mm: [0, 0, 0, 0]
top_reserve_mm: 0
material:
profile: de-mdf-3mm
overrides:
thickness_mm: 3
kerf_mm: 0.16
fit_clearance_mm: 0.10
assemblies:
- id: tray
kind: grid
construction: open_grid_box
assembly: glue_allowed
interior:
id: contents
kind: split
axis: x
clear_mm: [100, 80, 30]
first:
id: cards
kind: compartment
clear_mm: [45, 80, 30]
second:
id: tokens
kind: compartment
clear_mm: [52, 80, 30]
layout:
mode: manual
construction_mode: full_box
placements:
- id: tray
origin_mm: [2, 2]
rotation_deg: 0

Open 02-split-box.bgi.yaml and save a copy if you want to edit it in your own folder. Follow Plan your own layout to validate and build it.