{
  "product": "1:1 bit case \u2014 two PLA parts, FDM tolerances, stepped rib ladder",
  "printer_budget": {
    "hole_err_mm": -0.13,
    "outer_err_mm": 0.05,
    "note": "measured from the failed print: a 3.175 mouth would not take a 3.175 shank"
  },
  "construction": {
    "1_tube": "rounded-square tube 13.2 OD / 11.0 bore / 1.1 wall, 76.2 deep, closed far end (2.0 mm ceiling integral), rim lead-in 30 deg x 1.0, one seal ring 10.98 at 1.2",
    "2_plug": "flange 15.0, core 10.7, ribs (10.78, 10.85, 10.9) at 3.0 mm pitch (printed -0.020/+0.015/+0.040 mm/side), 4 corner vents",
    "3_socket": "funnel 4.6 -> entry 3.6 -> throat 3.12 x 7.0 (printed 0.093 mm/side under the shank), relief 5.2",
    "4_telescope": "continuous stepped friction, (22.0, 25.0, 28.0) mm shown, 6.0 mm range"
  },
  "printed_parts": 2,
  "envelope_mm": [
    15.0,
    15.0,
    89.2
  ],
  "tolerance_budget": [
    {
      "fit": "socket entry",
      "interface": "3.60 bore vs 3.175 shank",
      "drawn_mm_per_side": -0.2125,
      "printed_mm_per_side": -0.1475,
      "target": "<= -0.10 clear",
      "ok": true
    },
    {
      "fit": "socket grip",
      "interface": "3.12 throat vs shank",
      "drawn_mm_per_side": 0.0275,
      "printed_mm_per_side": 0.0925,
      "target": "0.05..0.13 press",
      "ok": true
    },
    {
      "fit": "core / bore",
      "interface": "10.70 vs 11.00",
      "drawn_mm_per_side": -0.15,
      "printed_mm_per_side": -0.06,
      "target": "<= -0.04 clear",
      "ok": true
    },
    {
      "fit": "rib 1",
      "interface": "10.78 vs bore",
      "drawn_mm_per_side": -0.11,
      "printed_mm_per_side": -0.02,
      "target": "<= -0.01 clear",
      "ok": true
    },
    {
      "fit": "rib 2",
      "interface": "10.85 vs bore",
      "drawn_mm_per_side": -0.075,
      "printed_mm_per_side": 0.015,
      "target": "0.00..0.05",
      "ok": true
    },
    {
      "fit": "rib 3",
      "interface": "10.90 vs bore",
      "drawn_mm_per_side": -0.05,
      "printed_mm_per_side": 0.04,
      "target": "0.03..0.09 press",
      "ok": true
    }
  ],
  "params": {
    "tube_id": 11.0,
    "tube_od": 13.2,
    "tube_len": 76.2,
    "ceiling": 2.0,
    "rim_chamfer_deg": 30.0,
    "seal_crest": 10.98,
    "rib_crests": [
      10.78,
      10.85,
      10.9
    ],
    "rib_pitch": 3.0,
    "printed_per_side_ribs": [
      -0.02,
      0.015,
      0.04
    ],
    "vent_area_mm2_per_channel": 1.49,
    "socket_funnel": 4.6,
    "socket_entry": 3.6,
    "grip_throat": 3.12,
    "printed_throat": 2.99,
    "relief_bore": 5.2,
    "lock_depths_mm": [
      22.0,
      25.0,
      28.0
    ],
    "length_range_mm": 6.0,
    "material": "PLA (both parts)"
  },
  "volumes_mm3": {
    "tube": 4312.01,
    "plug": 3678.07
  },
  "mass_g_est": {
    "tube": 5.35,
    "plug": 4.56
  },
  "checks": {
    "all": [
      {
        "check": "tube is one valid solid",
        "ok": true,
        "detail": "valid=True solids=1"
      },
      {
        "check": "plug is one valid solid",
        "ok": true,
        "detail": "valid=True solids=1"
      },
      {
        "check": "bit (reference) is one valid solid",
        "ok": true,
        "detail": "valid=True solids=1"
      },
      {
        "check": "only two printed parts",
        "ok": true,
        "detail": "tube + plug; the bit is a reference body, not printed"
      },
      {
        "check": "far end is closed (ceiling is part of the tube)",
        "ok": true,
        "detail": "64.8 mm3 of material over the bore at z=88.2"
      },
      {
        "check": "no cap, no third part: the bore runs clear to the ceiling",
        "ok": true,
        "detail": "0.000000 mm3 in the middle of the bore"
      },
      {
        "check": "bore measures 11.00 clear (no detents to seize on)",
        "ok": true,
        "detail": "11.000 mm at mid-bore"
      },
      {
        "check": "rim is chamfered open, so the first rib starts on a ramp",
        "ok": true,
        "detail": "12.084 mm at the rim vs 11.00 bore -> 30 deg x 1.0 lead-in"
      },
      {
        "check": "one seal ring: clear of the core, a click on the ribs",
        "ok": true,
        "detail": "10.980 crest -> clears the core by 0.050 mm/side printed, presses the last rib by 0.050 mm/side"
      },
      {
        "check": "no detent deep in the bore (that is what seized)",
        "ok": true,
        "detail": "13.20 mm OD = full 1.1 wall all the way down"
      },
      {
        "check": "core clears the bore when printed, so only the ribs touch",
        "ok": true,
        "detail": "10.700 drawn -> 0.060 mm/side CLEAR printed (was 0.05 pressed)"
      },
      {
        "check": "rib 1 of 3: 10.78 crest -> 0.020 mm/side clear printed",
        "ok": true,
        "detail": "drawn -0.110 / printed -0.020 mm/side"
      },
      {
        "check": "rib 2 of 3: 10.85 crest -> 0.015 mm/side press printed",
        "ok": true,
        "detail": "drawn -0.075 / printed +0.015 mm/side"
      },
      {
        "check": "rib 3 of 3: 10.90 crest -> 0.040 mm/side press printed",
        "ok": true,
        "detail": "drawn -0.050 / printed +0.040 mm/side"
      },
      {
        "check": "rib ladder is monotonic: entry is free, the last rib is the firm one",
        "ok": true,
        "detail": "printed -0.020 / +0.015 / +0.040 mm/side"
      },
      {
        "check": "first rib does not have to be forced in (the failure was here)",
        "ok": true,
        "detail": "-0.020 mm/side printed: it starts itself"
      },
      {
        "check": "deepest rib is firm but inside PLA's elastic range",
        "ok": true,
        "detail": "+0.040 mm/side printed (the seized version was 0.22)"
      },
      {
        "check": "the click at the rim is gentle: ring presses the last rib, not the whole plug",
        "ok": true,
        "detail": "ring 0.050 mm/side on rib 3, and 0.050 mm/side clear on the core between ribs"
      },
      {
        "check": "3 ribs on a 3.0 mm pitch",
        "ok": true,
        "detail": "centres 17.0, 20.0, 23.0"
      },
      {
        "check": "flange stands proud of the tube OD, so there is a lip to pull on",
        "ok": true,
        "detail": "15.00 across a 13.20 tube = 0.90 mm/side proud"
      },
      {
        "check": "flange is tall enough to pinch",
        "ok": true,
        "detail": "5.2 mm of flange, waist at 1.8"
      },
      {
        "check": "finger waist is a real groove, not a rounding artefact",
        "ok": true,
        "detail": "14.00 at the waist vs 15.00 at the edge = 0.5 deep"
      },
      {
        "check": "flange underside is bevelled, not a square edge",
        "ok": true,
        "detail": "13.30 at the bottom edge, 15.00 above it = 45 deg x 1.0"
      },
      {
        "check": "withdrawal contact is lighter than insertion was",
        "ok": true,
        "detail": "0.055 mm/side of press across the ladder, ribs 1.8 wide (were 2.20)"
      },
      {
        "check": "four corner channels run the plug's full length",
        "ok": true,
        "detail": "223.7 mm3 carved out of the ribbed outline -> 1.49 mm2 per channel"
      },
      {
        "check": "channels open at the flange",
        "ok": true,
        "detail": "corner probes clear at z=1.5 (0.0000 mm3 of plug in the way)"
      },
      {
        "check": "channels open under the collet",
        "ok": true,
        "detail": "corner probes clear at z=33.0 (0.0000 mm3 of plug in the way)"
      },
      {
        "check": "control: a probe on the flat finds plug, so the corners really are cut away",
        "ok": true,
        "detail": "0.02700 mm3 of plug at (0, 5.15, 20)"
      },
      {
        "check": "mouth funnels wide enough to find the hole blind",
        "ok": true,
        "detail": "4.53 mm just below the top face"
      },
      {
        "check": "entry bore clears the shank when printed (the bit never fitted before)",
        "ok": true,
        "detail": "3.600 drawn -> 3.470 printed = 0.147 mm/side CLEAR on a 3.175 shank"
      },
      {
        "check": "grip throat is under the shank when printed, by a printable amount",
        "ok": true,
        "detail": "3.120 drawn -> 2.990 printed = 0.093 mm/side press"
      },
      {
        "check": "grip is real: the throat is smaller than the shank as drawn too",
        "ok": true,
        "detail": "3.120 < 3.175 -> 0.0275 mm/side drawn"
      },
      {
        "check": "relief bore 5.20 behind the leaves",
        "ok": true,
        "detail": "5.20 mm: the shank never touches the socket wall"
      },
      {
        "check": "two crossing slits give 4 flexural leaves",
        "ok": true,
        "detail": "4 sections through the grip throat, 0.9 mm slits"
      },
      {
        "check": "the split starts above the last rib, so the ribs stay whole rings",
        "ok": true,
        "detail": "rib 3 ends at z=23.90, slits start at 24.30 -> 0.40 mm of solid between them"
      },
      {
        "check": "the leaves actually bear on the shank",
        "ok": true,
        "detail": "1.201 mm3 where the 4 leaves close on the shank"
      },
      {
        "check": "cutting edges touch nothing",
        "ok": true,
        "detail": "0.000000 mm3 between the flutes and the tube"
      },
      {
        "check": "shank sits deep enough to be held, tip still clear of the ceiling",
        "ok": true,
        "detail": "21.4 mm of shank below the throat, tip clears the ceiling by 14.2 mm"
      },
      {
        "check": "22 mm in: 92.2 mm long, tip clears 17.2 mm",
        "ok": true,
        "detail": "rim at z=14.0, rib 1 is 3.0 mm up the bore, ceiling 90.2"
      },
      {
        "check": "25 mm in: 89.2 mm long, tip clears 14.2 mm",
        "ok": true,
        "detail": "rim at z=11.0, rib 1 is 6.0 mm up the bore, ceiling 87.2"
      },
      {
        "check": "28 mm in: 86.2 mm long, tip clears 11.2 mm",
        "ok": true,
        "detail": "rim at z=8.0, rib 1 is 9.0 mm up the bore, ceiling 84.2"
      },
      {
        "check": "length adjusts 6 mm, continuously, wherever the friction balances",
        "ok": true,
        "detail": "92.2 / 89.2 / 86.2 mm at 22 / 25 / 28 mm insertion"
      },
      {
        "check": "the flange lip is the widest part, and only just",
        "ok": true,
        "detail": "15.00 x 15.00 x 89.20 mm \u2014 tube 13.2, flange 15.0 = 0.90 mm/side of lip"
      },
      {
        "check": "overall length",
        "ok": true,
        "detail": "89.20 mm at the nominal setting"
      },
      {
        "check": "no feature below two nozzle widths",
        "ok": true,
        "detail": "0.9 slits, 0.45 chamfers, 1.1 wall, 2.0 ceiling"
      },
      {
        "check": "bit_case_tube.step re-imports",
        "ok": true,
        "detail": "4312.0 mm3, 0.0 ppm from the built solid"
      },
      {
        "check": "bit_case_plug.step re-imports",
        "ok": true,
        "detail": "3678.1 mm3, 0.0 ppm from the built solid"
      },
      {
        "check": "reference_bit.step re-imports",
        "ok": true,
        "detail": "868.2 mm3, 0.0 ppm from the built solid"
      },
      {
        "check": "bit_case_assembly.step re-imports",
        "ok": true,
        "detail": "3 solids, 8858.3 mm3, 0.0 ppm"
      }
    ],
    "passed": 49,
    "total": 49
  }
}