step-examples/12-2b-nurbs/Gn159.stp
Sources
- synthesized — no external source cited
Description
B-spline surface with collapsed U-boundary pole (pin-face singularity)
Reproducer recipe
Expected kernel behavior
heal: the surface's entire last U-row of control points collapses to the single point (3.0, 1.5, 0.0) -- a valid but singular 'pinched' boundary that will produce a degenerate iso-curve at that U parameter. A kernel detecting a fully-collapsed boundary row should treat that edge of the resulting face as a genuine topological singularity (e.g. a degenerate edge collapsing to a vertex) rather than leaving it as an ordinary, non-degenerate boundary edge.
Expected validation
occt=shape(1)/shape(1) 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/* Gn159: B_SPLINE_SURFACE_WITH_KNOTS U-degree=2 V-degree=2, 4x3 poles; last U-row all collapsed to (3.0,1.5,0.0) â pin-face singularity; U knots (0.0,1.0) mults (3,3) sum=6 â; V knots (0.0,1.0) mults (3,3) sum=6 â; IS face surface; FixPinFace unimplemented â shape(1)/shape(1) (live OCC heals) */ 3HEADER; 4FILE_DESCRIPTION(('Gn159'),'2;1'); 5FILE_NAME('Gn159.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.5,0.0)); 12#3=CARTESIAN_POINT('',(0.0,3.0,0.0)); 13#4=CARTESIAN_POINT('',(1.0,0.0,0.2)); 14#5=CARTESIAN_POINT('',(1.0,1.5,0.4)); 15#6=CARTESIAN_POINT('',(1.0,3.0,0.2)); 16#7=CARTESIAN_POINT('',(2.0,0.0,0.1)); 17#8=CARTESIAN_POINT('',(2.0,1.5,0.3)); 18#9=CARTESIAN_POINT('',(2.0,3.0,0.1)); 19#10=CARTESIAN_POINT('',(3.0,1.5,0.0)); 20#11=CARTESIAN_POINT('',(3.0,1.5,0.0)); 21#12=CARTESIAN_POINT('',(3.0,1.5,0.0)); 22#13=B_SPLINE_SURFACE_WITH_KNOTS('gn159_pin_face',2,2,((#1,#2,#3),(#4,#5,#6),(#7,#8,#9),(#10,#11,#12)),.UNSPECIFIED.,.F.,.F.,.F.,(3,3),(3,3),(0.0,1.0),(0.0,1.0),.UNSPECIFIED.); 23#14=CARTESIAN_POINT('',(0.0,0.0,0.0)); 24#15=CARTESIAN_POINT('',(3.0,0.0,0.0)); 25#16=VERTEX_POINT('',#14); 26#17=VERTEX_POINT('',#15); 27#18=DIRECTION('',(1.0,0.0,0.0)); 28#19=VECTOR('',#18,3.0); 29#20=LINE('',#14,#19); 30#21=EDGE_CURVE('',#16,#17,#20,.T.); 31#22=ORIENTED_EDGE('',$,$,#21,.T.); 32#23=EDGE_LOOP('',(#22)); 33#24=FACE_OUTER_BOUND('',#23,.T.); 34#25=ADVANCED_FACE('',(#24),#13,.T.); 35#26=OPEN_SHELL('',(#25)); 36#27=SHELL_BASED_SURFACE_MODEL('',(#26)); 37#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 38#9051=PRODUCT('Gn159','Gn159','',(#9050)); 39#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 40#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 41#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 42#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 43#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 44#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 45#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 46#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 47#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 48#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#27),#9060); 49#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 50ENDSEC; 51END-ISO-10303-21;