Skip to content

Example 34: Automatic 3x3 Grid

Nine groups of the same size each receive a space in a three by three tray.

BGI / EXAMPLE 34Dimensions in mm
Rendered assembled view of Automatic 3x3 Grid
The assembled insert.

This section shows the settings for trying layouts:

search:
budget: 12
top_k: 3
allowed_shapes: [grid-3x3]

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

schema_version: 1
readme: "Nine groups of the same size each receive a space in a three by three tray."
project:
id: auto-3x3-grid
name: Automatic 3x3 Grid
box:
inner_mm: [110, 110, 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: [30, 30, 25], orientations: [xy]}
- {id: set-b, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-c, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-d, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-e, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-f, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-g, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-h, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
- {id: set-i, kind: explicit, clear_min_mm: [30, 30, 25], orientations: [xy]}
assemblies:
- id: grid
kind: grid
construction: open_grid_box
assembly: glue_allowed
members: [set-a, set-b, set-c, set-d, set-e, set-f, set-g, set-h, set-i]
interior:
id: all
kind: auto
layout:
mode: auto
construction_mode: full_box
search:
budget: 12
top_k: 3
allowed_shapes: [grid-3x3]

Open 34-auto-3x3-grid.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.