From 22fdb52498e893aece374a67738aebc6e01cdddf Mon Sep 17 00:00:00 2001 From: Brennen Herbruck Date: Wed, 21 Oct 2026 06:52:51 -0400 Subject: [PATCH] kernel-cases: tessellation case from #466, skipped sources for sheet-metal, sweeps and tessellation A revolved cone tip with an exact volume and area; auto-reports without a design are listed in the skipped.json files. Co-Authored-By: Claude Sonnet 5.5 --- tests/kernel-cases/sheet-metal/skipped.json | 10 +- tests/kernel-cases/sweeps/skipped.json | 6 +- .../expected.json | 24 ++++ .../recipe.json | 118 ++++++++++++++++++ tests/kernel-cases/tessellation/skipped.json | 4 + 5 files changed, 160 insertions(+), 2 deletions(-) create mode 100644 tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/expected.json create mode 100644 tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/recipe.json diff --git a/tests/kernel-cases/sheet-metal/skipped.json b/tests/kernel-cases/sheet-metal/skipped.json index 76324bc508..5e90a615f0 100644 --- a/tests/kernel-cases/sheet-metal/skipped.json +++ b/tests/kernel-cases/sheet-metal/skipped.json @@ -346,5 +346,13 @@ { "source": "tangency-labs/solidcraft#117", "why": "profile picks by curves, not geometry" + }, + { + "source": "tangency-labs/solidcraft#2461", + "why": "auto-report with command parameters only (an extrude cut on a face of a sheet metal bracket refused for touching a bend); the bracket is not in the report and the refusal is the documented behaviour, no number to grade" + }, + { + "source": "tangency-labs/solidcraft#3680", + "why": "auto-report with command parameters only (a 5 mm drilled hole at one point of a sheet metal bracket, refused as unsupported 3D machining); no design, and holes in flat sheet are covered by 560 and 955" } -] \ No newline at end of file +] diff --git a/tests/kernel-cases/sweeps/skipped.json b/tests/kernel-cases/sweeps/skipped.json index f8ee8f30ca..8f954f87e4 100644 --- a/tests/kernel-cases/sweeps/skipped.json +++ b/tests/kernel-cases/sweeps/skipped.json @@ -286,5 +286,9 @@ { "source": "tangency-labs/solidcraft#85", "why": "not geometry: batch rollback and deleting a sketch removes its pipe (document history)" + }, + { + "source": "tangency-labs/solidcraft#1967", + "why": "no repro: 'the Loft operation isn't working', no sections, no parameters, no design" } -] \ No newline at end of file +] diff --git a/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/expected.json b/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/expected.json new file mode 100644 index 0000000000..3dce9306f7 --- /dev/null +++ b/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/expected.json @@ -0,0 +1,24 @@ +{ + "sources": [ + "tangency-labs/solidcraft#466" + ], + "what": "a six-line profile revolved a full turn about its first line, with a cone ending in a point: the tip came out with dents every 120 degrees instead of a smooth cone (rebuilt as a pencil-like profile with a collinear frustum and tip; the original design is not in the report)", + "source": "analytic", + "method": "Profile (x radius, y along the axis): (0,0)-(0,40) on the axis, (0,40)-(10,40), (10,40)-(10,25), (10,25)-(10,15), (10,15)-(4,6), (4,6)-(0,0), revolved 360 degrees about the Y axis. Cylinder R=10 from y=15 to 40: pi 100 25 = 2500 pi. Cone from r=10 at y=15 to r=4 at y=6 then on to the point at y=0 (the two cone lines are collinear, slope 2/3): frustum pi 9/3 (100 + 40 + 16) = 468 pi, tip pi 16 6/3 = 32 pi. V = 3000 pi = 9424.7780 mm3. Area: top disc 100 pi + cylinder 2 pi 10 25 + frustum pi (10+4) sqrt(81+36) + tip pi 4 sqrt(16+36) = 2451.3143 mm2. The dents are a meshing defect this rig can only see through the exact solid's volume and area (no mesh grading field).", + "outcome": "solid", + "body_count": 1, + "volume_mm3": 9424.778, + "area_mm2": 2451.3143, + "bbox": { + "min": [ + -10, + 0, + -10 + ], + "max": [ + 10, + 40, + 10 + ] + } +} \ No newline at end of file diff --git a/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/recipe.json b/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/recipe.json new file mode 100644 index 0000000000..7bdc97ae3d --- /dev/null +++ b/tests/kernel-cases/tessellation/466-revolved-cone-tip-stays-smooth/recipe.json @@ -0,0 +1,118 @@ +{ + "commands": [ + { + "command": "sketch.create", + "params": { + "plane": "XY" + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 0, + 0 + ], + [ + 0, + 40 + ] + ], + "infer": false + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 0, + 40 + ], + [ + 10, + 40 + ] + ], + "infer": false + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 10, + 40 + ], + [ + 10, + 25 + ] + ], + "infer": false + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 10, + 25 + ], + [ + 10, + 15 + ] + ], + "infer": false + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 10, + 15 + ], + [ + 4, + 6 + ] + ], + "infer": false + } + }, + { + "command": "sketch.line", + "params": { + "points": [ + [ + 4, + 6 + ], + [ + 0, + 0 + ] + ], + "infer": false + } + }, + { + "command": "sketch.finish", + "params": {} + }, + { + "command": "solid.revolve", + "params": { + "axis": "Y", + "angle": "360 deg", + "body_name": "Pencil" + } + } + ] +} \ No newline at end of file diff --git a/tests/kernel-cases/tessellation/skipped.json b/tests/kernel-cases/tessellation/skipped.json index 0d1bdd5e3c..5bc590dc0a 100644 --- a/tests/kernel-cases/tessellation/skipped.json +++ b/tests/kernel-cases/tessellation/skipped.json @@ -1010,5 +1010,9 @@ { "source": "tangency-labs/solidcraft#4154", "why": "rendering pipeline (CPU/GPU renderer, lighting, materials); no B-rep or mesh geometry" + }, + { + "source": "tangency-labs/solidcraft#2450", + "why": "display only: Section Analysis draws a white line along the edge of a circular-pattern of a revolve; the report has no revolve profile or section plane, and the solid itself is not claimed wrong" } ]