Wave 484/509: Kernel rig: 3841 is 168's rim touching its coin along a circle, and 4092's reduced recipe is its report less a flange clear of the failing join; the kept cases carry their sources (and 3 more)

4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 889a2f866 jyviko: Kernel rig: the cut mirrored loft graded on the box its sections pin
- 37a4c5647 jyviko: Kernel rig: the three modelled-thread joins and the fine M48 graded on their volume (the basic profile's groove, Pappus)
- 6c2a2f395 jyviko: Kernel rig: the oblique-cut round graded by its seams (tangent, not curvature-continuous); the flanged rhombus says what it tests (its reliefs stay apart at 60 mm)
- cd56cd3ad jyviko: Kernel rig: 3841 is 168's rim touching its coin along a circle, and 4092's reduced recipe is its report less a flange clear of the failing join; the kept cases carry their sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
This commit is contained in:
jyviko
2026-10-31 09:05:46 -04:00
parent c35be9d20e
commit b78df205d1
11 changed files with 43 additions and 667 deletions
@@ -1,6 +1,7 @@
{
"sources": [
"tangency-labs/solidcraft#168"
"tangency-labs/solidcraft#168",
"tangency-labs/solidcraft#3841"
],
"what": "a rim on a coin's top face that meets the coin along one circle only (no shared area, no shared volume): it must not be joined into it",
"source": "analytic",
@@ -1,11 +0,0 @@
{
"sources": [
"tangency-labs/solidcraft#3841",
"tangency-labs/solidcraft#168"
],
"what": "Join of a ring (r10..15) onto a coin (r10) that touch only along a circle: no fusion that moves the ring",
"source": "invariants",
"outcome": "solid_or_refused",
"method": "the bodies share one circular edge and no area, so a join has no single manifold solid to give: the right answer is a clean refusal, or the two bodies left as they are (body_count 2). Fusing them means the kernel moved or rotated the ring",
"body_count": 2
}
@@ -1,112 +0,0 @@
{
"commands": [
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
}
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 10
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"distance": 3,
"operation": "new",
"body_name": "Coin"
}
},
{
"command": "sketch.create",
"params": {
"plane": {
"origin": [
0,
0,
3
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
1,
0
]
}
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 10
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"radius": 15
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"profiles": [
{
"point": [
12,
0
]
}
],
"distance": 3,
"operation": "join",
"targets": [
"Coin"
]
}
}
]
}
@@ -1,22 +0,0 @@
{
"sources": [
"tangency-labs/solidcraft#4092"
],
"what": "the same without the top flange: the join fails with 'boolean Union: no result'",
"source": "analytic",
"method": "the pad (X -8..8, Y 18..25, Z 36..59) overlaps the body, ribs and ring, so the join is one connected solid; the join must succeed with one valid closed solid and no panic. Body: neck pi 18^2 21; the two-section loft is ruled, the circle r 18 paired with the 30 x 20 ellipse by their common angle parameter (the ellipse an affine image of the circle), so each section is an ellipse (18 + 12 l) x (18 + 2 l): 17 pi int (18 + 12 l)(18 + 2 l) dl = 7786 pi (pairing by normals instead, the largest any pairing gives, adds 17 pi * 1.5 = 80, inside the tolerance); the ellipse chamber pi*30*20*26 (z 38..64): 94844.68. The handle disc (r 12 about (y 30, z 47), x -5..5), the two ribs (the rounded profile, x -8..-4 and 4..8) and the pad (x -8..8, z 36..59 rounded r 3, y 18..25) add, by integrating over x -8..8, z 35..59 the length in y of the union of every part's y-interval less the body's own (grids 400^2..1600^2 agree to 2.4): 5347.9. V = 100192.6. Box: the chamber's x +-30, y -20 to the disc's 42, z 0..64",
"body_count": 1,
"volume_mm3": 100192.6,
"bbox": {
"min": [
-30.0,
-20.0,
0.0
],
"max": [
30.0,
42.0,
64.0
]
}
}
@@ -1,508 +0,0 @@
{
"commands": [
{
"command": "file.new",
"params": {
"name": "Native_loft_pad_union_repro"
}
},
{
"command": "document.units",
"params": {
"units": "mm"
}
},
{
"command": "solid.cylinder",
"params": {
"diameter": "36 mm",
"height": "21 mm",
"base": [
0,
0,
0
],
"operation": "new",
"name": "01_Neck_outer_D36_H21",
"body_name": "NATIVE_CAP_BODY"
}
},
{
"command": "sketch.create",
"params": {
"name": "02_Outer_transition_round",
"plane": "XY",
"offset": "21 mm"
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
0,
0
],
"diameter": 36
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "sketch.create",
"params": {
"name": "03_Outer_transition_ellipse",
"plane": "XY",
"offset": "38 mm"
}
},
{
"command": "sketch.ellipse",
"params": {
"center": [
0,
0
],
"major": [
30.0,
0
],
"minor_radius": 20.0
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.loft",
"params": {
"sections": [
{
"sketch": "02_Outer_transition_round"
},
{
"sketch": "03_Outer_transition_ellipse"
}
],
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "04_Outer_round_to_oval_transition"
}
},
{
"command": "sketch.create",
"params": {
"name": "05_Upper_chamber_60x40",
"plane": "XY",
"offset": "38 mm"
}
},
{
"command": "sketch.ellipse",
"params": {
"center": [
0,
0
],
"major": [
30.0,
0
],
"minor_radius": 20.0
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "05_Upper_chamber_60x40",
"distance": 26,
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "06_Upper_chamber_blank"
}
},
{
"command": "sketch.create",
"params": {
"name": "Handle_outer_D24",
"plane": {
"origin": [
-5,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.circle.center",
"params": {
"center": [
30,
47
],
"diameter": 24
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Handle_outer_D24",
"distance": 10,
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "Handle_outer_D24_thickness10"
}
},
{
"command": "sketch.create",
"params": {
"name": "Handle_lower_rib_X-8",
"plane": {
"origin": [
-8,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
18.0,
37.5
],
"end": [
19.5,
36.0
],
"through": [
18.439339828220177,
36.43933982822018
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
19.5,
36.0
],
[
24.4516191451179,
36.0
]
]
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
24.4516191451179,
36.0
],
"end": [
25.20742568340403,
38.79566835134765
],
"through": [
25.89963546529897,
37.10853003117829
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
25.20742568340403,
38.79566835134765
],
[
20.25580653828613,
41.68411285266642
]
]
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
20.25580653828613,
41.68411285266642
],
"end": [
18.0,
40.38844450131877
],
"through": [
18.75290891031588,
41.68915773017231
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
18.0,
40.38844450131877
],
[
18.0,
37.5
]
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Handle_lower_rib_X-8",
"distance": 4,
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "Handle_lower_rib_X-8_R1p5_thickness4"
}
},
{
"command": "sketch.create",
"params": {
"name": "Handle_lower_rib_X4",
"plane": {
"origin": [
4,
0,
0
],
"x_dir": [
0,
1,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
18.0,
37.5
],
"end": [
19.5,
36.0
],
"through": [
18.439339828220177,
36.43933982822018
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
19.5,
36.0
],
[
24.4516191451179,
36.0
]
]
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
24.4516191451179,
36.0
],
"end": [
25.20742568340403,
38.79566835134765
],
"through": [
25.89963546529897,
37.10853003117829
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
25.20742568340403,
38.79566835134765
],
[
20.25580653828613,
41.68411285266642
]
]
}
},
{
"command": "sketch.arc.three_point",
"params": {
"start": [
20.25580653828613,
41.68411285266642
],
"end": [
18.0,
40.38844450131877
],
"through": [
18.75290891031588,
41.68915773017231
]
}
},
{
"command": "sketch.line",
"params": {
"points": [
[
18.0,
40.38844450131877
],
[
18.0,
37.5
]
]
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Handle_lower_rib_X4",
"distance": 4,
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "Handle_lower_rib_X4_R1p5_thickness4"
}
},
{
"command": "sketch.create",
"params": {
"name": "Handle_root_pad_R3",
"plane": {
"origin": [
0,
18,
0
],
"x_dir": [
1,
0,
0
],
"y_dir": [
0,
0,
1
]
}
}
},
{
"command": "sketch.rectangle.rounded",
"params": {
"p0": [
-8,
36
],
"p1": [
8,
59
],
"radius": 3
}
},
{
"command": "sketch.finish",
"params": {}
},
{
"command": "solid.extrude",
"params": {
"sketch": "Handle_root_pad_R3",
"distance": 7,
"direction": "negative",
"operation": "join",
"targets": [
"NATIVE_CAP_BODY"
],
"name": "Native_root_pad_R3"
}
}
]
}
@@ -2,6 +2,10 @@
"sources": [],
"what": "a thin bar with a 3 mm concave arc in its profile, its end cut by a plane tilted 21 deg (examples/regressions/oblique_cut_of_cylinder): the edge where the arc's cylinder meets the cut (part of an ellipse) rounded R0.1 (action matrix (apps/solidcraft-cli/tests/action_matrix.rs): regressions/oblique_cut_of_cylinder, Tool F2:side:a1|F4:side:l1 edge.fillet)",
"source": "invariants",
"method": "an R0.1 round fits along that edge (the faces meet at a finite angle and the arc's radius is 3); the section along an elliptical edge on a cylinder has no closed form here: one closed valid solid is the right answer",
"body_count": 2
"method": "an R0.1 round fits along that edge (the faces meet at a finite angle and the arc's radius is 3); the section along an elliptical edge on a cylinder has no closed form here: the volume moves by about 0.01 mm3 in 970000, below any tolerance, so the round is graded by its seams: it meets the arc's cylinder and the cut plane tangentially (G1, as every constant round does), and not G2 (its curvature jumps by 1 / r there)",
"body_count": 2,
"continuity": {
"order": "g1",
"exact": true
}
}
@@ -4,7 +4,7 @@
"tangency-labs/solidcraft#3421",
"tangency-labs/solidcraft#3280"
],
"what": "a 60 mm rhombus (120 and 60 degree corners) with a 90 degree flange on each of its four edges and a square corner relief 8 mm across: the reliefs at the two 120 degree corners would overlap",
"what": "a 60 mm rhombus (120 and 60 degree corners) with a 90 degree flange on each of its four edges and a square corner relief 8 mm across at each corner: at this size the four reliefs stay apart and all are cut",
"source": "analytic",
"method": "T = 2, R = 1, K = 0.5, gap 0.5, square relief 8 across (r = 4). The 90 deg flanges stand back R + T = 3: the base is the rhombus inset 3, side 53.071797, height 45.961524, area 2439.260673. A square relief cuts r along both edges from the trimmed base's corner, square to them: a kite of area r^2 tan(alpha/2), 9.237604 at 60 and 27.712813 at 120 deg, reaching r/cos(alpha/2) = 4.618802 and 8 along the bisector. Here every corner keeps its relief: the two 120 deg corners are the trimmed short diagonal, 53.071797, apart, so their kites are far from meeting (they would meet with the corners under 16 mm apart), every edge is longer than 2r and every other edge further than 8 from a corner. The bends stop at the reliefs: 4 x (53.071797 - 8) long, BA = (pi/2)(R + T/2) = pi wide. Each panel (leg 20 - 3 = 17, its outer face on the rhombus' edge, its inner face 2 in) is closed with its end square to it, half the gap from the corner's bisector on its inner face: (g/2 + T cos(alpha/2)) / sin(alpha/2) from the rhombus' corner along the edge, 3.964102 at 60 and 1.443376 at 120 deg, so each panel is 54.592523 long. Flat area 6644.040285; K = 0.5, so V = T x flat = 13288.080571. Bbox: the walls stand 20 high on the rhombus' edges (y 0 and 51.961524), and the panel ends at the 60 deg corners keep them 3.964102 x cos 60 = 1.982051 from x = 0 and x = 90 (the bends, stopped 4 past the trimmed corners, reach no nearer)",
"body_count": 1,
@@ -21,4 +21,4 @@
20
]
}
}
}
@@ -3,7 +3,19 @@
"tangency-labs/solidcraft#4683"
],
"what": "a box cut from a 6-section loft (spline crown and a flat bottom at z = -1) whose last section lies on a plane tilted 2 deg off its neighbours', mirrored into one body; the box crosses the tilted end and reaches below the bottom face: truck's result shell was missing a face ('no result')",
"source": "invariants",
"method": "the mirrored loft is one solid symmetric about YZ, x -149..149; the box (x 91..240, y 90..210, z -2..118) cuts through its tilted end and out of its flat bottom, so the cut leaves one valid closed body. The loft's free-form volume is not closed-form. Synthetic sections of the report's shape (a crowned spline over a flat base, narrowing along x), not its numbers",
"body_count": 1
"source": "analytic",
"method": "the mirrored loft is one solid symmetric about YZ; the box (x 91..240, y 90..210, z -2..118) cuts through its tilted end and out of its flat bottom, so the cut leaves one valid closed body. The loft's free-form volume is not closed-form, but its sections pin its box: x to the tilted last section's bottom corners, 149 + 0.034899 = 149.034899 (mirrored, -149.034899), y +-303 and z -1 at the first section's bottom corners (x = 0), z 92 at its crown; the sections' corners (y = 303 - 0.6 x) and crowns (z = 92 - 0.35 x) fall linearly with x through all of them, so the loft between them reaches no further, and the box (x >= 91, y 90..210) takes none of these points. Synthetic sections of the report's shape (a crowned spline over a flat base, narrowing along x), not its numbers",
"body_count": 1,
"bbox": {
"min": [
-149.034899,
-303,
-1
],
"max": [
149.034899,
303,
92
]
}
}
@@ -3,8 +3,12 @@
"tangency-labs/solidcraft#4191"
],
"what": "a 20x20x10 block joined round the bottom of an O6 x 50 stud carrying a modelled M6 thread: 'boolean Union: no result' (the same block joined before threading worked)",
"source": "invariants",
"method": "the block encloses the stud's bottom 10 mm, thread and all, so the join is one connected solid: one valid closed body. The modelled thread's volume is not closed-form",
"source": "analytic",
"method": "ISO 68-1 basic profile: H = P sqrt3/2, basic depth 5H/8. External groove (the space between teeth): a trapezoid P/4 wide at the root radius d/2 - 5H/8, widening by 2 tan30 per unit of radius to 7P/8 at d/2. Pappus: volume per turn = 2 pi A rc (A the trapezoid area, rc its centroid radius from the axis); a helical sweep of L/P turns removes exactly (L/P) x that, where each end of the thread is a free end or lies inside material. Stud R = 3, L = 50, M6 (P = 1) over its whole length (its top end free). The block x, y -10..10, z 0..10 encloses the stud's bottom 10 mm, groove and all, so it fills that part: V = 20 x 20 x 10 + pi 3^2 40 - 40 x 5.317130 = 4918.2882 mm3 (the groove's part above z = 10 is 40 turns' worth: its section across any z is the same, the bottom end lying inside the block). Tolerance 1%: a modelled thread is a faceted helical solid (radial chord error up to 1% of the pitch on every wall, i.e. a volume deficit of about 4/3 x sag/R).",
"body_count": 1,
"volume_mm3": 4918.2882,
"tolerance": {
"rel": 0.01
},
"timeout_s": 600
}
@@ -3,8 +3,12 @@
"tangency-labs/solidcraft#4726"
],
"what": "a modelled M48x0.75 thread over the whole 25 mm of a O48 bolt (33 turns): the browser build froze; coarse pitches and 4 mm of it worked, slowly",
"source": "invariants",
"method": "a modelled external thread on its own nominal shaft: one valid closed body within the case's timeout (slow by nature: 600 s); the helical faces have no closed-form volume",
"source": "analytic",
"method": "ISO 68-1 basic profile: H = P sqrt3/2, basic depth 5H/8. External groove (the space between teeth): a trapezoid P/4 wide at the root radius d/2 - 5H/8, widening by 2 tan30 per unit of radius to 7P/8 at d/2. Pappus: volume per turn = 2 pi A rc (A the trapezoid area, rc its centroid radius from the axis); a helical sweep of L/P turns removes exactly (L/P) x that, where each end of the thread is a free end or lies inside material. Bolt R = 24, L = 25, M48x0.75 (P = 0.75) over its whole length, both ends free: V = pi 24^2 25 - (25/0.75) x 25.647420 = 44384.0202 mm3 (the groove is 1.9% of the bolt); one valid closed body within the case's timeout (slow by nature: 600 s). Tolerance 1%: a modelled thread is a faceted helical solid (radial chord error up to 1% of the pitch on every wall, i.e. a volume deficit of about 4/3 x sag/R).",
"body_count": 1,
"volume_mm3": 44384.0202,
"tolerance": {
"rel": 0.01
},
"timeout_s": 600
}
@@ -3,8 +3,12 @@
"tangency-labs/solidcraft#5146"
],
"what": "a O23 shaft with a modelled M23x1 thread joined onto the O26 cylinder it stands on: SolidCraft ended without a clean exit during the combine",
"source": "invariants",
"method": "the shaft's end face lies on the base's top face, so the join is one solid: one valid closed body, within the case's timeout (modelled threads are slow: 600 s)",
"source": "analytic",
"method": "ISO 68-1 basic profile: H = P sqrt3/2, basic depth 5H/8. External groove (the space between teeth): a trapezoid P/4 wide at the root radius d/2 - 5H/8, widening by 2 tan30 per unit of radius to 7P/8 at d/2. Pappus: volume per turn = 2 pi A rc (A the trapezoid area, rc its centroid radius from the axis); a helical sweep of L/P turns removes exactly (L/P) x that, where each end of the thread is a free end or lies inside material. Base R = 13, h = 10; shaft R = 11.5, z 10..30, M23x1 (P = 1) over its whole length, both ends free (the bottom one then lies on the base's top face, which closes it): the shaft's end face lies on the base's top face, so the join is one solid, V = pi 13^2 10 + pi 11.5^2 20 - 20 x 21.577558 = 13187.2530 mm3, within the case's timeout (modelled threads are slow: 600 s). Tolerance 1%: a modelled thread is a faceted helical solid (radial chord error up to 1% of the pitch on every wall, i.e. a volume deficit of about 4/3 x sag/R).",
"body_count": 1,
"volume_mm3": 13187.253,
"tolerance": {
"rel": 0.01
},
"timeout_s": 600
}