Skip to content

Example 20: Automatic Separate Player Set Instances

Give each repeated player set its own compartment without drawing every compartment by hand.

BGI / EXAMPLE 20Dimensions in mm
Rendered assembled view of Automatic Separate Player Set Instances
The assembled insert.

This section shows the named copies of the game pieces:

instances: [red-set, blue-set]
clear_min_mm: [30, 40, 30]
orientations: [xy]

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

schema_version: 1
readme: "Give each repeated player set its own compartment without drawing every compartment by hand."
project:
id: auto-player-set-instances
name: Automatic Separate 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]
orientations: [xy]
assemblies:
- id: grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [red-set, blue-set]
interior:
id: all
kind: auto
layout:
mode: auto
construction_mode: full_box
search:
budget: 100
top_k: 2

Open 20-auto-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.