<?xml version="1.0" encoding="UTF-8"?>
<!--
  CabCodeXF sample / round-trip fixture: a 600mm base unit reduced to its two gables.
  Shared by CABcad (export reference output) and cabmodel (import test input).
  Validates against ../schema/cabcodexf-1.0.xsd. See ../cabcodexf-spec.md for conventions.
-->
<CabCodeXF xmlns="https://cabcode.uk/cabcodexf/1.0" version="1.0">

  <Header units="mm" angleUnit="deg"
          producer="CabCodeXF reference fixture 1.0"
          created="2026-10-17T10:15:00Z">
    <Order ref="SAMPLE-600BU"/>
  </Header>

  <Materials>
    <Material id="M2" token="U960"
              manufacturer="Egger" decor="U960" finish="ST9"
              type="MFC" thickness="18"
              description="18mm Egger U960 ST9 Onyx Grey MFC"/>
  </Materials>

  <EdgeMaterials>
    <EdgeMaterial id="E1" token="ABS2-U960" kind="ABS" thickness="2.0"
                  description="2mm ABS Onyx Grey"/>
  </EdgeMaterials>

  <Part id="P1" name="Gable" quantity="2"
        length="720" width="300" thickness="18" grain="length" material="M2">
    <Edging>
      <Edge edge="Y0" as="W1" edgeMaterial="E1"/>
    </Edging>
    <Operations>
      <!-- Shelf line-boring: 5 x 5mm dia x 12mm deep, 32mm pitch along length. -->
      <Bore face="A" diameter="5" depth="12">
        <At x="100" y="37"/>
        <Pattern count="5" dx="32" dy="0"/>
      </Bore>
      <!-- Two construction dowels into the top edge, centred in thickness. -->
      <Bore face="Xmax" diameter="8" depth="30" z="9">
        <At u="60"/>
        <At u="240"/>
      </Bore>
      <!-- Back-panel groove, 15mm in from the back edge. -->
      <Route face="B" toolWidth="4" depth="10">
        <Line x1="8" y1="285" x2="712" y2="285"/>
      </Route>
    </Operations>
  </Part>

  <Assembly id="CAB-1" name="600 Base Unit" units="mm">
    <Instance part="P1" id="GABLE-L">
      <Position x="0" y="0" z="0"/>
      <Orientation localX="+Z" localY="+Y" localZ="+X"/>
    </Instance>
    <Instance part="P1" id="GABLE-R">
      <Position x="582" y="0" z="0"/>
      <Orientation localX="+Z" localY="+Y" localZ="+X"/>
    </Instance>
  </Assembly>

</CabCodeXF>
