Skip to content

Example 36: Hybrid Fixed and Automatic Groups

Combine a card tray with fixed dimensions and a marker tray sized from its contents.

BGI / EXAMPLE 36Dimensions in mm
Rendered assembled view of Hybrid Fixed and Automatic Groups
The assembled insert.

This section shows the settings for trying layouts:

search:
budget: 4
top_k: 2
fixed_origin_mm: [2, 2]
fixed_assembly_origins:
- id: fixed-grid
origin_mm: [70, 2]

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

schema_version: 1
readme: "Combine a card tray with fixed dimensions and a marker tray sized from its contents."
project:
id: hybrid-fixed-and-auto
name: Hybrid Fixed and Automatic Groups
box:
inner_mm: [125, 70, 35]
material:
profile: de-mdf-3mm
overrides:
thickness_mm: 3
kerf_mm: 0.16
fit_clearance_mm: 0.10
components:
- id: markers
kind: explicit
clear_min_mm: [40, 40, 25]
orientations: [xy]
- id: cards
kind: explicit
clear_min_mm: [40, 40, 25]
orientations: [xy]
assemblies:
- id: auto-grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [markers]
interior:
id: auto-interior
kind: auto
- id: fixed-grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [cards]
interior:
id: card-compartment
kind: compartment
clear_mm: [40, 40, 25]
contents: [cards]
layout:
mode: auto
construction_mode: local_groups
search:
budget: 4
top_k: 2
fixed_origin_mm: [2, 2]
fixed_assembly_origins:
- id: fixed-grid
origin_mm: [70, 2]

Open 36-hybrid-fixed-and-auto.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.