step-examples/12-3b-wires/Twi294.stp
Sources
- OCCT `ShapeUpgrade_UnifySameDomain::MergeSubSeq` co-circular-arc union (`ShapeUpgrade_UnifySameDomain.cxx:2151`, closed-chain full-circle at `:2206 GC_MakeCircle`) @ `bd2a789f15235755ce4d1a3b07379a2e062fdc2e`
- occt-coverage/tkshhealing/problems.json `tkshh-same-curve-fragmented-edges`, subvariant "arcs of the same circle fused into one arc (open chain)"
Description
A chain of edges joined at a degree-2 vertex lies on the SAME geometric curve, so the interior vertex is topologically unnecessary fragmentation. Twi089 covers the analogous LINE case (two collinear line segments); this fixture covers the ARC case explicitly named as still missing in the problem record's notes — two `EDGE_CURVE`s referencing the IDENTICAL `CIRCLE` entity (the strongest possible same-curve signal), meeting at a shared degree-2 vertex, spanning 90° total (never closing to a full circle, distinct from Twi019's closed-edge mechanism).
Reproducer recipe
`GEOMETRIC_CURVE_SET` containing one `EDGE_LOOP` (mirrors Twi089's structure): two `EDGE_CURVE`s both referencing the same `CIRCLE` entity (radius 5, origin, XY plane) — arc 1 spans 0°–45°, arc 2 spans 45°–90° — meeting at a shared `VERTEX_POINT` at 45° not used by any other wire/face.
Expected kernel behavior
fuse the two arcs into one 90° arc edge, removing the spurious midpoint vertex (same-domain unification), or leave as-is if downstream needs the split.
Notes
**See also**: Twi089 (the LINE-case sibling of this mechanism, same `GEOMETRIC_CURVE_SET` structural pattern). Verified live: `GEOMETRIC_CURVE_SET` is not a shape-producing entity type for OCCT's STEP translator — `occt=empty/empty` (`accept_silent`, `shape_null==True`, `n_roots==0`), exactly matching Twi089's own verified behavior; the byte-level input pattern (identical-CIRCLE-entity same-curve fragmentation) is the fixture's claim, per this corpus's input-pattern-phrasing convention. Synonyms: "two arcs of same circle not fused", "open arc chain redundant vertex", "identical CIRCLE entity split at midpoint", "co-circular arc union missing", "arc chain short of full circle". Provenance tier: bytes-sufficient.
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Closure intent
sheet — the open shell is the intended final geometry; a solid-only kernel should cleanly refuse.
Byte assertions
contains(b'arc_chain_loop')contains(b'mid_arc_vertex')count_entity_def(b'EDGE_CURVE') == 2count_entity_def(b'CIRCLE') == 1
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Twi294: GEOMETRIC_CURVE_SET containing EDGE_LOOP 'arc_chain_loop'; exactly TWO EDGE_CURVEs, BOTH referencing the SAME CIRCLE entity (radius 5, centre origin, XY plane) â the strongest same-curve signal (identical entity, not just coincident parameters); e1: 0deg->45deg arc; e2: 45deg->90deg arc; shared VERTEX_POINT 'mid_arc_vertex' at 45deg â degree-2 vertex not used by any other face; chain is OPEN (90deg total, never closes to a full circle, distinct from Twi019's closed-edge mechanism); the midpoint vertex is topologically redundant: ShapeUpgrade_UnifySameDomain should fuse e1+e2 into one 90-degree arc edge; GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */ 3HEADER; 4FILE_DESCRIPTION(('Twi294'),'2;1'); 5FILE_NAME('Twi294.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('',(5.0,0.0,0.0)); 11#2=VERTEX_POINT('',#1); 12#3=CARTESIAN_POINT('',(3.53553390593,3.53553390593,0.0)); 13#4=VERTEX_POINT('mid_arc_vertex',#3); 14#5=CARTESIAN_POINT('',(0.0,5.0,0.0)); 15#6=VERTEX_POINT('',#5); 16#7=CARTESIAN_POINT('',(0.0,0.0,0.0)); 17#8=DIRECTION('',(0.0,0.0,1.0)); 18#9=DIRECTION('',(1.0,0.0,0.0)); 19#10=AXIS2_PLACEMENT_3D('',#7,#8,#9); 20#11=CIRCLE('',#10,5.0000000000); 21#12=EDGE_CURVE('',#2,#4,#11,.T.); 22#13=ORIENTED_EDGE('',$,$,#12,.T.); 23#14=EDGE_CURVE('',#4,#6,#11,.T.); 24#15=ORIENTED_EDGE('',$,$,#14,.T.); 25#16=EDGE_LOOP('arc_chain_loop',(#13,#15)); 26#17=GEOMETRIC_CURVE_SET('',(#16)); 27#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 28#9051=PRODUCT('Twi294','Twi294','',(#9050)); 29#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 30#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 31#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 32#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 33#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 34#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 35#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 36#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 37#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 38#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#17),#9060); 39#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 40ENDSEC; 41END-ISO-10303-21;