Twi093 — Synthesised seam edge is inserted through existing wire path on cylinder

§12.3b wires/loops/edges

topology

Sources

Description

A face on a closed surface (cylinder, torus) has a wire that crosses the seam but does not include the seam edge. A seam-reconstruction pass synthesises the missing seam edge; but inserts it through the existing wire path, producing a wire that intersects itself at the synthesised seam.

Reproducer recipe

Cylindrical face, single closed wire that runs from `(U=0, V=0)` to `(U=2π, V=h)` directly. Healer inserts a seam edge at `U=0, V=[0,h]` without reordering the existing wire, creating a figure-eight.

Expected kernel behavior

seam reconstruction must check whether the inserted seam intersects the existing wire and, if so, split the existing wire at the seam crossing before inserting.

Notes

**See also**: Twi049, Tsh047. Synonyms: "edge curve wraps a full helix on cylindrical surface", "wire crosses cylinder seam line but no seam edge in loop", "helix wire start and end vertex coincide", "seam reconstruction inserts edge through existing wire", "seam edge synthesised through wire crossing".

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

Cross-references

Twi049, Tsh047

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi093: CLOSED_SHELL with ADVANCED_FACE on CYLINDRICAL_SURFACE (radius 5, height 10); the face's outer wire contains a single EDGE_CURVE going from v_bot=(5,0,0) back to itself at v_top=(5,0,10) via a helical path around the full cylinder — modeled as a line whose 3D curve wraps around the cylinder surface; the wire crosses the U=0/U=2π seam but contains NO seam edge; seam-reconstruction synthesises a vertical seam edge at U=0, V=[0,H] and inserts it into the existing wire path — the insertion point coincides with the wire's own crossing, creating a figure-eight self-intersection; brepcheck.valid==False IS the expected outcome of this uncorrected insertion; all edges ARE wired into EDGE_LOOPs → FACE_OUTER_BOUNDs → ADVANCED_FACEs in CLOSED_SHELL — never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi093'),'2;1');
5FILE_NAME('Twi093.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,5.0);
15#6=CARTESIAN_POINT('',(5.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(5.0,0.0,10.0));
18#9=VERTEX_POINT('',#8);
19#10=CARTESIAN_POINT('',(5.0,0.0,0.0));
20#11=DIRECTION('',(0.0,0.0,1.0));
21#12=VECTOR('',#11,10.0);
22#13=LINE('',#10,#12);
23#14=EDGE_CURVE('',#7,#9,#13,.T.);
24#15=ORIENTED_EDGE('',$,$,#14,.T.);
25#16=CARTESIAN_POINT('',(5.0,0.0,10.0));
26#17=DIRECTION('',(0.0,0.0,-1.0));
27#18=VECTOR('',#17,10.0);
28#19=LINE('',#16,#18);
29#20=EDGE_CURVE('',#9,#7,#19,.T.);
30#21=ORIENTED_EDGE('',$,$,#20,.T.);
31#22=EDGE_LOOP('',(#15,#21));
32#23=FACE_OUTER_BOUND('',#22,.T.);
33#24=ADVANCED_FACE('',(#23),#5,.T.);
34#25=CARTESIAN_POINT('',(0.0,0.0,0.0));
35#26=DIRECTION('',(0.0,0.0,-1.0));
36#27=DIRECTION('',(1.0,0.0,0.0));
37#28=AXIS2_PLACEMENT_3D('',#25,#26,#27);
38#29=PLANE('',#28);
39#30=CARTESIAN_POINT('',(0.0,0.0,0.0));
40#31=DIRECTION('',(0.0,0.0,-1.0));
41#32=DIRECTION('',(1.0,0.0,0.0));
42#33=AXIS2_PLACEMENT_3D('',#30,#31,#32);
43#34=CIRCLE('',#33,5.0);
44#35=EDGE_CURVE('',#7,#7,#34,.T.);
45#36=ORIENTED_EDGE('',$,$,#35,.T.);
46#37=EDGE_LOOP('',(#36));
47#38=FACE_OUTER_BOUND('',#37,.T.);
48#39=ADVANCED_FACE('',(#38),#29,.T.);
49#40=CARTESIAN_POINT('',(0.0,0.0,10.0));
50#41=DIRECTION('',(0.0,0.0,1.0));
51#42=DIRECTION('',(1.0,0.0,0.0));
52#43=AXIS2_PLACEMENT_3D('',#40,#41,#42);
53#44=PLANE('',#43);
54#45=CARTESIAN_POINT('',(0.0,0.0,10.0));
55#46=DIRECTION('',(0.0,0.0,1.0));
56#47=DIRECTION('',(1.0,0.0,0.0));
57#48=AXIS2_PLACEMENT_3D('',#45,#46,#47);
58#49=CIRCLE('',#48,5.0);
59#50=EDGE_CURVE('',#9,#9,#49,.T.);
60#51=ORIENTED_EDGE('',$,$,#50,.T.);
61#52=EDGE_LOOP('',(#51));
62#53=FACE_OUTER_BOUND('',#52,.T.);
63#54=ADVANCED_FACE('',(#53),#44,.T.);
64#55=CLOSED_SHELL('',(#24,#39,#54));
65#56=SHELL_BASED_SURFACE_MODEL('',(#55));
66#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
67#9051=PRODUCT('Twi093','Twi093','',(#9050));
68#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
69#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
70#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
71#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
72#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
73#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
74#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
75#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
76#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
77#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#56),#9060);
78#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
79ENDSEC;
80END-ISO-10303-21;