{
  "units": "mm",
  "case": {
    "width": 125.0,
    "height": 78.0,
    "thickness_middle": 22.2,
    "depth_overall": 29.2
  },
  "origin": "bottom-left corner of the board, seen from the front (the side with the parts)",
  "board": {
    "width": 108.0,
    "height": 46.0,
    "thickness": 1.2,
    "corner_radius_bottom": 2.0,
    "top_corners": "follow the inside of the case 0.4 mm in: use board.dxf for the exact outline"
  },
  "board_outline": [
    [
      2.0,
      0.0
    ],
    [
      1.23,
      0.15
    ],
    [
      0.59,
      0.59
    ],
    [
      0.15,
      1.23
    ],
    [
      0.0,
      2.0
    ],
    [
      0.0,
      2.98
    ],
    [
      0.0,
      3.96
    ],
    [
      0.0,
      4.95
    ],
    [
      0.0,
      5.93
    ],
    [
      0.0,
      6.91
    ],
    [
      0.0,
      7.89
    ],
    [
      0.0,
      8.88
    ],
    [
      0.0,
      9.86
    ],
    [
      0.0,
      10.84
    ],
    [
      0.0,
      11.82
    ],
    [
      0.0,
      12.8
    ],
    [
      0.0,
      13.79
    ],
    [
      0.0,
      14.77
    ],
    [
      0.0,
      15.75
    ],
    [
      0.0,
      16.73
    ],
    [
      0.0,
      17.72
    ],
    [
      0.0,
      18.7
    ],
    [
      0.0,
      19.68
    ],
    [
      0.0,
      20.66
    ],
    [
      0.0,
      21.64
    ],
    [
      0.0,
      22.63
    ],
    [
      0.0,
      23.61
    ],
    [
      0.0,
      24.59
    ],
    [
      0.0,
      25.57
    ],
    [
      0.0,
      26.56
    ],
    [
      0.0,
      27.54
    ],
    [
      0.0,
      28.52
    ],
    [
      0.0,
      29.5
    ],
    [
      0.0,
      30.48
    ],
    [
      0.0,
      31.47
    ],
    [
      0.0,
      32.45
    ],
    [
      0.0,
      33.43
    ],
    [
      0.0,
      34.41
    ],
    [
      0.0,
      35.4
    ],
    [
      0.0,
      36.38
    ],
    [
      0.0,
      37.36
    ],
    [
      -0.0,
      38.34
    ],
    [
      0.63,
      39.12
    ],
    [
      1.29,
      39.86
    ],
    [
      2.0,
      40.57
    ],
    [
      2.73,
      41.24
    ],
    [
      3.5,
      41.87
    ],
    [
      4.31,
      42.46
    ],
    [
      5.14,
      43.01
    ],
    [
      6.0,
      43.52
    ],
    [
      6.88,
      43.98
    ],
    [
      7.78,
      44.4
    ],
    [
      8.71,
      44.77
    ],
    [
      9.65,
      45.09
    ],
    [
      10.61,
      45.37
    ],
    [
      11.58,
      45.6
    ],
    [
      12.56,
      45.77
    ],
    [
      13.55,
      45.9
    ],
    [
      14.55,
      45.97
    ],
    [
      15.54,
      46.0
    ],
    [
      16.54,
      46.0
    ],
    [
      17.54,
      46.0
    ],
    [
      18.54,
      46.0
    ],
    [
      19.54,
      46.0
    ],
    [
      20.54,
      46.0
    ],
    [
      21.54,
      46.0
    ],
    [
      22.53,
      46.0
    ],
    [
      23.53,
      46.0
    ],
    [
      24.53,
      46.0
    ],
    [
      25.53,
      46.0
    ],
    [
      26.53,
      46.0
    ],
    [
      27.53,
      46.0
    ],
    [
      28.53,
      46.0
    ],
    [
      29.53,
      46.0
    ],
    [
      30.53,
      46.0
    ],
    [
      31.52,
      46.0
    ],
    [
      32.52,
      46.0
    ],
    [
      33.52,
      46.0
    ],
    [
      34.52,
      46.0
    ],
    [
      35.52,
      46.0
    ],
    [
      36.52,
      46.0
    ],
    [
      37.52,
      46.0
    ],
    [
      38.52,
      46.0
    ],
    [
      39.52,
      46.0
    ],
    [
      40.51,
      46.0
    ],
    [
      41.51,
      46.0
    ],
    [
      42.51,
      46.0
    ],
    [
      43.51,
      46.0
    ],
    [
      44.51,
      46.0
    ],
    [
      45.51,
      46.0
    ],
    [
      46.51,
      46.0
    ],
    [
      47.51,
      46.0
    ],
    [
      48.51,
      46.0
    ],
    [
      49.5,
      46.0
    ],
    [
      50.5,
      46.0
    ],
    [
      51.5,
      46.0
    ],
    [
      52.5,
      46.0
    ],
    [
      53.5,
      46.0
    ],
    [
      54.5,
      46.0
    ],
    [
      55.5,
      46.0
    ],
    [
      56.5,
      46.0
    ],
    [
      57.5,
      46.0
    ],
    [
      58.5,
      46.0
    ],
    [
      59.49,
      46.0
    ],
    [
      60.49,
      46.0
    ],
    [
      61.49,
      46.0
    ],
    [
      62.49,
      46.0
    ],
    [
      63.49,
      46.0
    ],
    [
      64.49,
      46.0
    ],
    [
      65.49,
      46.0
    ],
    [
      66.49,
      46.0
    ],
    [
      67.49,
      46.0
    ],
    [
      68.48,
      46.0
    ],
    [
      69.48,
      46.0
    ],
    [
      70.48,
      46.0
    ],
    [
      71.48,
      46.0
    ],
    [
      72.48,
      46.0
    ],
    [
      73.48,
      46.0
    ],
    [
      74.48,
      46.0
    ],
    [
      75.48,
      46.0
    ],
    [
      76.48,
      46.0
    ],
    [
      77.47,
      46.0
    ],
    [
      78.47,
      46.0
    ],
    [
      79.47,
      46.0
    ],
    [
      80.47,
      46.0
    ],
    [
      81.47,
      46.0
    ],
    [
      82.47,
      46.0
    ],
    [
      83.47,
      46.0
    ],
    [
      84.47,
      46.0
    ],
    [
      85.47,
      46.0
    ],
    [
      86.46,
      46.0
    ],
    [
      87.46,
      46.0
    ],
    [
      88.46,
      46.0
    ],
    [
      89.46,
      46.0
    ],
    [
      90.46,
      46.0
    ],
    [
      91.46,
      46.0
    ],
    [
      92.46,
      46.0
    ],
    [
      93.45,
      45.97
    ],
    [
      94.45,
      45.9
    ],
    [
      95.44,
      45.77
    ],
    [
      96.42,
      45.6
    ],
    [
      97.39,
      45.37
    ],
    [
      98.35,
      45.09
    ],
    [
      99.29,
      44.77
    ],
    [
      100.22,
      44.4
    ],
    [
      101.12,
      43.98
    ],
    [
      102.0,
      43.52
    ],
    [
      102.86,
      43.01
    ],
    [
      103.69,
      42.46
    ],
    [
      104.5,
      41.87
    ],
    [
      105.27,
      41.24
    ],
    [
      106.0,
      40.57
    ],
    [
      106.71,
      39.86
    ],
    [
      107.37,
      39.12
    ],
    [
      108.0,
      38.34
    ],
    [
      108.0,
      37.36
    ],
    [
      108.0,
      36.38
    ],
    [
      108.0,
      35.4
    ],
    [
      108.0,
      34.41
    ],
    [
      108.0,
      33.43
    ],
    [
      108.0,
      32.45
    ],
    [
      108.0,
      31.47
    ],
    [
      108.0,
      30.48
    ],
    [
      108.0,
      29.5
    ],
    [
      108.0,
      28.52
    ],
    [
      108.0,
      27.54
    ],
    [
      108.0,
      26.56
    ],
    [
      108.0,
      25.57
    ],
    [
      108.0,
      24.59
    ],
    [
      108.0,
      23.61
    ],
    [
      108.0,
      22.63
    ],
    [
      108.0,
      21.64
    ],
    [
      108.0,
      20.66
    ],
    [
      108.0,
      19.68
    ],
    [
      108.0,
      18.7
    ],
    [
      108.0,
      17.72
    ],
    [
      108.0,
      16.73
    ],
    [
      108.0,
      15.75
    ],
    [
      108.0,
      14.77
    ],
    [
      108.0,
      13.79
    ],
    [
      108.0,
      12.8
    ],
    [
      108.0,
      11.82
    ],
    [
      108.0,
      10.84
    ],
    [
      108.0,
      9.86
    ],
    [
      108.0,
      8.88
    ],
    [
      108.0,
      7.89
    ],
    [
      108.0,
      6.91
    ],
    [
      108.0,
      5.93
    ],
    [
      108.0,
      4.95
    ],
    [
      108.0,
      3.96
    ],
    [
      108.0,
      2.98
    ],
    [
      108.0,
      2.0
    ],
    [
      107.85,
      1.23
    ],
    [
      107.41,
      0.59
    ],
    [
      106.77,
      0.15
    ],
    [
      106.0,
      0.0
    ],
    [
      105.0,
      0.0
    ],
    [
      104.0,
      0.0
    ],
    [
      103.0,
      0.0
    ],
    [
      102.0,
      0.0
    ],
    [
      101.0,
      0.0
    ],
    [
      100.0,
      0.0
    ],
    [
      99.0,
      0.0
    ],
    [
      98.0,
      0.0
    ],
    [
      97.0,
      0.0
    ],
    [
      96.0,
      0.0
    ],
    [
      95.0,
      0.0
    ],
    [
      94.0,
      0.0
    ],
    [
      93.0,
      0.0
    ],
    [
      92.0,
      0.0
    ],
    [
      91.0,
      0.0
    ],
    [
      90.0,
      0.0
    ],
    [
      89.0,
      0.0
    ],
    [
      88.0,
      0.0
    ],
    [
      87.0,
      0.0
    ],
    [
      86.0,
      0.0
    ],
    [
      85.0,
      0.0
    ],
    [
      84.0,
      0.0
    ],
    [
      83.0,
      0.0
    ],
    [
      82.0,
      0.0
    ],
    [
      81.0,
      0.0
    ],
    [
      80.0,
      0.0
    ],
    [
      79.0,
      0.0
    ],
    [
      78.0,
      0.0
    ],
    [
      77.0,
      0.0
    ],
    [
      76.0,
      0.0
    ],
    [
      75.0,
      0.0
    ],
    [
      74.0,
      0.0
    ],
    [
      73.0,
      0.0
    ],
    [
      72.0,
      0.0
    ],
    [
      71.0,
      0.0
    ],
    [
      70.0,
      0.0
    ],
    [
      69.0,
      0.0
    ],
    [
      68.0,
      0.0
    ],
    [
      67.0,
      0.0
    ],
    [
      66.0,
      0.0
    ],
    [
      65.0,
      0.0
    ],
    [
      64.0,
      0.0
    ],
    [
      64.0,
      1.0
    ],
    [
      64.0,
      2.0
    ],
    [
      64.0,
      3.0
    ],
    [
      64.0,
      4.0
    ],
    [
      64.0,
      5.0
    ],
    [
      64.0,
      6.0
    ],
    [
      63.0,
      6.0
    ],
    [
      62.0,
      6.0
    ],
    [
      61.0,
      6.0
    ],
    [
      60.0,
      6.0
    ],
    [
      59.0,
      6.0
    ],
    [
      58.0,
      6.0
    ],
    [
      57.0,
      6.0
    ],
    [
      56.0,
      6.0
    ],
    [
      55.0,
      6.0
    ],
    [
      54.0,
      6.0
    ],
    [
      53.0,
      6.0
    ],
    [
      52.0,
      6.0
    ],
    [
      51.0,
      6.0
    ],
    [
      50.0,
      6.0
    ],
    [
      49.0,
      6.0
    ],
    [
      48.0,
      6.0
    ],
    [
      47.0,
      6.0
    ],
    [
      46.0,
      6.0
    ],
    [
      45.0,
      6.0
    ],
    [
      44.0,
      6.0
    ],
    [
      44.0,
      5.0
    ],
    [
      44.0,
      4.0
    ],
    [
      44.0,
      3.0
    ],
    [
      44.0,
      2.0
    ],
    [
      44.0,
      1.0
    ],
    [
      44.0,
      0.0
    ],
    [
      43.0,
      0.0
    ],
    [
      42.0,
      0.0
    ],
    [
      41.0,
      0.0
    ],
    [
      40.0,
      0.0
    ],
    [
      39.0,
      0.0
    ],
    [
      38.0,
      0.0
    ],
    [
      37.0,
      0.0
    ],
    [
      36.0,
      0.0
    ],
    [
      35.0,
      0.0
    ],
    [
      34.0,
      0.0
    ],
    [
      33.0,
      0.0
    ],
    [
      32.0,
      0.0
    ],
    [
      31.0,
      0.0
    ],
    [
      30.0,
      0.0
    ],
    [
      29.0,
      0.0
    ],
    [
      28.0,
      0.0
    ],
    [
      27.0,
      0.0
    ],
    [
      26.0,
      0.0
    ],
    [
      25.0,
      0.0
    ],
    [
      24.0,
      0.0
    ],
    [
      24.0,
      1.0
    ],
    [
      24.0,
      2.0
    ],
    [
      24.0,
      3.0
    ],
    [
      23.0,
      3.0
    ],
    [
      22.0,
      3.0
    ],
    [
      21.0,
      3.0
    ],
    [
      20.0,
      3.0
    ],
    [
      19.0,
      3.0
    ],
    [
      18.0,
      3.0
    ],
    [
      18.0,
      2.0
    ],
    [
      18.0,
      1.0
    ],
    [
      18.0,
      0.0
    ],
    [
      17.0,
      0.0
    ],
    [
      16.0,
      0.0
    ],
    [
      15.0,
      0.0
    ],
    [
      14.0,
      0.0
    ],
    [
      13.0,
      0.0
    ],
    [
      12.0,
      0.0
    ],
    [
      11.0,
      0.0
    ],
    [
      10.0,
      0.0
    ],
    [
      9.0,
      0.0
    ],
    [
      8.0,
      0.0
    ],
    [
      7.0,
      0.0
    ],
    [
      6.0,
      0.0
    ],
    [
      5.0,
      0.0
    ],
    [
      4.0,
      0.0
    ],
    [
      3.0,
      0.0
    ]
  ],
  "mounting_holes": {
    "diameter": 2.2,
    "centres": [
      [
        3.5,
        33.4
      ],
      [
        104.5,
        33.4
      ],
      [
        3.5,
        4.4
      ],
      [
        104.5,
        4.4
      ]
    ]
  },
  "battery_notch": {
    "centre_x": 21.0,
    "width": 6.0,
    "depth": 3.0
  },
  "antenna_notch": {
    "centre_x": 54.0,
    "width": 20.0,
    "depth": 6.0,
    "edge": "bottom"
  },
  "stick_centre": [
    24.0,
    19.4
  ],
  "stick_holes": [
    {
      "name": "frame leg",
      "x": 19.0,
      "y": 13.075,
      "diameter": 1.2
    },
    {
      "name": "frame leg",
      "x": 19.0,
      "y": 25.725,
      "diameter": 1.2
    },
    {
      "name": "frame leg",
      "x": 29.0,
      "y": 13.075,
      "diameter": 1.2
    },
    {
      "name": "frame leg",
      "x": 29.0,
      "y": 25.725,
      "diameter": 1.2
    },
    {
      "name": "R1 pin 1",
      "x": 21.5,
      "y": 10.7,
      "diameter": 1.0
    },
    {
      "name": "R1 pin 2",
      "x": 24.0,
      "y": 10.7,
      "diameter": 1.0
    },
    {
      "name": "R1 pin 3",
      "x": 26.5,
      "y": 10.7,
      "diameter": 1.0
    },
    {
      "name": "R2 pin 1",
      "x": 32.7,
      "y": 16.9,
      "diameter": 1.0
    },
    {
      "name": "R2 pin 2",
      "x": 32.7,
      "y": 19.4,
      "diameter": 1.0
    },
    {
      "name": "R2 pin 3",
      "x": 32.7,
      "y": 21.9,
      "diameter": 1.0
    },
    {
      "name": "switch S1",
      "x": 18.35,
      "y": 22.65,
      "diameter": 0.9
    },
    {
      "name": "switch S2",
      "x": 18.35,
      "y": 16.15,
      "diameter": 0.9
    },
    {
      "name": "switch S3",
      "x": 13.85,
      "y": 22.65,
      "diameter": 0.9
    },
    {
      "name": "switch S4",
      "x": 13.85,
      "y": 16.15,
      "diameter": 0.9
    }
  ],
  "face_buttons": {
    "north": [
      84.0,
      29.9
    ],
    "east": [
      97.5,
      19.4
    ],
    "south": [
      84.0,
      8.9
    ],
    "west": [
      70.5,
      19.4
    ]
  },
  "face_contact_diameter": 5.3,
  "select": [
    46.0,
    33.8
  ],
  "start": [
    62.0,
    33.8
  ],
  "home": [
    54.0,
    29.8
  ],
  "status_led": [
    54.0,
    37.8
  ],
  "boot_switch": [
    68.0,
    3.4
  ],
  "radio_module": {
    "left": 45.0,
    "bottom": 0.0,
    "width": 18.0,
    "height": 25.5,
    "antenna": "bottom edge"
  },
  "usb_c_centre_x": 54.0,
  "charge_leds_x": 63.5,
  "slide_switch_centre_x": 40.0,
  "battery_socket": [
    38.5,
    4.9
  ],
  "battery_socket_note": "side entry, mouth facing left; the plug lies along the bottom edge and the lead drops through the notch",
  "shoulder_switches_x": {
    "L1": 15.5,
    "L2": 28.5,
    "R2": 79.5,
    "R1": 92.5
  },
  "back_supports": [
    [
      92.5,
      19.4
    ],
    [
      24.0,
      33.4
    ],
    [
      11.0,
      7.4
    ]
  ],
  "note": "USB-C, the slide switch and the four shoulder switches sit on the top edge, facing off the board."
}
