{
  "project": "LED Matrix Planner - kitchen splashback proof of concept",
  "units": "mm",
  "origin": "bottom-left of panel",
  "panel": {
    "width": 1400,
    "height": 550
  },
  "strip": {
    "type": "WS2815 12V, IP65",
    "leds_per_metre": 30,
    "led_pitch": 33.33,
    "strip_width": 10
  },
  "matrix": {
    "columns": 42,
    "rows": 16,
    "row_pitch": 34.375,
    "full_grid_leds": 672,
    "actual_leds": 634
  },
  "outputs": [
    {
      "output": 1,
      "rows": "1-8",
      "leds": 298,
      "feed": "left end of row 1 (bottom)"
    },
    {
      "output": 2,
      "rows": "9-16",
      "leds": 336,
      "feed": "left end of row 9"
    }
  ],
  "sockets": [
    {
      "name": "left",
      "x": 80,
      "w": 240,
      "y": 90,
      "h": 90
    },
    {
      "name": "middle",
      "x": 870,
      "w": 230,
      "y": 90,
      "h": 90
    },
    {
      "name": "right",
      "x": 1255,
      "w": 85,
      "y": 90,
      "h": 90
    }
  ],
  "notes": [
    "Rows are numbered from the bottom. Columns are numbered from the left.",
    "Row 3 is moved down about 4mm from its even-spacing position (85.9mm) to 82mm so the strip clears the socket bottoms.",
    "Rows 4 and 5 are cut around the sockets; the cut pieces are bridged with four-core wire in serpentine order.",
    "The piece right of the middle socket (column 34) starts flush with the socket edge. Drop column 34 in rows 4 and 5 if it fouls.",
    "Socket sizes are from a hand sketch and may include clearance. Re-run when faceplate and back-box sizes are measured."
  ],
  "rows": [
    {
      "row": 1,
      "centre_mm_from_bottom": 17.2,
      "direction": "left_to_right",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 0
    },
    {
      "row": 2,
      "centre_mm_from_bottom": 51.6,
      "direction": "right_to_left",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 42
    },
    {
      "row": 3,
      "centre_mm_from_bottom": 82.0,
      "direction": "left_to_right",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 84
    },
    {
      "row": 4,
      "centre_mm_from_bottom": 120.3,
      "direction": "right_to_left",
      "output": 1,
      "led_count": 23,
      "kept_columns_1_indexed": [
        1,
        2,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        34,
        35,
        36,
        37,
        42
      ],
      "first_physical_index": 126
    },
    {
      "row": 5,
      "centre_mm_from_bottom": 154.7,
      "direction": "left_to_right",
      "output": 1,
      "led_count": 23,
      "kept_columns_1_indexed": [
        1,
        2,
        11,
        12,
        13,
        14,
        15,
        16,
        17,
        18,
        19,
        20,
        21,
        22,
        23,
        24,
        25,
        26,
        34,
        35,
        36,
        37,
        42
      ],
      "first_physical_index": 149
    },
    {
      "row": 6,
      "centre_mm_from_bottom": 189.1,
      "direction": "right_to_left",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 172
    },
    {
      "row": 7,
      "centre_mm_from_bottom": 223.4,
      "direction": "left_to_right",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 214
    },
    {
      "row": 8,
      "centre_mm_from_bottom": 257.8,
      "direction": "right_to_left",
      "output": 1,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 256
    },
    {
      "row": 9,
      "centre_mm_from_bottom": 292.2,
      "direction": "left_to_right",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 298
    },
    {
      "row": 10,
      "centre_mm_from_bottom": 326.6,
      "direction": "right_to_left",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 340
    },
    {
      "row": 11,
      "centre_mm_from_bottom": 360.9,
      "direction": "left_to_right",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 382
    },
    {
      "row": 12,
      "centre_mm_from_bottom": 395.3,
      "direction": "right_to_left",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 424
    },
    {
      "row": 13,
      "centre_mm_from_bottom": 429.7,
      "direction": "left_to_right",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 466
    },
    {
      "row": 14,
      "centre_mm_from_bottom": 464.1,
      "direction": "right_to_left",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 508
    },
    {
      "row": 15,
      "centre_mm_from_bottom": 498.4,
      "direction": "left_to_right",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 550
    },
    {
      "row": 16,
      "centre_mm_from_bottom": 532.8,
      "direction": "right_to_left",
      "output": 2,
      "led_count": 42,
      "kept_columns_1_indexed": "all",
      "first_physical_index": 592
    }
  ]
}