Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel
Restore validator compatibility gates for offset-through diagnostic
Yuechen Li064b0b048050
diff --git a/Aetheris.Kernel.Core.Tests/Brep/Boolean/BrepBooleanTests.cs b/Aetheris.Kernel.Core.Tests/Brep/Boolean/BrepBooleanTests.csindex 0ebbb524..3c790747 100644--- a/Aetheris.Kernel.Core.Tests/Brep/Boolean/BrepBooleanTests.cs+++ b/Aetheris.Kernel.Core.Tests/Brep/Boolean/BrepBooleanTests.cs@@ -1295,7 +1295,7 @@ public sealed class BrepBooleanTests}[Fact]- public void Subtract_ComposedBlindPocketThenOffsetThrough_ReturnsCoaxialSteppedDiagnostic()+ public void Subtract_ComposedBlindPocketThenOffsetThrough_RejectsWithHoleInterferenceDiagnostic(){var baseBox = BrepBooleanBoxRecognition.CreateBoxFromExtents(new AxisAlignedBoxExtents(-35d, 35d, -20d, 20d, -8d, 8d)).Value;var pocket = TransformBody(BrepPrimitives.CreateCylinder(7d, 6d).Value, Transform3D.CreateTranslation(new Vector3D(0d, 0d, 5d)));@@ -1305,8 +1305,10 @@ public sealed class BrepBooleanTestsAssert.True(first.IsSuccess);var second = BrepBoolean.Subtract(first.Value, offsetThrough);- Assert.True(second.IsSuccess, string.Join(Environment.NewLine, second.Diagnostics.Select(d => d.Message)));- Assert.Equal(2, second.Value.SafeBooleanComposition?.Holes.Count);+ Assert.False(second.IsSuccess);+ var diagnostic = Assert.Single(second.Diagnostics);+ Assert.Equal("BrepBoolean.AnalyticHole.HoleInterference", diagnostic.Source);+ Assert.Contains("overlaps previously accepted hole", diagnostic.Message, StringComparison.Ordinal);}[Fact]diff --git a/docs/brep-boolean-stack-a1-nlevel-coaxial-validator.md b/docs/brep-boolean-stack-a1-nlevel-coaxial-validator.mdindex 82e6fcb4..b96262cb 100644--- a/docs/brep-boolean-stack-a1-nlevel-coaxial-validator.md+++ b/docs/brep-boolean-stack-a1-nlevel-coaxial-validator.md@@ -25,3 +25,10 @@ A1 generalizes safe-composition continuation validation so N-level coaxial subtr## Next step- BREP-BOOLEAN-STACK-A2 should focus on any downstream builder/topology blocker only if present after validator admission.++## A1.1 compatibility cleanup++- Classified `Subtract_ComposedBlindPocketThenOffsetThrough_ReturnsCoaxialSteppedDiagnostic` as **A: stale diagnostic expectation**.+- The fixture is intentionally non-coaxial (`offsetThrough` translated by `X=1.5`) and strongly overlapping (`r=7` blind pocket vs `r=3.5` through), so independent-hole interference rejection is the correct bounded-family outcome.+- Updated the test to assert failure with `BrepBoolean.AnalyticHole.HoleInterference` and overlap wording, and renamed it to `Subtract_ComposedBlindPocketThenOffsetThrough_RejectsWithHoleInterferenceDiagnostic`.+- A1 N-level coaxial admission remains unchanged for the canonical coaxial stepped continuation path.