step-examples/12-2c-surfaces/Gs065.stp
Sources
- synthesized — no external source cited
Description
ShapeAnalysis_Surface.ValueOfUV near-tangent surface
Reproducer recipe
Expected kernel behavior
Accept: the B_SPLINE_SURFACE_WITH_KNOTS sits alone in a GEOMETRIC_CURVE_SET with no ADVANCED_FACE, so there is no face-construction step to fail. Its U-direction control rows share the same X-coordinate, giving a near-vanishing metric determinant along part of the domain -- unusual but well-defined parameterization, not corruption. A kernel should load and represent the surface as declared; a near-degenerate metric only matters once a face or point-inversion query against this surface exists, and then it should trigger a fallback projection strategy rather than a hard failure.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Tier-3 assertions
shape_null == Falsen_faces_total == 1n_edges_total == 4n_vertices_total == 10face[0].surface_type == "bspline"
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gs065: B_SPLINE_SURFACE_WITH_KNOTS (aligned control points in U-direction) IS inside GEOMETRIC_CURVE_SET; all U-direction control rows share same X-coordinate (dS/du â 0, vanishing Gaussian curvature) IS the defect; ValueOfUV Newton refinement diverges on near-zero det(First Form) IS the mechanism failure; shape_null */ 3HEADER; 4FILE_DESCRIPTION(('Gs065'),'2;1'); 5FILE_NAME('Gs065.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.5,0.0,0.0)); 11#2=CARTESIAN_POINT('',(0.5,0.0,0.5)); 12#3=CARTESIAN_POINT('',(0.5,0.0,1.0)); 13#4=CARTESIAN_POINT('',(0.5,0.0,1.5)); 14#5=CARTESIAN_POINT('',(0.5,0.5,0.0)); 15#6=CARTESIAN_POINT('',(0.5,0.5,0.5)); 16#7=CARTESIAN_POINT('',(0.5,0.5,1.0)); 17#8=CARTESIAN_POINT('',(0.5,0.5,1.5)); 18#9=CARTESIAN_POINT('',(0.5,1.0,0.0)); 19#10=CARTESIAN_POINT('',(0.5,1.0,0.5)); 20#11=CARTESIAN_POINT('',(0.5,1.0,1.0)); 21#12=CARTESIAN_POINT('',(0.5,1.0,1.5)); 22#13=CARTESIAN_POINT('',(0.5,1.5,0.0)); 23#14=CARTESIAN_POINT('',(0.5,1.5,0.5)); 24#15=CARTESIAN_POINT('',(0.5,1.5,1.0)); 25#16=CARTESIAN_POINT('',(0.5,1.5,1.5)); 26#17=B_SPLINE_SURFACE_WITH_KNOTS('gs065_bss',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=CARTESIAN_POINT('',(0.5,0.0,0.0)); 28#19=CARTESIAN_POINT('',(0.5,1.5,1.5)); 29#20=GEOMETRIC_CURVE_SET('gs065_gcs',(#17,#18,#19)); 30#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 31#9051=PRODUCT('Gs065','Gs065','',(#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;