Skip to content

Example 130: Automatic Compartments below an Existing Board

Automatically plan ordinary compartments below an individually described existing solid board. Save and rebuild the exact rotated board and compartment layout. The generic card content stays outside the supported height model; support, rigidity and transport remain unverified.

BGI / EXAMPLE 130Dimensions in mm
Rendered assembled view of Automatic Compartments below an Existing Board
The assembled insert.

This section shows the existing solid board and its separately declared dimensions:

"reserved_covers": [
{
"id": "existing-board",
"body_model": "solid_rectangular_plate",
"size_mm": [
47,
88,
3
],
"origin_mm": [
6,

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

{
"schema_version": 1,
"readme": "Automatically plan ordinary compartments below an individually described existing solid board. Save and rebuild the exact rotated board and compartment layout. The generic card content stays outside the supported height model; support, rigidity and transport remain unverified.",
"project": {
"id": "auto-reserved-board",
"name": "Automatic Compartments below an Existing Board"
},
"box": {
"inner_mm": [
100,
55,
41
],
"top_reserve_mm": 3
},
"material": {
"profile": "de-mdf-3mm",
"overrides": {
"thickness_mm": 3,
"kerf_mm": 0.16,
"fit_clearance_mm": 0.1
}
},
"components": [
{
"id": "flat-cards",
"kind": "explicit",
"clear_min_mm": [
40,
30,
20
],
"orientations": [
"xy"
],
"clear_max_mm": [
100,
100,
35
]
},
{
"id": "marker-stack",
"kind": "explicit",
"clear_min_mm": [
30,
30,
35
],
"orientations": [
"xy"
],
"clear_max_mm": [
100,
100,
35
]
}
],
"assemblies": [
{
"id": "grid",
"kind": "grid",
"construction": "open_grid_box",
"assembly": "glue_allowed",
"members": [
"flat-cards",
"marker-stack"
],
"interior": {
"id": "all",
"kind": "auto"
}
}
],
"layout": {
"mode": "auto",
"construction_mode": "full_box",
"search": {
"budget": 10,
"top_k": 1,
"interior_template": {
"id": "ordinary-region",
"kind": "split",
"axis": "x",
"clear_mm": [
94,
49,
35
],
"first": {
"id": "cards-cell",
"kind": "compartment",
"clear_mm": [
45,
49,
35
],
"contents": [
"flat-cards"
]
},
"second": {
"id": "markers-area",
"kind": "auto",
"clear_mm": [
46,
49,
35
],
"requirements": [
"marker-stack"
],
"search": {
"fixed_order": [
"marker-stack"
],
"allowed_shapes": [
"strip"
]
}
}
}
}
},
"vertical_retention": {
"schema_version": 4,
"model": "rigid-cell-core-v1",
"intent": "analyze",
"states": [
{
"id": "closed",
"kind": "closed_transport",
"cover_ids": [
"existing-board"
]
},
{
"id": "open",
"kind": "open_on_table",
"removed_cover_ids": [
"existing-board"
]
}
],
"cores": [],
"regions": [
{
"id": "ordinary-region",
"compartments": [
"cards-cell"
],
"closing_level_mm": 38,
"closing_tolerance_mm": 0,
"floor_uncertainty_mm": 0.1,
"content_height_uncertainty_mm": 0.1,
"limits": {
"content_clearance_min_mm": 0.2,
"content_lift_max_mm": 20,
"barrier_safety_margin_mm": 0.1
},
"cover": {
"kind": "reserved_object",
"id": "existing-board",
"underside_uncertainty_mm": 0.1,
"basis": "synthetic",
"source": "synthetic-existing-board-auto-v1",
"motion": {
"schema_version": 1,
"basis": "declared_fixture",
"source": "Synthetic declared motion assumption; no verified physical binding.",
"translation_limit_mm": [
0,
0,
0
],
"rotation_limit_deg": [
0,
0,
0
]
}
},
"adaptations": []
}
],
"reserved_covers": [
{
"id": "existing-board",
"body_model": "solid_rectangular_plate",
"size_mm": [
47,
88,
3
],
"origin_mm": [
6,
4,
38
],
"rotation_deg": 90,
"source": {
"basis": "synthetic",
"reference": "synthetic-existing-board-auto-v1",
"method": "Explicit solid constant-thickness rectangular test board; no holes, folds, stack envelope or physical measurement."
},
"rigidity": {
"basis": "declared_rigid",
"source": "Synthetic rigid-body assumption; bending and strength unmeasured."
},
"support": {
"basis": "declared_fixture",
"source": "External support assumed to carry the board without loading contents; supporting structure not manufactured or physically verified."
}
}
]
}
}

Open 130-auto-reserved-board.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.