Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

Update STC10 blocker expectation and refresh NIST audit snapshot

Yuechen Li3aec37e75293
diff --git a/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs b/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
index a243618e..d2271f9d 100644
--- a/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
+++ b/Aetheris.Kernel.Core.Tests/Step242/Step242ConicalSurfaceRegressionTests.cs
@@ -152,7 +152,7 @@ public sealed class Step242ConicalSurfaceRegressionTests
"testdata/step242/nist/STC/nist_stc_10_asme1_ap242-e2.stp",
"tessellator",
"Viewer.Tessellation.PlanarNonConvexTriangulationFailed",
- "Face 221 planar loop triangulation failed")]
+ "Face 225 planar loop triangulation failed")]
public void Step242_NistTargets_AdvancePastCircleTrim_AndKeepDeterministicNextBlocker(
string relativePath,
string expectedLayer,
diff --git a/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs b/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
index 16cef763..95963db8 100644
--- a/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
+++ b/Aetheris.Kernel.Core/Brep/Tessellation/BrepDisplayTessellator.cs
@@ -2592,7 +2592,7 @@ public static class BrepDisplayTessellator
if (body.Bindings.TryGetEdgeBinding(coedge.EdgeId, out var binding) && binding.TrimInterval is ParameterInterval trim)
{
interval = trim;
- reverseSampleOrder = effectiveIsReversed;
+ reverseSampleOrder = effectiveIsReversed ^ !binding.OrientedEdgeSense;
}
else
{
diff --git a/testdata/step242/manifests/nist.v0.report.json b/testdata/step242/manifests/nist.v0.report.json
index ed1ed86d..3998cc78 100644
--- a/testdata/step242/manifests/nist.v0.report.json
+++ b/testdata/step242/manifests/nist.v0.report.json
@@ -392,7 +392,7 @@
"firstDiagnostic": {
"code": "NotImplemented",
"source": "Viewer.Tessellation.PlanarNonConvexTriangulationFailed",
- "messagePrefix": "Face 221 planar loop triangulation failed because the polygon is not simple."
+ "messagePrefix": "Face 225 planar loop triangulation failed because the polygon is not simple."
},
"diagnosticCount": 1,
"exceptionEscaped": false,