Gn008 — High-curvature curves: knot multiplicity at full degree producing near-cusps

§12.2b NURBS/knots

silent-loss geometry

Sources

Description

BSpline curves with multi-knots at full-degree multiplicity (cusp-producing) or rational BSpline with control-point weight ratio above ~1e3 cause downstream meshers to over-resolve or fail. Often artifacts of NURBS knot insertion or approximation during translation.

Reproducer recipe

`B_SPLINE_CURVE_WITH_KNOTS` of degree 3 with an interior knot of multiplicity 3 (creating a near-cusp); or a `RATIONAL_B_SPLINE_CURVE` with weights `(1, 1000, 1, 1)`.

Expected kernel behavior

accept geometrically; flag as a quality warning; downstream meshers must detect and refuse / refit before meshing.

Notes

**See also**: Gs040. **OCC behavior**: oracle-invisible (shape_counts) — occt=shape(1)/shape(1) gmsh=shape(1). The near-cusp / high-weight-ratio B_SPLINE curve is byte-present but sits in an unreferenced GEOMETRIC_CURVE_SET, so OCC/gmsh build a 1-vertex stub and silently accept with NO distinguishing signal vs a clean file. oracle-invisible (shape_counts): the defect is byte-verifiable but not demonstrable by the load-time shape-count oracles. Synonyms: "knot multiplicity exceeds degree+1", "B-spline near-cusp from full-degree interior knot", "rational B-spline weight ratio over 1000 causes mesher fail", "knot multiplicity equals order produces cusp", "high-curvature NURBS curve over-resolves mesher".

Expected validation

occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a

Byte assertions

Tier-3 assertions

Cross-references

Gs040

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Gn008: High-curvature B-spline curves: (A) B_SPLINE_CURVE_WITH_KNOTS degree 3 with interior knot of multiplicity 3 (full degree = cusp-producing near-cusp); (B) RATIONAL_B_SPLINE_CURVE with weights (1,1000,1,1) — ratio ~1e3 causes mesher over-resolution or failure; accept geometrically; flag as quality warning; downstream meshers must detect and refuse/refit before meshing. The cusp/high-weight curves sit in an unreferenced GEOMETRIC_CURVE_SET, so OCC loads only a 1-vertex stub; the near-cusp / weight-ratio is byte-present but is a geometry-QUALITY property invisible to the load-time shape-count oracles (shape(1)), not a genuine load-time demonstration */
3HEADER;
4FILE_DESCRIPTION(('Gn008'),'2;1');
5FILE_NAME('Gn008.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('',(0.0,0.0,0.0));
11#2=GEOMETRIC_CURVE_SET('',(#1));
12#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
13#9051=PRODUCT('Gn008','Gn008','',(#9050));
14#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
15#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
16#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
17#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
18#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
19#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
20#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
21#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
22#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
23#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#2),#9060);
24#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
25#9063=CARTESIAN_POINT('',(0.0,0.0,0.0));
26#9064=CARTESIAN_POINT('',(0.5,1.0,0.0));
27#9065=CARTESIAN_POINT('',(1.0,2.0,0.0));
28#9066=CARTESIAN_POINT('',(1.5,0.0,0.0));
29#9067=CARTESIAN_POINT('',(2.0,-1.0,0.0));
30#9068=CARTESIAN_POINT('',(2.5,0.5,0.0));
31#9069=CARTESIAN_POINT('',(3.0,0.0,0.0));
32#9070=B_SPLINE_CURVE_WITH_KNOTS('cusp_mult3',3,(#9063,#9064,#9065,#9066,#9067,#9068,#9069),.UNSPECIFIED.,.F.,.F.,(4,3,4),(0.0,0.5,1.0),.UNSPECIFIED.);
33#9071=CARTESIAN_POINT('',(0.0,0.0,0.0));
34#9072=CARTESIAN_POINT('',(1.0,2.0,0.0));
35#9073=CARTESIAN_POINT('',(2.0,2.0,0.0));
36#9074=CARTESIAN_POINT('',(3.0,0.0,0.0));
37#9075=(
38  BOUNDED_CURVE()
39  B_SPLINE_CURVE(3,(#9071,#9072,#9073,#9074),.UNSPECIFIED.,.F.,.F.)
40  B_SPLINE_CURVE_WITH_KNOTS((4,4),(0.0,1.0),.UNSPECIFIED.)
41  CURVE()
42  GEOMETRIC_REPRESENTATION_ITEM()
43  RATIONAL_B_SPLINE_CURVE((1.0,1000.0,1.0,1.0))
44  REPRESENTATION_ITEM('high_weight_ratio')
45);
46ENDSEC;
47END-ISO-10303-21;