diff --git a/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-240-deg-window-in-a-cylinder/expected.json b/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-240-deg-window-in-a-cylinder/expected.json index 017bac7a0..d76f3ce08 100644 --- a/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-240-deg-window-in-a-cylinder/expected.json +++ b/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-240-deg-window-in-a-cylinder/expected.json @@ -3,7 +3,19 @@ "tangency-labs/solidcraft#759" ], "what": "a window 240 deg round a cylinder's wall (r10 x 40, z 15..25), the faces the cut made taken off and the window patched g0 and stitched", - "source": "invariants", - "method": "the window (as the g1 case) filled G0: the fill meets the window's edges; its shape is the fill's own, so one closed valid solid is the right answer", - "body_count": 1 + "source": "analytic", + "method": "the box x -5..11, y -11..11, z 15..25 cuts the wall where 10 cos a >= -5 (|a| <= 120 deg), as in the g1 case; filled G0, the fill meets the window's edges and its shape is its own, so no volume is graded. The wall left below z 15, above z 25 and round a = 180 deg reaches x = +-10, y = +-10 and z 0..40, and a fill of a rim lying on the cylinder stays inside that box: bbox -10..10, -10..10, 0..40", + "body_count": 1, + "bbox": { + "min": [ + -10, + -10, + 0 + ], + "max": [ + 10, + 10, + 40 + ] + } } diff --git a/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-saddle-window-in-a-torus/expected.json b/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-saddle-window-in-a-torus/expected.json index 7fafe45a8..cc7524461 100644 --- a/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-saddle-window-in-a-torus/expected.json +++ b/tests/kernel-cases/surfaces/cov-patch-g0-fills-a-saddle-window-in-a-torus/expected.json @@ -3,7 +3,19 @@ "tangency-labs/solidcraft#759" ], "what": "a window 240 deg round the saddle-shaped inner wall of a torus (R20, r8) between z = -3 and 3, its cut faces taken off, patched g0 and stitched", - "source": "invariants", - "method": "the box x -6..13, y -13..13, z -3..3 opens the inner wall where 12 cos a >= -6 (|a| <= 120 deg): its rim is two arcs on z = +-3 each way and two curves on x = -6, and it bounds no height field. G0: the fill meets the rim. The fill's shape is its own: one closed valid solid is the right answer.", - "body_count": 1 + "source": "analytic", + "method": "the box x -6..13, y -13..13, z -3..3 opens the inner wall where 12 cos a >= -6 (|a| <= 120 deg): its rim is two arcs on z = +-3 each way and two curves on x = -6, and it bounds no height field. G0: the fill meets the rim. The fill's shape is its own, so no volume is graded. The box opens only the inner wall, so the torus keeps its outer equator (r 28, x and y to +-28) and its top and bottom circles (r 20, z +-8), and the fill of a rim on the inner wall stays inside that box: bbox -28..28, -28..28, -8..8.", + "body_count": 1, + "bbox": { + "min": [ + -28, + -28, + -8 + ], + "max": [ + 28, + 28, + 8 + ] + } }