diff --git a/tests/kernel-cases/crashes/1985-step-export-enclosure-screw-hole/expected.json b/tests/kernel-cases/crashes/1985-step-export-enclosure-screw-hole/expected.json index 7dedebf3c..67aceaf46 100644 --- a/tests/kernel-cases/crashes/1985-step-export-enclosure-screw-hole/expected.json +++ b/tests/kernel-cases/crashes/1985-step-export-enclosure-screw-hole/expected.json @@ -4,7 +4,20 @@ "tangency-labs/solidcraft#2243" ], "what": "a small enclosure (rounded box, inner cut, corner gusset with a screw hole, two standoffs, USB cut-out) whose STEP export never finished (the export meshes its own file back)", - "source": "invariants", - "method": "the script builds one connected part: the export must finish, and the part is one valid closed solid", - "body_count": 1 + "source": "analytic", + "method": "the script builds one connected part: the export must finish, and the part is one valid closed solid. Body sketch: the rounded rectangle 0..80 x 0..79, corners r 3 (straights 74 and 73), area 80*79 - (4 - pi)*9 = 6312.274, extruded 37.5: 236710.288. Cavity box (2,2,2.5) 74 x 73, open at the top: - 74*73*35 = 189070. Gusset (68,67,2.5) 8 x 8 x 35 in the cavity's back corner: + 2240. Screw hole r 1.25 at (72,71) from z 29.5, inside the gusset: - pi 1.25^2 8 = 39.270. Two standoffs r 2.5, 3 high at (30.11, 69.04) and (58.05, 69.04) on the floor, clear of the walls and the gusset: + 2 * 58.905. USB cut-out (21.33..31.33, -1..3, 5..11) through the 2 mm front wall: - 10*2*6 = 120. V = 49838.83. Box: the outline's 0..80 x 0..79, z 0..37.5", + "body_count": 1, + "volume_mm3": 49838.83, + "bbox": { + "min": [ + 0.0, + 0.0, + 0.0 + ], + "max": [ + 80.0, + 79.0, + 37.5 + ] + } } \ No newline at end of file diff --git a/tests/kernel-cases/crashes/2243-step-export-flanged-enclosure/expected.json b/tests/kernel-cases/crashes/2243-step-export-flanged-enclosure/expected.json index 93668104c..76f92907f 100644 --- a/tests/kernel-cases/crashes/2243-step-export-flanged-enclosure/expected.json +++ b/tests/kernel-cases/crashes/2243-step-export-flanged-enclosure/expected.json @@ -4,7 +4,20 @@ "tangency-labs/solidcraft#1985" ], "what": "a flanged enclosure with two standoffs and no screw hole whose STEP export also never finished", - "source": "invariants", - "method": "one connected part: the export finishes and the part is one valid closed solid", - "body_count": 1 + "source": "analytic", + "method": "one connected part: the export finishes and the part is one valid closed solid. Body sketch: the rounded rectangle 0..80 x 0..79, corners r 3, area 80*79 - (4 - pi)*9 = 6312.274, extruded 32.5. Flange: the rounded rectangle -10..90 x 0..79, corners r 3, area 7892.274, 2.5 thick, holding the body's footprint (its own corners lie outside the body's), so the two give 7892.274*2.5 + 6312.274*30. Cavity box (3,3,2.5) 74 x 73, open at the top: - 74*73*30 = 162060. Gusset (69,68,2.5) 8 x 8 x 30: + 1920. Two standoffs r 2.5, 3 high at (31.11, 70.04) and (59.05, 70.04): + 2 * 58.905. V = 49076.73. Box: the flange's -10..90 x 0..79, z 0..32.5", + "body_count": 1, + "volume_mm3": 49076.73, + "bbox": { + "min": [ + -10.0, + 0.0, + 0.0 + ], + "max": [ + 90.0, + 79.0, + 32.5 + ] + } } \ No newline at end of file