Twi084 — Closed-curve edge has different start and end vertex points

§12.3b (sub-class: closed-curve invariant)

P1 — silent data loss

topology

Sources

Sender

deduced — OCCT uncovered-class sweep

Description

An `EDGE_CURVE` whose underlying `edge_geometry` is a closed curve (a circle, an ellipse, a closed B-spline) declares its start vertex and end vertex to be at *different* coordinates. The expected invariant — a closed curve's two endpoints coincide in 3D — is violated. Bug-reporter language: "closed curve has gap", "circle's endpoints don't meet", "circle edge open".

Reproducer recipe

`EDGE_CURVE` referencing a `CIRCLE` of radius 1.0 with `edge_start = #V1` (at (1,0,0)) and `edge_end = #V2` (at (1.5,0,0)); the curve geometry is closed but the topology says otherwise.

Expected kernel behavior

Detect via the curve's `closed` predicate vs vertex equality test; coerce vertices to coincide, or reject.

Notes

Bug-reporter synonyms: "non-coincident closed-curve endpoints", "circle edge has gap between start and end", "closed curve declared with distinct endpoints", "circle edge open due to mismatched vertices".

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Byte assertions

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* Twi084: GEOMETRIC_CURVE_SET containing EDGE_LOOP 'end_NOT_equal_to_start'; EDGE_CURVE geometry is a CIRCLE radius 1.0 centred at origin — closed curve; edge_start = #V1 at (1,0,0) (on circle at θ=0); edge_end = #V2 at (1.5,0.0,0.0) — NOT on the circle and NOT equal to start; closed-curve invariant violated: start ≠ end; BRepLib_MakeEdge DifferentPointsOnClosedCurve triggered; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; EDGE_CURVE IS wired into EDGE_LOOP; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi084'),'2;1');
5FILE_NAME('Twi084.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=CIRCLE('',#4,1.0);
15#6=CARTESIAN_POINT('',(1.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(1.5,0.0,0.0));
18#9=VERTEX_POINT('',#8);
19#10=EDGE_CURVE('',#7,#9,#5,.T.);
20#11=ORIENTED_EDGE('',*,*,#10,.T.);
21#12=EDGE_LOOP('end_NOT_equal_to_start',(#11));
22#13=GEOMETRIC_CURVE_SET('',(#12));
23#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
24#9051=PRODUCT('Twi084','Twi084','',(#9050));
25#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
26#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
27#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
28#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
29#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
30#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
31#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
32#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
33#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
34#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#13),#9060);
35#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
36ENDSEC;
37END-ISO-10303-21;