Example 099: Bounded Trays
Two synthetic double-wall trays share a 108-mm outside width and 43-mm outside height while keeping their card and token cavities fixed. Explicit border limits and raised floors adapt to material thickness; saved recipes preserve the chosen dimensions. Physical fit, adhesive strength and transport retention remain unmeasured.
BGI / EXAMPLE 099Dimensions in mm

What to notice in the project file
Section titled “What to notice in the project file”This section shows the permitted dimension changes and common outside measurements:
dimensioning: schema_version: 1 allocation: equal_by_priority parameters: - {id: a-left, group: tray-a, role: border_x_min, range_mm: {min: 24, preferred: 24, max: 30}} - {id: a-right, group: tray-a, role: border_x_max, range_mm: {min: 24, preferred: 24, max: 30}} - {id: b-left, group: tray-b, role: border_x_min, range_mm: {min: 24, preferred: 24, max: 30}} - {id: b-right, group: tray-b, role: border_x_max, range_mm: {min: 24, preferred: 24, max: 30}} - {id: a-floor, group: tray-a, role: floor_raise, cavity: cards-cavity, range_mm: {min: 0, preferred: 17, max: 25}} - {id: b-floor, group: tray-b, role: floor_raise, cavity: tokens-cavity, range_mm: {min: 0, preferred: 12, max: 25}} alignments: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: "Two synthetic double-wall trays share a 108-mm outside width and 43-mm outside height while keeping their card and token cavities fixed. Explicit border limits and raised floors adapt to material thickness; saved recipes preserve the chosen dimensions. Physical fit, adhesive strength and transport retention remain unmeasured."project: {id: bounded-trays, name: Bounded Trays}box: {inner_mm: [220, 130, 55]}material: profile: de-mdf-3mm overrides: {thickness_mm: 3, kerf_mm: 0.16, fit_clearance_mm: 0}components: - id: cards kind: cards count: 20 card_outer_mm: [44, 60] effective_thickness_mm: 0.6 split_counts: [20] allowance_total_mm: [2, 2, 2] orientations: [flat_xy] - id: tokens kind: objects count: 18 object_outer_mm: [18, 18, 3] arrangement: [3, 3, 2] object_gap_mm: [2, 2, 0] allowance_total_mm: [2, 2, 2] orientations: [xyz]assemblies: - id: tray-a kind: tray construction: double_wall_tray assembly: glue_allowed side_clearance_mm: [1, 1, 1, 1] members: [cards] double_wall: schema_version: 1 outer_size_mm: [96, 114, 43] cavities: - {id: cards-cavity, at_mm: [24, 24], clear_mm: [48, 66, 20], floor_raise_mm: 17, contents: [cards]} - id: tray-b kind: tray construction: double_wall_tray assembly: glue_allowed side_clearance_mm: [1, 1, 1, 1] members: [tokens] double_wall: schema_version: 1 outer_size_mm: [108, 114, 43] cavities: - {id: tokens-cavity, at_mm: [24, 24], clear_mm: [60, 66, 25], floor_raise_mm: 12, contents: [tokens]}layout: mode: manual construction_mode: local_groups placements: - {id: tray-a, origin_mm: [1, 1], rotation_deg: 0} - {id: tray-b, origin_mm: [111, 1], rotation_deg: 0}dimensioning: schema_version: 1 allocation: equal_by_priority parameters: - {id: a-left, group: tray-a, role: border_x_min, range_mm: {min: 24, preferred: 24, max: 30}} - {id: a-right, group: tray-a, role: border_x_max, range_mm: {min: 24, preferred: 24, max: 30}} - {id: b-left, group: tray-b, role: border_x_min, range_mm: {min: 24, preferred: 24, max: 30}} - {id: b-right, group: tray-b, role: border_x_max, range_mm: {min: 24, preferred: 24, max: 30}} - {id: a-floor, group: tray-a, role: floor_raise, cavity: cards-cavity, range_mm: {min: 0, preferred: 17, max: 25}} - {id: b-floor, group: tray-b, role: floor_raise, cavity: tokens-cavity, range_mm: {min: 0, preferred: 12, max: 25}} alignments: - {id: width, members: [{group: tray-a}, {group: tray-b}], measure: outer_x, target_mm: 108} - {id: height, members: [{group: tray-a}, {group: tray-b}], measure: outer_z, target_mm: 43}manufacturing: sheets: - {id: sheet, material_profile: de-mdf-3mm, size_mm: [600, 400], count: 2} sheet_margin_mm: 5 cut_gap_mm: 3 rotations_deg: [0, 90]preview: contents: generic content_visuals: tokens: rect_token content_styles: overrides: cards: {color: "#c65345"} tokens: {color: "#326cba"}Open 099-bounded-dimensions.bgi.yaml and save a copy if you want to edit it in your own folder. Follow Plan your own layout to validate and build it.