{
  "status": "Render and cutting diagram; keyboard inputs as listed, encoder knob height assumed",
  "units": "mm",
  "config": {
    "keyboard_case_height": 8.2,
    "keyboard_keycap_height_from_underside": 16.0,
    "keyboard_foot_height": 2.0,
    "keyboard_foot_diameter": 8.0,
    "keycap_width": 17.5,
    "keycap_depth": 16.5,
    "keycap_height": 3.3,
    "encoder_knob_diameter": 14.0,
    "encoder_knob_above_keycaps": 5.0,
    "neoprene_thickness": 3.0,
    "seam_allowance": 10.0,
    "girth_allowance": 5.0,
    "depth_allowance": 3.0,
    "mouth_overlap": 4.0,
    "elastic_width": 30.0,
    "elastic_thickness": 1.5,
    "elastic_stretch": 0.85,
    "elastic_join_overlap": 20.0,
    "divider_thickness": 1.5,
    "cable_pocket_width": 120.0,
    "cable_pocket_height": 85.0,
    "cable_pocket_seam": 5.0,
    "cable_pocket_room": 5.0,
    "notes": {
      "keyboard": "Same keyboard inputs as the Corne dock: the 8.2 mm case/plate profile is from Keebart's product image; the 16 mm keycap height and 2 mm feet are earlier rocklabs assumptions. The half outline is the upstream foostan Corne v4 3x6 case, not a Keebart drawing.",
      "encoder": "Knob size and height are not known. 5 mm above the keycaps is an assumption; measure yours and rebuild if it sits higher.",
      "tube": "One rectangle sewn into a tube along its two long sides, then one seam across the middle makes the two pockets. Girth allowance covers the 3 mm fabric wrapping round each half, so the pockets are snug. The openings need no hem because neoprene does not fray.",
      "hinge": "The middle seam is the hinge. Closed, the stretch of tube between the halves wraps the spine as a half circle, so each pocket gets half of that as extra depth.",
      "elastic": "The strap is one closed loop of 30 mm elastic, cut at 85 % of the closed case's girth plus a 20 mm overlap for sewing it shut. A few stitches through the strap and the middle seam keep it on the case.",
      "cable_pocket": "A patch from the leftover neoprene, sewn on three sides to the outside of one pocket's back before the tube is closed, open towards that pocket's end. Closed, it sits under the strap. The room value only shapes the render."
    }
  },
  "derived": {
    "keyboard_half": {
      "length": 136.4,
      "depth": 95.6,
      "keycap_top_above_desk": 18.0,
      "knob_top_above_desk": 23.0,
      "packed_height": 23.0
    },
    "piece": {
      "width": 349,
      "length": 300,
      "flat_width": 164.4,
      "pocket_depth": 150.0,
      "hinge_web": 48.7,
      "pieces": 1,
      "middle_seam_from_end": 150.0
    },
    "piece_if_knob_10mm": [
      359,
      318
    ],
    "cable_pocket": {
      "size": [
        120.0,
        85.0
      ],
      "seam": 5.0,
      "from_fold": 22,
      "from_end": 19
    },
    "pocket_outside": [
      144.4,
      103.6,
      29.5
    ],
    "packed": {
      "closed": [
        144.4,
        125.2,
        71.6
      ],
      "open": [
        144.4,
        255.9,
        37.5
      ]
    },
    "elastic_loops": {
      "closed": [
        313
      ]
    },
    "divider": [
      136.4,
      95.6
    ]
  },
  "checks": [
    {
      "name": "keycaps inside the case outline",
      "pass": true,
      "detail": "22 keys, 0 corner(s) outside; confirms the PCB-to-case transform"
    },
    {
      "name": "encoder knob over the case",
      "pass": true,
      "detail": "\u00d814 knob at the upper extra key position"
    },
    {
      "name": "both halves fit inside their pockets",
      "pass": true,
      "detail": "0.00 mm3 overlap with the 3 mm fabric; 1 mm play each side"
    },
    {
      "name": "strap sits on the closed case",
      "pass": true,
      "detail": "0.00 mm3 overlap"
    },
    {
      "name": "half slides through the open mouth",
      "pass": true,
      "detail": "0.00 mm3 overlap"
    },
    {
      "name": "elastic within the 1 m from the guide",
      "pass": true,
      "detail": "one loop of 313 mm"
    },
    {
      "name": "closed sleeves STL closed",
      "pass": true,
      "detail": "volume 939586 mm3"
    },
    {
      "name": "closed strap STL closed",
      "pass": true,
      "detail": "volume 15492 mm3"
    },
    {
      "name": "closed divider STL closed",
      "pass": true,
      "detail": "volume 19536 mm3"
    },
    {
      "name": "open sleeves STL closed",
      "pass": true,
      "detail": "volume 615273 mm3"
    },
    {
      "name": "open case STL closed",
      "pass": true,
      "detail": "volume 82098 mm3"
    },
    {
      "name": "open keycaps STL closed",
      "pass": true,
      "detail": "volume 21116 mm3"
    },
    {
      "name": "open switches STL closed",
      "pass": true,
      "detail": "volume 12569 mm3"
    },
    {
      "name": "open knob STL closed",
      "pass": true,
      "detail": "volume 1578 mm3"
    },
    {
      "name": "open feet STL closed",
      "pass": true,
      "detail": "volume 402 mm3"
    },
    {
      "name": "cutaway sleeves STL closed",
      "pass": true,
      "detail": "volume 79716 mm3"
    },
    {
      "name": "cutaway strap STL closed",
      "pass": true,
      "detail": "volume 5408 mm3"
    },
    {
      "name": "cutaway divider STL closed",
      "pass": true,
      "detail": "volume 5167 mm3"
    },
    {
      "name": "cutaway case STL closed",
      "pass": true,
      "detail": "volume 46876 mm3"
    },
    {
      "name": "cutaway keycaps STL closed",
      "pass": true,
      "detail": "volume 11624 mm3"
    },
    {
      "name": "cutaway switches STL closed",
      "pass": true,
      "detail": "volume 7033 mm3"
    },
    {
      "name": "cutaway knob STL closed",
      "pass": true,
      "detail": "volume 1578 mm3"
    },
    {
      "name": "cutaway feet STL closed",
      "pass": true,
      "detail": "volume 402 mm3"
    }
  ]
}
