Skip to content

Example 27: Four Components with One Fixed Cross Slot

One chosen group keeps its assigned place while three others fill the remaining spaces in a two by two tray.

BGI / EXAMPLE 27Dimensions in mm
Rendered assembled view of Four Components with One Fixed Cross Slot
The assembled insert.

This section shows the fixed compartment positions:

fixed_slots:
- slot: 1
requirement: set-d
allowed_shapes: [cross]

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

schema_version: 1
readme: "One chosen group keeps its assigned place while three others fill the remaining spaces in a two by two tray."
project:
id: fixed-slot-cross
name: Four Components with One Fixed Cross Slot
box:
inner_mm: [100, 100, 35]
material:
profile: de-mdf-3mm
overrides:
thickness_mm: 3
kerf_mm: 0.16
fit_clearance_mm: 0.10
components:
- id: set-a
kind: explicit
clear_min_mm: [45, 45, 25]
orientations: [xy]
- id: set-b
kind: explicit
clear_min_mm: [45, 45, 25]
orientations: [xy]
- id: set-c
kind: explicit
clear_min_mm: [45, 45, 25]
orientations: [xy]
- id: set-d
kind: explicit
clear_min_mm: [45, 45, 25]
orientations: [xy]
assemblies:
- id: grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [set-a, set-b, set-c, set-d]
interior:
id: all
kind: auto
layout:
mode: auto
construction_mode: full_box
search:
budget: 100
top_k: 3
fixed_slots:
- slot: 1
requirement: set-d
allowed_shapes: [cross]

Open 27-fixed-slot-cross.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.