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

What to notice in the project file
Section titled “What to notice in the project file”This section shows the named copies of the game pieces:
instances: [red-set, blue-set] clear_min_mm: [30, 40, 30] orientations: [xy]Full project file
Section titled “Full project file”The shaded lines mark that section in the complete YAML. This is the same project file linked below.
schema_version: 1readme: "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 Instancesbox: inner_mm: [75, 60, 40]material: profile: de-mdf-3mm overrides: thickness_mm: 3 kerf_mm: 0.16components: - 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: autolayout: mode: auto construction_mode: full_box search: budget: 100 top_k: 2Open 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.