step-examples/12-2b-nurbs/Gn162.stp
Sources
- synthesized — no external source cited
Description
B-spline curve with interior knot over-multiplicity
Reproducer recipe
Expected kernel behavior
accept and heal: the curve's interior knot at t=0.5 has multiplicity 4, equal to degree+1 for this degree-3 curve -- the maximum the format allows, producing a genuine positional (C-1) break; the curve splits into two independent cubic segments at that parameter rather than being a single continuous curve. A kernel should recognize this as a valid split point (not a malformed knot vector) and either remove the redundant knot repetition to restore continuity where the flanking geometry supports it, or keep the curve split into its two segments and record the discontinuity explicitly.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Tier-3 assertions
load == "ok"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gn162: degree-3 B_SPLINE_CURVE_WITH_KNOTS with 6 poles; interior knot at 0.5 has multiplicity 4 = degree+1 (overclamped); creates C(-1) geometric discontinuity at t=0.5 (breakpoint); knot removal must repair; curve splits into two independent cubic segments; EDGE_CURVE on this curve â loads as shape(1) */ 3HEADER; 4FILE_DESCRIPTION(('Gn162'),'2;1'); 5FILE_NAME('Gn162.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('',(2.0,4.0,0.0)); 12#3=CARTESIAN_POINT('',(4.0,4.0,0.0)); 13#4=CARTESIAN_POINT('',(5.0,0.0,0.0)); 14#5=CARTESIAN_POINT('',(6.0,4.0,0.0)); 15#6=CARTESIAN_POINT('',(10.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(0.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(1.5,4.0,0.0)); 18#9=CARTESIAN_POINT('',(3.0,4.0,0.0)); 19#10=CARTESIAN_POINT('',(4.5,0.0,0.0)); 20#11=CARTESIAN_POINT('',(5.5,4.0,0.0)); 21#12=CARTESIAN_POINT('',(7.0,4.0,0.0)); 22#13=CARTESIAN_POINT('',(8.5,0.0,0.0)); 23#14=CARTESIAN_POINT('',(10.0,0.0,0.0)); 24#15=B_SPLINE_CURVE_WITH_KNOTS('interior_overclamp',3,(#7,#8,#9,#10,#11,#12,#13,#14),.UNSPECIFIED.,.F.,.F.,(4,4,4),(0.0,0.5,1.0),.UNSPECIFIED.); 25#16=VERTEX_POINT('',#7); 26#17=VERTEX_POINT('',#14); 27#18=EDGE_CURVE('overclamp_edge',#16,#17,#15,.T.); 28#19=ORIENTED_EDGE('',$,$,#18,.T.); 29#20=EDGE_LOOP('',(#19)); 30#21=CARTESIAN_POINT('',(0.0,0.0,0.0)); 31#22=DIRECTION('',(0.0,0.0,1.0)); 32#23=DIRECTION('',(1.0,0.0,0.0)); 33#24=AXIS2_PLACEMENT_3D('',#21,#22,#23); 34#25=PLANE('',#24); 35#26=FACE_OUTER_BOUND('',#20,.T.); 36#27=ADVANCED_FACE('',(#26),#25,.T.); 37#28=OPEN_SHELL('',(#27)); 38#29=SHELL_BASED_SURFACE_MODEL('',(#28)); 39#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 40#9051=PRODUCT('Gn162','Gn162','',(#9050)); 41#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 42#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 43#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 44#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 45#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 46#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 47#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 48#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 49#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 50#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#29),#9060); 51#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 52ENDSEC; 53END-ISO-10303-21;