Example 38: Hybrid Grid with Existing Container
Keep the card tray in place while arranging a marker tray and an existing closed box around it.
BGI / EXAMPLE 38Dimensions in mm

What to notice in the project file
Section titled “What to notice in the project file”This section shows how the design combines storage areas:
containers: - id: existing-box outer_mm: [28, 40, 25] side_clearance_mm: [2, 2, 2, 2] top_clearance_mm: 2 rotations_deg: [0] inventory: - {id: spare-sleeves, count: 10}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: "Keep the card tray in place while arranging a marker tray and an existing closed box around it."project: id: hybrid-with-container name: Hybrid Grid with Existing Containerbox: inner_mm: [135, 70, 35]material: profile: de-mdf-3mm overrides: thickness_mm: 3 kerf_mm: 0.16 fit_clearance_mm: 0.10components: - id: markers kind: explicit clear_min_mm: [40, 40, 25] orientations: [xy] - id: cards kind: explicit clear_min_mm: [40, 40, 25] orientations: [xy]containers: - id: existing-box outer_mm: [28, 40, 25] side_clearance_mm: [2, 2, 2, 2] top_clearance_mm: 2 rotations_deg: [0] inventory: - {id: spare-sleeves, count: 10}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: 20 top_k: 3 fixed_assembly_origins: - id: fixed-grid origin_mm: [2, 2]Open 38-hybrid-with-container.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.