step-examples/12-2b-nurbs/Gn107.stp
Sources
- synthesized — no external source cited
Description
approximate-mode B-spline high-frequency
Reproducer recipe
Expected kernel behavior
reject-with-diagnostic: the curve entity's parameter list does not match its declared arity (an extra boolean-like token appears where the control-points list is expected in the constructor call), so any strict reader must fail to construct the curve rather than misinterpret a later parameter's type. A kernel must validate an entity's parameter count and per-position types against its EXPRESS definition before using any of its values, and reject with a diagnostic naming the entity and the mismatched position -- not read past a misaligned argument list, which is what makes this fixture crash outright rather than fail cleanly.
Expected validation
occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gn107: B-spline high-frequency sawtooth; bounding-box approximate mode misses peaks */ 3HEADER; 4FILE_DESCRIPTION(('Gn107'),'2;1'); 5FILE_NAME('Gn107.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.25,1.5,0.0)); 12#3=CARTESIAN_POINT('',(0.5,0.0,0.0)); 13#4=CARTESIAN_POINT('',(0.75,1.5,0.0)); 14#5=CARTESIAN_POINT('',(1.0,0.0,0.0)); 15#6=B_SPLINE_CURVE_WITH_KNOTS('sawtooth',2,.F.,(#1,#2,#3,#4,#5),.UNSPECIFIED.,.F.,.F.,(1,2,1,1,1),(0.0,1.0,2.0,3.0),.UNSPECIFIED.); 16#7=VERTEX_POINT('',#1); 17#8=VERTEX_POINT('',#5); 18#9=EDGE_CURVE('',#7,#8,#6,.T.); 19#10=ORIENTED_EDGE('',$,$,#9,.T.); 20#11=EDGE_LOOP('',(#10)); 21#12=FACE_OUTER_BOUND('',#11,.T.); 22#13=CARTESIAN_POINT('',(0.0,0.0,0.0)); 23#14=DIRECTION('',(0.0,0.0,1.0)); 24#15=DIRECTION('',(1.0,0.0,0.0)); 25#16=AXIS2_PLACEMENT_3D('',#13,#14,#15); 26#17=PLANE('',#16); 27#18=ADVANCED_FACE('',(#12),#17,.T.); 28#19=OPEN_SHELL('',(#18)); 29#20=SHELL_BASED_SURFACE_MODEL('',(#19)); 30#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 31#9051=PRODUCT('Gn107','Gn107','',(#9050)); 32#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 33#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 34#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 35#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 36#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 37#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 38#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 39#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 40#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 41#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#20),#9060); 42#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 43ENDSEC; 44END-ISO-10303-21;