step-examples/12-2b-nurbs/Gn161.stp
Sources
- synthesized — no external source cited
Description
B-spline surface with asymmetric pole clustering
Reproducer recipe
Expected kernel behavior
heal: the surface's U-knots cluster densely near its boundary (0.9, 0.95, 1.0) while its V direction carries only 2 control points (the minimum for degree-1) -- together an asymmetric-boundary construction, not an inherently invalid one. A kernel should treat the dense U-boundary clustering the same way it would treat any tight knot cluster (reparameterize or flag ill-conditioning near the boundary) without assuming a thin V-direction on its own indicates a defect; the two conditions are independent.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(3) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "bspline"face[0].bspline.u_degree == 2face[0].bspline.v_degree == 1
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gn161: B_SPLINE_SURFACE_WITH_KNOTS U-degree=2 V-degree=1, 5x2 poles; U knots (0.0,0.9,0.95,1.0) mults (3,1,1,3) sum=8=5+2+1 â; V knots (0.0,1.0) mults (2,2) sum=4=2+1+1 â; dense U-boundary clustering (0.9,0.95,1.0) + V strip (2 poles only); IS face surface; asymmetric boundary singularity â shape(1)/shape(1) (live OCC heals) */ 3HEADER; 4FILE_DESCRIPTION(('Gn161'),'2;1'); 5FILE_NAME('Gn161.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.45,0.0,0.1)); 13#4=CARTESIAN_POINT('',(0.45,1.0,0.1)); 14#5=CARTESIAN_POINT('',(0.9,0.0,0.1)); 15#6=CARTESIAN_POINT('',(0.9,1.0,0.1)); 16#7=CARTESIAN_POINT('',(0.95,0.0,0.0)); 17#8=CARTESIAN_POINT('',(0.95,1.0,0.0)); 18#9=CARTESIAN_POINT('',(1.0,0.0,0.0)); 19#10=CARTESIAN_POINT('',(1.0,1.0,0.0)); 20#11=B_SPLINE_SURFACE_WITH_KNOTS('gn161_asymmetric_cluster',2,1,((#1,#2),(#3,#4),(#5,#6),(#7,#8),(#9,#10)),.UNSPECIFIED.,.F.,.F.,.F.,(3,1,1,3),(2,2),(0.0,0.9,0.95,1.0),(0.0,1.0),.UNSPECIFIED.); 21#12=CARTESIAN_POINT('',(0.0,0.0,0.0)); 22#13=CARTESIAN_POINT('',(1.0,0.0,0.0)); 23#14=VERTEX_POINT('',#12); 24#15=VERTEX_POINT('',#13); 25#16=DIRECTION('',(1.0,0.0,0.0)); 26#17=VECTOR('',#16,1.0); 27#18=LINE('',#12,#17); 28#19=EDGE_CURVE('',#14,#15,#18,.T.); 29#20=ORIENTED_EDGE('',$,$,#19,.T.); 30#21=EDGE_LOOP('',(#20)); 31#22=FACE_OUTER_BOUND('',#21,.T.); 32#23=ADVANCED_FACE('',(#22),#11,.T.); 33#24=OPEN_SHELL('',(#23)); 34#25=SHELL_BASED_SURFACE_MODEL('',(#24)); 35#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 36#9051=PRODUCT('Gn161','Gn161','',(#9050)); 37#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 38#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 39#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 40#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 41#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 42#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 43#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 44#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 45#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 46#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#25),#9060); 47#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 48ENDSEC; 49END-ISO-10303-21;