step-examples/12-2b-nurbs/Gn010.stp
Sources
- 11-translator-vendors.md (W017 — HOOPS Exchange SDHE-22166)
Description
NURBS control points have coordinates far outside the model's valid extent (huge values, NaN, geometrically impossible relative to the surface intent). Often caused by exporters botching the rational arithmetic or by integer-overflow on weight normalization.
Reproducer recipe
`B_SPLINE_SURFACE_WITH_KNOTS` with one interior control point at `(1e100, 1e100, 1e100)` but otherwise sensible knots and degree-3 net.
Expected kernel behavior
reject the surface; refuse to materialize. At minimum, refuse to use it for projection or intersection. Validate magnitudes against bounding-box envelope.
Notes
**See also**: Gs036. **OCC behavior**: OCC loads the file and produces no shape (empty). Re-audit (2026-07-18, empty-claim re-audit) shows the empty is not caused by the declared defect (out-of-range (1e100) NURBS control point): the model is one hand-authored ADVANCED_FACE (B-spline surface with per-edge SURFACE_CURVE/PCURVE) in an OPEN_SHELL that OCC's STEP transfer never builds into a TopoDS face. Base, a CLEAN copy with the injected C-1-break defect edge closed, and a fully well-formed copy (declared defect repaired, scaffold pcurve domains corrected) are all empty (f=0); a genuinely-building B-spline face fixture (Gn024) loads f=1. The silent-empty is toy single-face topology, not a defect-driven silent data-loss, so this is not a proven kernel bug. Synonyms: "NURBS control point coordinates out of range", "NaN in B-spline surface poles", "huge coordinate values 1e100 in NURBS", "NURBS pole has impossible coordinates", "NaN propagation from B-spline control points".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'B_SPLINE_SURFACE')
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Gn010: B_SPLINE_SURFACE_WITH_KNOTS degree (3,3) 4x4 net; U knots (0.0,1.0) mults (4,4) sum=8=3+4+1 â; V knots (0.0,1.0) mults (4,4) sum=8=3+4+1 â; interior CP[1][1]=(1e100,1e100,1e100) â out-of-range coordinate (exporter weight normalization overflow); defect edge B_SPLINE_CURVE_WITH_KNOTS degree-2 C-1 break at t=0.5 (CP[2]=(1.5,0,0) vs CP[3]=(3.0,0,0), 1.5-unit gap) drives shape_null=True */ 3HEADER; 4FILE_DESCRIPTION(('Gn010'),'2;1'); 5FILE_NAME('Gn010.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=CARTESIAN_POINT('',(0.0,1.0,0.0)); 12#3=CARTESIAN_POINT('',(0.0,2.0,0.0)); 13#4=CARTESIAN_POINT('',(0.0,3.0,0.0)); 14#5=CARTESIAN_POINT('',(1.0,0.0,0.0)); 15#6=CARTESIAN_POINT('',(1.0E+100,1.0E+100,1.0E+100)); 16#7=CARTESIAN_POINT('',(1.0,2.0,0.0)); 17#8=CARTESIAN_POINT('',(1.0,3.0,0.0)); 18#9=CARTESIAN_POINT('',(2.0,0.0,0.0)); 19#10=CARTESIAN_POINT('',(2.0,1.0,0.0)); 20#11=CARTESIAN_POINT('',(2.0,2.0,0.0)); 21#12=CARTESIAN_POINT('',(2.0,3.0,0.0)); 22#13=CARTESIAN_POINT('',(3.0,0.0,0.0)); 23#14=CARTESIAN_POINT('',(3.0,1.0,0.0)); 24#15=CARTESIAN_POINT('',(3.0,2.0,0.0)); 25#16=CARTESIAN_POINT('',(3.0,3.0,0.0)); 26#17=B_SPLINE_SURFACE_WITH_KNOTS('nan_cp',3,3,((#1,#2,#3,#4),(#5,#6,#7,#8),(#9,#10,#11,#12),(#13,#14,#15,#16)),.UNSPECIFIED.,.F.,.F.,.F.,(4,4),(4,4),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 27#18=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D')); 28#19=CARTESIAN_POINT('',(0.0,0.0,0.0)); 29#20=CARTESIAN_POINT('',(3.0,0.0,0.0)); 30#21=CARTESIAN_POINT('',(3.0,3.0,0.0)); 31#22=CARTESIAN_POINT('',(0.0,3.0,0.0)); 32#23=VERTEX_POINT('',#19); 33#24=VERTEX_POINT('',#20); 34#25=VERTEX_POINT('',#21); 35#26=VERTEX_POINT('',#22); 36#27=CARTESIAN_POINT('',(3.0,0.0,0.0)); 37#28=DIRECTION('',(0.0,1.0,0.0)); 38#29=VECTOR('',#28,3.0); 39#30=LINE('',#27,#29); 40#31=CARTESIAN_POINT('',(3.0,0.0)); 41#32=DIRECTION('',(0.0,1.0)); 42#33=VECTOR('',#32,3.0); 43#34=LINE('',#31,#33); 44#35=DEFINITIONAL_REPRESENTATION('pcdef',(#34),#18); 45#36=PCURVE('pc',#17,#35); 46#37=SURFACE_CURVE('sc',#30,(#36),.PCURVE_S1.); 47#38=EDGE_CURVE('ec',#24,#25,#37,.T.); 48#39=CARTESIAN_POINT('',(3.0,3.0,0.0)); 49#40=DIRECTION('',(-1.0,0.0,0.0)); 50#41=VECTOR('',#40,3.0); 51#42=LINE('',#39,#41); 52#43=CARTESIAN_POINT('',(3.0,3.0)); 53#44=DIRECTION('',(-1.0,0.0)); 54#45=VECTOR('',#44,3.0); 55#46=LINE('',#43,#45); 56#47=DEFINITIONAL_REPRESENTATION('pcdef',(#46),#18); 57#48=PCURVE('pc',#17,#47); 58#49=SURFACE_CURVE('sc',#42,(#48),.PCURVE_S1.); 59#50=EDGE_CURVE('ec',#25,#26,#49,.T.); 60#51=CARTESIAN_POINT('',(0.0,3.0,0.0)); 61#52=DIRECTION('',(0.0,-1.0,0.0)); 62#53=VECTOR('',#52,3.0); 63#54=LINE('',#51,#53); 64#55=CARTESIAN_POINT('',(0.0,3.0)); 65#56=DIRECTION('',(0.0,-1.0)); 66#57=VECTOR('',#56,3.0); 67#58=LINE('',#55,#57); 68#59=DEFINITIONAL_REPRESENTATION('pcdef',(#58),#18); 69#60=PCURVE('pc',#17,#59); 70#61=SURFACE_CURVE('sc',#54,(#60),.PCURVE_S1.); 71#62=EDGE_CURVE('ec',#26,#23,#61,.T.); 72#63=CARTESIAN_POINT('',(0.0,0.0,0.0)); 73#64=CARTESIAN_POINT('',(0.75,0.0,0.0)); 74#65=CARTESIAN_POINT('',(1.5,0.0,0.0)); 75#66=CARTESIAN_POINT('',(3.0,0.0,0.0)); 76#67=CARTESIAN_POINT('',(3.5,0.0,0.0)); 77#68=CARTESIAN_POINT('',(3.0,0.0,0.0)); 78#69=B_SPLINE_CURVE_WITH_KNOTS('nan_cp_c1_break',2,(#63,#64,#65,#66,#67,#68),.UNSPECIFIED.,.F.,.F.,(3,3,3),(0.0,0.5,1.0),.UNSPECIFIED.); 79#70=CARTESIAN_POINT('',(0.0,0.0)); 80#71=CARTESIAN_POINT('',(0.25,0.0)); 81#72=CARTESIAN_POINT('',(0.5,0.0)); 82#73=CARTESIAN_POINT('',(0.5,0.0)); 83#74=CARTESIAN_POINT('',(0.75,0.0)); 84#75=CARTESIAN_POINT('',(1.0,0.0)); 85#76=B_SPLINE_CURVE_WITH_KNOTS('nan_cp_c1_break_pc',2,(#70,#71,#72,#73,#74,#75),.UNSPECIFIED.,.F.,.F.,(3,3,3),(0.0,0.5,1.0),.UNSPECIFIED.); 86#77=DEFINITIONAL_REPRESENTATION('nan_cp_pc_def',(#76),#18); 87#78=PCURVE('nan_cp_pc_ent',#17,#77); 88#79=SURFACE_CURVE('nan_cp_sc',#69,(#78),.PCURVE_S1.); 89#80=EDGE_CURVE('nan_cp_edge',#23,#24,#79,.T.); 90#81=ORIENTED_EDGE('',$,$,#80,.T.); 91#82=ORIENTED_EDGE('',$,$,#38,.T.); 92#83=ORIENTED_EDGE('',$,$,#50,.T.); 93#84=ORIENTED_EDGE('',$,$,#62,.T.); 94#85=EDGE_LOOP('',(#81,#82,#83,#84)); 95#86=FACE_OUTER_BOUND('',#85,.T.); 96#87=ADVANCED_FACE('',(#86),#17,.T.); 97#88=OPEN_SHELL('',(#87)); 98#89=SHELL_BASED_SURFACE_MODEL('',(#88)); 99#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 100#9051=PRODUCT('Gn010','Gn010','',(#9050)); 101#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 102#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 103#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 104#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 105#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 106#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 107#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 108#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 109#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 110#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#89),#9060); 111#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 112ENDSEC; 113END-ISO-10303-21;