step-examples/12-2a-pcurves/Gp026.stp
Sources
- 13-quaoar.md B022
- 09-healing-menus.md H099, H100
Description
In a face's parametric (UV) domain, the outer `EDGE_LOOP`'s start and end vertices do not coincide within face tolerance, so the contour does not partition the plane (Jordan-curve failure). Typical pattern: face on a `CYLINDRICAL_SURFACE` whose seam edges each carry pcurves referenced via separate `DEFINITIONAL_REPRESENTATION`s that do not align; a gap remains at the u=2π vs u=0 seam between consecutive `ORIENTED_EDGE`s. Caused by missed seam edges on periodic surfaces, or by corrupt pcurves with gaps.
Reproducer recipe
Face on a cylinder, omit the seam edge so the outer wire is open in UV; renderers fall back to isolines instead of triangulating.
Expected kernel behavior
connect the wire endpoints via period-shifting / vertex-merging / seam-insertion as appropriate, or reject as malformed when the gap exceeds the working tolerance budget.
Notes
**See also**: Gp020, Gp028, Gs012, Twi020. **OCC behavior**: accepts and loads shape(1); OCC builds a BRepCheck-valid cylindrical face and the declared missing-seam / open-UV-loop defect does not manifest as an invalid or count-anomalous shape. The declared defect changes neither shape-counts nor BRepCheck validity, so the shape-count oracle cannot distinguish it from a fully-seamed input; shape(1) does not witness a kernel bug. Synonyms: "edge_loop not closed in UV", "Jordan curve violation across periodic seam", "outer wire fails to close in parametric domain", "renderer falls back to isolines instead of triangulating", "face contour open across cylinder seam".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(5) ifc=schema_n/a
Tier-3 assertions
face[0].surface_type == "cylinder"face[0].quadric.radius == 1.0edge[0].curve_type == "circle"edge[0].analytic.radius == 1.0edge[2].curve_type == "circle"edge[2].analytic.radius == 1.0shape_null == Falsen_faces_total == 1n_edges_total == 3n_vertices_total == 6
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Gp026: Full-cylinder face outer loop missing right seam edge at u=2pi: UV contour open with gap 2pi at bottom-right, Jordan-curve violated; loop closed in 3D only */ 3HEADER; 4FILE_DESCRIPTION(('Gp026'),'2;1'); 5FILE_NAME('Gp026.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=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=CYLINDRICAL_SURFACE('',#4,1.0); 15#6=(GEOMETRIC_REPRESENTATION_CONTEXT(2)PARAMETRIC_REPRESENTATION_CONTEXT()REPRESENTATION_CONTEXT('UV','2D')); 16#7=CARTESIAN_POINT('',(1.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(1.0,0.0,1.0)); 18#9=VERTEX_POINT('',#7); 19#10=VERTEX_POINT('',#8); 20#11=CARTESIAN_POINT('',(0.0,0.0,0.0)); 21#12=DIRECTION('',(0.0,0.0,1.0)); 22#13=DIRECTION('',(1.0,0.0,0.0)); 23#14=AXIS2_PLACEMENT_3D('',#11,#12,#13); 24#15=CIRCLE('',#14,1.0); 25#16=CARTESIAN_POINT('',(0.0,0.0)); 26#17=DIRECTION('',(1.0,0.0)); 27#18=VECTOR('',#17,6.28318530718); 28#19=LINE('',#16,#18); 29#20=DEFINITIONAL_REPRESENTATION('pc_bot',(#19),#6); 30#21=PCURVE('bot_arc',#5,#20); 31#22=SURFACE_CURVE('bot_arc',#15,(#21),.PCURVE_S1.); 32#23=EDGE_CURVE('bot_arc',#9,#9,#22,.T.); 33#24=DIRECTION('',(0.0,0.0,1.0)); 34#25=VECTOR('',#24,1.0); 35#26=LINE('',#7,#25); 36#27=CARTESIAN_POINT('',(0.0,0.0)); 37#28=DIRECTION('',(0.0,1.0)); 38#29=VECTOR('',#28,1.0); 39#30=LINE('',#27,#29); 40#31=DEFINITIONAL_REPRESENTATION('pc_seam',(#30),#6); 41#32=PCURVE('seam',#5,#31); 42#33=SURFACE_CURVE('seam',#26,(#32),.PCURVE_S1.); 43#34=EDGE_CURVE('seam',#9,#10,#33,.T.); 44#35=CARTESIAN_POINT('',(0.0,0.0,1.0)); 45#36=AXIS2_PLACEMENT_3D('',#35,#12,#13); 46#37=CIRCLE('',#36,1.0); 47#38=CARTESIAN_POINT('',(0.0,1.0)); 48#39=DIRECTION('',(1.0,0.0)); 49#40=VECTOR('',#39,6.28318530718); 50#41=LINE('',#38,#40); 51#42=DEFINITIONAL_REPRESENTATION('pc_top',(#41),#6); 52#43=PCURVE('top_arc',#5,#42); 53#44=SURFACE_CURVE('top_arc',#37,(#43),.PCURVE_S1.); 54#45=EDGE_CURVE('top_arc',#10,#10,#44,.T.); 55#46=ORIENTED_EDGE('',$,$,#23,.T.); 56#47=ORIENTED_EDGE('',$,$,#34,.T.); 57#48=ORIENTED_EDGE('',$,$,#45,.F.); 58#49=EDGE_LOOP('',(#46,#47,#48)); 59#50=FACE_OUTER_BOUND('',#49,.T.); 60#51=ADVANCED_FACE('',(#50),#5,.T.); 61#52=OPEN_SHELL('',(#51)); 62#53=SHELL_BASED_SURFACE_MODEL('',(#52)); 63#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 64#9051=PRODUCT('Gp026','Gp026','',(#9050)); 65#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 66#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 67#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 68#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 69#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 70#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 71#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 72#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 73#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 74#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#53),#9060); 75#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 76ENDSEC; 77END-ISO-10303-21;