Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Wave 491/509: Kernel rig: #316's bottom rounds as large as the wall, or larger, shell with a step wall at the opening, not refused (and 2 more)

jyviko6cc1acc72ad5
diff --git a/crates/smlib/SMLIB_PREBUILT b/crates/smlib/SMLIB_PREBUILT
index 76c9b603e9..17988e36d1 100644
--- a/crates/smlib/SMLIB_PREBUILT
+++ b/crates/smlib/SMLIB_PREBUILT
@@ -1,10 +1,10 @@
# Rust target, SHA-256 of smlib-<target>.tar.gz in the release prebuilt-<SMLIB_REV> of
# tangency-labs/smlib. Written by scripts/fetch-smlib.sh --pin; never edited by hand.
-aarch64-apple-darwin b3de509abbe7c2846bdad3eed7392bdc9479e9454bb9766b3aa165958e818590
-aarch64-pc-windows-msvc b367f78daa5a8aa54fca72d2f3aab891ab8043a1f592589e8081fdb75a7cd947
-aarch64-unknown-linux-gnu b0378b5fcba90aff5209a36a0aa63d86a0f83e84cec5c7dce20c27bc1515ded3
-i686-pc-windows-msvc c253907bac0fc5b6908396bd9be2f81404be2425a36934be7514580aedc5552f
-wasm32-unknown-unknown 537e2361deeb363ce3251f4294d93af6ca0e194abdded5a960fa51c2109803fd
-x86_64-apple-darwin 38e663d2ea28a3f1407576e295f2342d8ed0f187c0c7740369db6a2257d5d1a2
-x86_64-pc-windows-msvc 13c46708e298f1e0c35207d4a72479bab64f8841e29ea6a217f545ace453acac
-x86_64-unknown-linux-gnu 0e10967871fee4372e5f10382661b1af248ac84cc22f9bbbe44c6d4b4c71b1d9
+aarch64-apple-darwin 9d3b60a82d3789433bf91b177d9072f6f1465f817474adc22cec99e69e7b3cbb
+aarch64-pc-windows-msvc 3fa882a30884b1776940bf1608f3bad394ce1ddf144d0589458cb22b7b98ab88
+aarch64-unknown-linux-gnu ea14e151773472f59e6bd7948f63e56fffbcdfb4c43c307c0a47e9da0f31f11a
+i686-pc-windows-msvc c56e8db76799914e235f45f520a5382368f4fadbed793ec0f60626695e2eac2e
+wasm32-unknown-unknown 4d2a27d1122c5876a2293e13c06d999d4dd6348614f08b2bf44f785e7cb69fb7
+x86_64-apple-darwin 2a6ec9b280b6fac349dd6dbf6d4a3fc42d7fb93c787f7113b566cc6764586bcb
+x86_64-pc-windows-msvc 205e5c7325260861b396fbeac068e9a11a200750e7d5048345e870caa0bdfb27
+x86_64-unknown-linux-gnu 941df71e61603d3f27f2204e9f7c7926fcae899ff384a9ceff5fadee43245533
diff --git a/crates/smlib/SMLIB_REV b/crates/smlib/SMLIB_REV
index 215ccff17f..36aea93257 100644
--- a/crates/smlib/SMLIB_REV
+++ b/crates/smlib/SMLIB_REV
@@ -1 +1 @@
-7ac037e5055c6c045be619c05b5b20f90acdb3d8
+d01d7b05bf2e15c1c085b665d84167e7de6834af
diff --git a/tests/kernel-cases/fillets/KNOWN_FAILING b/tests/kernel-cases/fillets/KNOWN_FAILING
index 1f6b8e9d3b..aab567e6df 100644
--- a/tests/kernel-cases/fillets/KNOWN_FAILING
+++ b/tests/kernel-cases/fillets/KNOWN_FAILING
@@ -12,22 +12,10 @@
5158-fillet-round-just-past-a-10mm-face SMLib status 1001: the round passes 5e-6 under the box's top back edge, inside the body's tolerance (1e-5), and subtracting its removal region maps that edge to two of the region's faces (SmTopologyIntersector); 10.0001-10.04 open
9-fillet-corner-curvature-with-reduce-fit not supported yet: solid.fillet builds corner g2 with the exact fit only
9-fillet-corner-curvature-with-taper-fit not supported yet: solid.fillet builds corner g2 with the exact fit only
-926-chamfer-top-edge-ending-on-boss-wall-above-it not supported yet: the chamfer is refused as larger than its faces where it ends on the boss's wall
-cov-chamfer-concave-edge-through-up-down-joined-squares SMLib status 1001 on the concave chamfer's tangent chain
-cov-chamfer-outer-corner-edge-of-a-shelled-box-with-a-lip SMLib's chamfer result is not a closed solid where it ends on the lip
-cov-fillet-arc-edge-on-an-oblique-cut-of-a-bar SMLib's check refuses the round: internal coincident control points in a B-spline curve
-cov-fillet-exact-cone-cylinder-sharing-a-ball-r1 the round is traced: two B-spline faces of degrees (3, 3), not one rational face of degrees (6, 2)
-cov-fillet-exact-cylinders-touching-at-a-point-r1 the round is traced: four B-spline faces of degrees (3, 3), not one rational face of degrees (12, 2)
-cov-fillet-exact-oblique-plane-cone-rim-r1-5 the round is traced: two B-spline faces of degrees (3, 3), not one rational face of degrees (4, 2)
-cov-fillet-exact-oblique-plane-cylinder-rim-r2 the round is traced: two B-spline faces of degrees (3, 3), not one rational face of degrees (4, 2); volume 1.2e-6 short
-cov-fillet-exact-sphere-coaxial-cone-r3 the round is traced (no sphere is taken as analytic): a B-spline of degrees (3, 3), not the revolved arc's (2, 2); volume 1.1e-6 over
-cov-fillet-exact-sphere-plane-rim-r2 the round is traced (no sphere is taken as analytic): a B-spline of degrees (3, 3), not the revolved arc's (2, 2); volume 1.9e-6 short
cov-fillet-g2-corner-beside-a-cylinder not supported yet: the curvature fillet builds its sections only between planar faces ("a picked edge is not on the face beside it" on the cylinder's arc)
cov-fillet-g2-five-edge-apex-corner refused: the default setback is shorter than where the rounds' contact lines meet (3.5056 mm from the apex); the corner should take a setback that works
cov-fillet-g2-four-edge-apex-corner refused: the default setback is shorter than where the rounds' contact lines meet (3.9027 mm from the apex); the corner should take a setback that works
cov-fillet-g2-mixed-corner not supported yet: SMLib sets back a corner only where its edges are all convex or all concave
-every-block-cylinder-crease-top-edge-after-arc-round-r1 the r1 round's contact seam with the block's side face reads 60 degrees (the cylinder wall's normal) at its end on the crease (8.660, 5, 15.284): G0 where the round is built tangent
-every-hole-top-rim-r12-past-plate-bottom SMLib status 1001: a convex round past its face on the tangent side is not yet built by subtraction
report-drafted-peg-front-and-concave-rounds-together-r2 not supported yet: SMLib refuses the corner where the drafted front top edge runs tangent into the concave arc (on the cone) as of no kind its blend corners take
report-fillet-concave-arc-and-front-top-edge-together-r5-solver-residues the corner patch where the convex and concave rounds meet stands 0.128 out of the front face (box y min -0.0699 against 0.0579)
report-fillet-concave-arc-and-front-top-edge-together-r7-solver-residues the corner patch where the convex and concave rounds meet stands 0.230 out of the front face (box y min -0.1723 against 0.0579)
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused/expected.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused/expected.json
deleted file mode 100644
index b9188cc109..0000000000
--- a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused/expected.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "sources": [
- "tangency-labs/solidcraft#316"
- ],
- "what": "a 40 x 30 x 10 box, its bottom outline rounded R2.4, shelled 2 mm open at the bottom: the cavity's walls stand 2 in, where the round meets the bottom, so the rim would have no thickness: refused, naming the rim",
- "source": "analytic",
- "method": "the open bottom's rim runs from the round's contact with the bottom (r = 2.4 in from the outside) to the cavity's wall (2 in): the round's contact lies past the wall, so there is no rim; refused",
- "outcome": "refused",
- "refusal": "not supported yet: the rim"
-}
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-larger-than-the-wall-steps/expected.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-larger-than-the-wall-steps/expected.json
new file mode 100644
index 0000000000..0836e468b4
--- /dev/null
+++ b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-larger-than-the-wall-steps/expected.json
@@ -0,0 +1,22 @@
+{
+ "sources": [
+ "tangency-labs/solidcraft#316"
+ ],
+ "what": "a 40 x 30 x 10 box, its bottom outline rounded R2.4, shelled 2 mm open at the bottom: where the round meets the open bottom the cavity's wall steps down along the bottom's normal (a step wall), so the round meets it at 90 degrees at the opening's edge and the opening is exactly the picked face",
+ "source": "analytic",
+ "method": "box 40x30x10 less the bottom rounds R2.4 (the four edges mitred at the vertical corners), less the cavity: the walls and top moved 2 in, the open bottom kept, and at the bottom's tangent edge with the round a step wall along the bottom's normal from the bottom (offset 0) to the round's offset (offset 2); the round's offset has radius 0.4. The material along each bottom edge is a mitred ring of section t(r - t) + (1 - pi/4)(r - t)^2 on top of the walls' plain sections; integrated round the outline with the mitred corners (quadrature agrees to 3e-5): V = 4446.399483",
+ "body_count": 1,
+ "volume_mm3": 4446.399483,
+ "bbox": {
+ "min": [
+ 0,
+ 0,
+ 0
+ ],
+ "max": [
+ 40,
+ 30,
+ 10
+ ]
+ }
+}
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused/recipe.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-larger-than-the-wall-steps/recipe.json
similarity index 100%
rename from tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused/recipe.json
rename to tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-4-larger-than-the-wall-steps/recipe.json
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused/expected.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused/expected.json
deleted file mode 100644
index 19413be212..0000000000
--- a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused/expected.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "sources": [
- "tangency-labs/solidcraft#316"
- ],
- "what": "a 40 x 30 x 10 box, its bottom outline rounded R2, shelled 2 mm open at the bottom: the cavity's walls stand 2 in, where the round meets the bottom, so the rim would have no thickness: refused, naming the rim",
- "source": "analytic",
- "method": "the open bottom's rim runs from the round's contact with the bottom (r = 2 in from the outside) to the cavity's wall (2 in): 0 wide, so there is no rim; refused",
- "outcome": "refused",
- "refusal": "not supported yet: the rim"
-}
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-steps/expected.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-steps/expected.json
new file mode 100644
index 0000000000..5b639417b0
--- /dev/null
+++ b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-steps/expected.json
@@ -0,0 +1,22 @@
+{
+ "sources": [
+ "tangency-labs/solidcraft#316"
+ ],
+ "what": "a 40 x 30 x 10 box, its bottom outline rounded R2, shelled 2 mm open at the bottom: where the round meets the open bottom the cavity's wall steps down along the bottom's normal (a step wall), so the round meets it at 90 degrees at the opening's edge and the opening is exactly the picked face",
+ "source": "analytic",
+ "method": "box 40x30x10 less the bottom rounds R2 (the four edges mitred at the vertical corners), less the cavity: the walls and top moved 2 in, the open bottom kept, and at the bottom's tangent edge with the round a step wall along the bottom's normal from the bottom (offset 0) to the round's offset (offset 2); the round's offset has radius 0. The material along each bottom edge is a mitred ring of section t(r - t) + (1 - pi/4)(r - t)^2 on top of the walls' plain sections; integrated round the outline with the mitred corners (quadrature agrees to 3e-5): V = 4394.890822",
+ "body_count": 1,
+ "volume_mm3": 4394.890822,
+ "bbox": {
+ "min": [
+ 0,
+ 0,
+ 0
+ ],
+ "max": [
+ 40,
+ 30,
+ 10
+ ]
+ }
+}
diff --git a/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused/recipe.json b/tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-steps/recipe.json
similarity index 100%
rename from tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused/recipe.json
rename to tests/kernel-cases/shell/316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-steps/recipe.json
diff --git a/tests/kernel-cases/shell/KNOWN_FAILING b/tests/kernel-cases/shell/KNOWN_FAILING
index f2b1fbc4e8..9a4ff580aa 100644
--- a/tests/kernel-cases/shell/KNOWN_FAILING
+++ b/tests/kernel-cases/shell/KNOWN_FAILING
@@ -2,6 +2,4 @@
# rig gate (.github/workflows/kernel-rig.yml) fails on a case that fails and is not listed here,
# and on a listed case that passes: a fix removes its line in the same pull request.
# Baseline: 45f69c0e5 with SMLib 60b1c6a, aarch64 Linux.
-316-shell-open-beside-a-bottom-round-r2-4-as-large-as-the-wall-refused builds a shell where the rim has no thickness instead of refusing it
-316-shell-open-beside-a-bottom-round-r2-as-large-as-the-wall-refused builds a shell where the rim has no thickness instead of refusing it
cov-shell-again-open-at-an-inner-wall-of-a-shelled-box SMLib status 1001