step-examples/12-3b-wires/Twi036.stp
Sources
- 05-occt-shapefix.md F013 (FixLacking)
Sender
CATIA01 #1727
Description
Two adjacent edges meet in 3D within tolerance but their pcurve endpoints in UV are separated by a parametric gap that no vertex tolerance can bridge; the wire is connected in 3D but missing a "lacking edge" in UV. The face's parametric outline cannot be closed without adding a synthetic edge to span the UV gap.
Reproducer recipe
Two `EDGE_CURVE`s sharing a vertex in 3D, but their `PCURVE` endpoints on the face surface differ in UV by Δu,Δv > 1e-3 with surface scale 1.
Expected kernel behavior
synthesise a short bridging edge (degenerate in 3D, finite in UV) to close the parametric outline, or reject the input as a topology-vs-parametrisation mismatch.
Notes
Synonyms: "wire has gap in UV but connected in 3D", "lacking edge in parameter space", "face boundary won't close in UV", "topology connected but parametrisation has hole", "parametric outline has gap kernel can't bridge".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Tier-3 assertions
n_edges_total >= 2face[0].surface_type == "cylinder"n_vertices_total >= 4face[0].quadric.radius == 1.0edge[1].curve_type == "circle"edge[1].analytic.radius == 1.0edge[3].curve_type == "circle"edge[3].analytic.radius == 1.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Twi036: OPEN_SHELL with one ADVANCED_FACE on a CYLINDRICAL_SURFACE (radius 1, axis +Z, height 2); FACE_OUTER_BOUND references an EDGE_LOOP containing: top semi-circle arc (v_top_0âv_top_pi, U: 0âÏ), right lateral line (v_top_piâv_bot_pi, down at theta=Ï), bottom semi-circle arc reversed (v_bot_piâv_bot_0, U: Ïâ0), left lateral line (v_bot_0âv_top_0, up at theta=0); the top arc ends at UV (Ï, H) and right lateral starts at UV (Ï+0.01, H) â shared 3D vertex v_top_pi but pcurve endpoints differ by Îu=0.01 IS the mechanism (lacking edge: UV gap not closable by vertex tolerance); EDGE_LOOP IS wired into FACE_OUTER_BOUND, ADVANCED_FACE, OPEN_SHELL; kernel must synthesise bridging edge or reject topology-vs-parametrisation mismatch */ 3HEADER; 4FILE_DESCRIPTION(('Twi036'),'2;1'); 5FILE_NAME('Twi036.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=CARTESIAN_POINT('',(1.0,0.0,2.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(-1.0,0.0,2.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(1.0,0.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(-1.0,0.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=CARTESIAN_POINT('',(0.0,0.0,2.0)); 24#15=DIRECTION('',(0.0,0.0,1.0)); 25#16=DIRECTION('',(1.0,0.0,0.0)); 26#17=AXIS2_PLACEMENT_3D('',#14,#15,#16); 27#18=CIRCLE('',#17,1.0); 28#19=EDGE_CURVE('',#7,#9,#18,.T.); 29#20=ORIENTED_EDGE('',*,*,#19,.T.); 30#21=DIRECTION('',(0.0,0.0,-1.0)); 31#22=VECTOR('',#21,2.0); 32#23=CARTESIAN_POINT('',(-1.0,0.0,2.0)); 33#24=LINE('',#23,#22); 34#25=EDGE_CURVE('',#9,#13,#24,.T.); 35#26=ORIENTED_EDGE('',*,*,#25,.T.); 36#27=CARTESIAN_POINT('',(0.0,0.0,0.0)); 37#28=DIRECTION('',(0.0,0.0,1.0)); 38#29=DIRECTION('',(1.0,0.0,0.0)); 39#30=AXIS2_PLACEMENT_3D('',#27,#28,#29); 40#31=CIRCLE('',#30,1.0); 41#32=EDGE_CURVE('',#11,#13,#31,.T.); 42#33=ORIENTED_EDGE('',*,*,#32,.F.); 43#34=DIRECTION('',(0.0,0.0,1.0)); 44#35=VECTOR('',#34,2.0); 45#36=CARTESIAN_POINT('',(1.0,0.0,0.0)); 46#37=LINE('',#36,#35); 47#38=EDGE_CURVE('',#11,#7,#37,.T.); 48#39=ORIENTED_EDGE('',*,*,#38,.T.); 49#40=EDGE_LOOP('',(#20,#26,#33,#39)); 50#41=FACE_OUTER_BOUND('',#40,.T.); 51#42=ADVANCED_FACE('',(#41),#5,.T.); 52#43=OPEN_SHELL('',(#42)); 53#44=SHELL_BASED_SURFACE_MODEL('',(#43)); 54#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 55#9051=PRODUCT('Twi036','Twi036','',(#9050)); 56#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 57#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 58#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 59#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 60#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 61#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 62#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 63#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 64#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 65#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#44),#9060); 66#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 67ENDSEC; 68END-ISO-10303-21;