Twi243 — ShapeAnalysis_Wire.CheckConnected

§12.3b

topology

Sources

Description

Sharp discontinuity at junction (non-smooth tangent transition) Geometry: Closed EDGE_LOOP with 90° kink at shared vertex (edges form square; tangent direction inverts at each corner)

Reproducer recipe

Expected kernel behavior

this model is a bare curve set — it carries no face and no shell — so returning no solid is CORRECT here and is not the defect. `heal` means the wire-level condition (consecutive edges that do not meet at a shared vertex) must be detected and reported; it does not mean geometry should appear. A kernel should diagnose that condition and continue processing the remaining entities rather than discarding the model without comment.

Expected validation

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

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Twi243: GEOMETRIC_CURVE_SET containing EDGE_LOOP forming a square wire on PLANE; PLANE: normal +Z, origin (0,0,0); Square corners: V0(0,0,0)->V1(6,0,0)->V2(6,6,0)->V3(0,6,0)->V0; sq_e0: (0,0,0)->(6,0,0) tangent +X; sq_e1: (6,0,0)->(6,6,0) tangent +Y; sq_e2: (6,6,0)->(0,6,0) tangent -X; sq_e3: (0,6,0)->(0,0,0) tangent -Y; at V1: arriving +X meets departing +Y — 90° tangent kink IS discontinuity; at V2: arriving +Y meets departing -X — 90° tangent kink IS discontinuity; at V3: arriving -X meets departing -Y — 90° tangent kink IS discontinuity; at V0: arriving -Y meets departing +X — 90° tangent kink IS discontinuity; CheckConnected flags all four 90° kinks as tangent discontinuities IS defect; wire IS geometrically connected (vertices share 3D coords) but G1-discontinuous; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; all EDGE_CURVEs ARE wired into EDGE_LOOP; never orphaned */
3HEADER;
4FILE_DESCRIPTION(('Twi243'),'2;1');
5FILE_NAME('Twi243.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=PLANE('',#4);
15#6=CARTESIAN_POINT('',(0.0,0.0,0.0));
16#7=VERTEX_POINT('',#6);
17#8=CARTESIAN_POINT('',(6.0,0.0,0.0));
18#9=VERTEX_POINT('',#8);
19#10=CARTESIAN_POINT('',(6.0,6.0,0.0));
20#11=VERTEX_POINT('',#10);
21#12=CARTESIAN_POINT('',(0.0,6.0,0.0));
22#13=VERTEX_POINT('',#12);
23#14=CARTESIAN_POINT('',(0.0,0.0,0.0));
24#15=DIRECTION('',(1.0,0.0,0.0));
25#16=VECTOR('',#15,6.0);
26#17=LINE('',#14,#16);
27#18=CARTESIAN_POINT('',(0.0,0.0));
28#19=DIRECTION('',(1.0,0.0));
29#20=VECTOR('',#19,6.0);
30#21=LINE('',#18,#20);
31#22=DEFINITIONAL_REPRESENTATION('',(#21),#*);
32#23=PCURVE('',#5,#22);
33#24=SURFACE_CURVE('',#17,(#23),.PCURVE_S1.);
34#25=EDGE_CURVE('sq_e0',#7,#9,#24,.T.);
35#26=CARTESIAN_POINT('',(6.0,0.0,0.0));
36#27=DIRECTION('',(0.0,1.0,0.0));
37#28=VECTOR('',#27,6.0);
38#29=LINE('',#26,#28);
39#30=CARTESIAN_POINT('',(6.0,0.0));
40#31=DIRECTION('',(0.0,1.0));
41#32=VECTOR('',#31,6.0);
42#33=LINE('',#30,#32);
43#34=DEFINITIONAL_REPRESENTATION('',(#33),#*);
44#35=PCURVE('',#5,#34);
45#36=SURFACE_CURVE('',#29,(#35),.PCURVE_S1.);
46#37=EDGE_CURVE('sq_e1',#9,#11,#36,.T.);
47#38=CARTESIAN_POINT('',(6.0,6.0,0.0));
48#39=DIRECTION('',(-1.0,0.0,0.0));
49#40=VECTOR('',#39,6.0);
50#41=LINE('',#38,#40);
51#42=CARTESIAN_POINT('',(6.0,6.0));
52#43=DIRECTION('',(-1.0,0.0));
53#44=VECTOR('',#43,6.0);
54#45=LINE('',#42,#44);
55#46=DEFINITIONAL_REPRESENTATION('',(#45),#*);
56#47=PCURVE('',#5,#46);
57#48=SURFACE_CURVE('',#41,(#47),.PCURVE_S1.);
58#49=EDGE_CURVE('sq_e2',#11,#13,#48,.T.);
59#50=CARTESIAN_POINT('',(0.0,6.0,0.0));
60#51=DIRECTION('',(0.0,-1.0,0.0));
61#52=VECTOR('',#51,6.0);
62#53=LINE('',#50,#52);
63#54=CARTESIAN_POINT('',(0.0,6.0));
64#55=DIRECTION('',(0.0,-1.0));
65#56=VECTOR('',#55,6.0);
66#57=LINE('',#54,#56);
67#58=DEFINITIONAL_REPRESENTATION('',(#57),#*);
68#59=PCURVE('',#5,#58);
69#60=SURFACE_CURVE('',#53,(#59),.PCURVE_S1.);
70#61=EDGE_CURVE('sq_e3',#13,#7,#60,.T.);
71#62=ORIENTED_EDGE('',*,*,#25,.T.);
72#63=ORIENTED_EDGE('',*,*,#37,.T.);
73#64=ORIENTED_EDGE('',*,*,#49,.T.);
74#65=ORIENTED_EDGE('',*,*,#61,.T.);
75#66=EDGE_LOOP('',(#62,#63,#64,#65));
76#67=GEOMETRIC_CURVE_SET('',(#66));
77#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
78#9051=PRODUCT('Twi243','Twi243','',(#9050));
79#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
80#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
81#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
82#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
83#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
84#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
85#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
86#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
87#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
88#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#67),#9060);
89#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
90ENDSEC;
91END-ISO-10303-21;