M028 — Topology-count validation property failure

§12.8 (sub-class: validation-property)

P1 — silent data loss

topology

Sources

Description

Counts of faces / edges / vertices / shells / solids are embedded; if the receiver's parsed counts differ, structural information has been lost (sliver-face removal, automatic stitching, edge merging during heal).

Reproducer recipe

Source has 47 faces; receiver after auto-heal reports 45 — two slivers were absorbed.

Expected kernel behavior

report; archive-reject.

Notes

Synonyms: "topology count validation fails", "validation property fails check", "face/edge count mismatch on import", "structural information lost". **See also**: M026.

Expected validation

occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a

Tier-3 assertions

Cross-references

M026

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* M028: Topology-count validation property failure; input: AP214 STEP file with MANIFOLD_SOLID_BREP (1 mm cube) where embedded topology-count GVP declares face_count=47 and edge_count=47; actual cube has 6 faces and 12 edges; receiver after auto-heal reports 6/12 — two slivers supposedly absorbed; structural information lost: face/edge count mismatch on import; kernel must report; archive-reject; synonyms: topology count validation fails, validation property fails check, face/edge count mismatch on import, structural information lost */
3HEADER;
4FILE_DESCRIPTION(('M028'),'2;1');
5FILE_NAME('M028.stp','2026-06-21T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }'));
7ENDSEC;
8DATA;
9#1=APPLICATION_CONTEXT('automotive_design');
10#2=APPLICATION_PROTOCOL_DEFINITION('international standard','automotive_design',2000,#1);
11#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
12#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
13#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
14#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-6),#10,'distance_accuracy_value','');
15#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)
16     GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))
17     GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))
18     REPRESENTATION_CONTEXT('part','3D'));
19#300=PRODUCT('cube','cube','',(#310));
20#310=MECHANICAL_CONTEXT('',#1,'mechanical');
21#320=PRODUCT_DEFINITION_FORMATION('','',#300);
22#330=PRODUCT_DEFINITION('design','',#320,#340);
23#340=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design');
24#350=PRODUCT_DEFINITION_SHAPE('','',#330);
25#500=MANIFOLD_SOLID_BREP('cube_body',#510);
26#5700=CARTESIAN_POINT('p000',(0.0,0.0,0.0));
27#5701=CARTESIAN_POINT('p100',(1.0,0.0,0.0));
28#5702=CARTESIAN_POINT('p110',(1.0,1.0,0.0));
29#5703=CARTESIAN_POINT('p010',(0.0,1.0,0.0));
30#5704=CARTESIAN_POINT('p001',(0.0,0.0,1.0));
31#5705=CARTESIAN_POINT('p101',(1.0,0.0,1.0));
32#5706=CARTESIAN_POINT('p111',(1.0,1.0,1.0));
33#5707=CARTESIAN_POINT('p011',(0.0,1.0,1.0));
34#5710=VERTEX_POINT('',#5700);
35#5711=VERTEX_POINT('',#5701);
36#5712=VERTEX_POINT('',#5702);
37#5713=VERTEX_POINT('',#5703);
38#5714=VERTEX_POINT('',#5704);
39#5715=VERTEX_POINT('',#5705);
40#5716=VERTEX_POINT('',#5706);
41#5717=VERTEX_POINT('',#5707);
42#5720=DIRECTION('dx',(1.0,0.0,0.0));
43#5721=DIRECTION('dy',(0.0,1.0,0.0));
44#5722=DIRECTION('dz',(0.0,0.0,1.0));
45#5723=DIRECTION('dxn',(-1.0,0.0,0.0));
46#5724=DIRECTION('dyn',(0.0,-1.0,0.0));
47#5725=DIRECTION('dzn',(0.0,0.0,-1.0));
48#5730=VECTOR('vx',#5720,1.0);
49#5731=VECTOR('vy',#5721,1.0);
50#5732=VECTOR('vz',#5722,1.0);
51#5740=LINE('',#5700,#5730);
52#5741=LINE('',#5701,#5731);
53#5742=LINE('',#5703,#5730);
54#5743=LINE('',#5700,#5731);
55#5744=LINE('',#5704,#5730);
56#5745=LINE('',#5705,#5731);
57#5746=LINE('',#5707,#5730);
58#5747=LINE('',#5704,#5731);
59#5748=LINE('',#5700,#5732);
60#5749=LINE('',#5701,#5732);
61#5750=LINE('',#5702,#5732);
62#5751=LINE('',#5703,#5732);
63#5760=EDGE_CURVE('',#5710,#5711,#5740,.T.);
64#5761=EDGE_CURVE('',#5711,#5712,#5741,.T.);
65#5762=EDGE_CURVE('',#5713,#5712,#5742,.T.);
66#5763=EDGE_CURVE('',#5710,#5713,#5743,.T.);
67#5764=EDGE_CURVE('',#5714,#5715,#5744,.T.);
68#5765=EDGE_CURVE('',#5715,#5716,#5745,.T.);
69#5766=EDGE_CURVE('',#5717,#5716,#5746,.T.);
70#5767=EDGE_CURVE('',#5714,#5717,#5747,.T.);
71#5768=EDGE_CURVE('',#5710,#5714,#5748,.T.);
72#5769=EDGE_CURVE('',#5711,#5715,#5749,.T.);
73#5770=EDGE_CURVE('',#5712,#5716,#5750,.T.);
74#5771=EDGE_CURVE('',#5713,#5717,#5751,.T.);
75#5780=AXIS2_PLACEMENT_3D('',#5700,#5725,#5720);
76#5781=AXIS2_PLACEMENT_3D('',#5704,#5722,#5720);
77#5782=AXIS2_PLACEMENT_3D('',#5700,#5724,#5720);
78#5783=AXIS2_PLACEMENT_3D('',#5703,#5721,#5720);
79#5784=AXIS2_PLACEMENT_3D('',#5700,#5723,#5721);
80#5785=AXIS2_PLACEMENT_3D('',#5701,#5720,#5721);
81#5790=PLANE('',#5780);
82#5791=PLANE('',#5781);
83#5792=PLANE('',#5782);
84#5793=PLANE('',#5783);
85#5794=PLANE('',#5784);
86#5795=PLANE('',#5785);
87#5800=ORIENTED_EDGE('',*,*,#5763,.T.);
88#5801=ORIENTED_EDGE('',*,*,#5762,.T.);
89#5802=ORIENTED_EDGE('',*,*,#5761,.F.);
90#5803=ORIENTED_EDGE('',*,*,#5760,.F.);
91#5804=ORIENTED_EDGE('',*,*,#5764,.T.);
92#5805=ORIENTED_EDGE('',*,*,#5765,.T.);
93#5806=ORIENTED_EDGE('',*,*,#5766,.F.);
94#5807=ORIENTED_EDGE('',*,*,#5767,.F.);
95#5808=ORIENTED_EDGE('',*,*,#5760,.T.);
96#5809=ORIENTED_EDGE('',*,*,#5769,.T.);
97#5810=ORIENTED_EDGE('',*,*,#5764,.F.);
98#5811=ORIENTED_EDGE('',*,*,#5768,.F.);
99#5812=ORIENTED_EDGE('',*,*,#5771,.T.);
100#5813=ORIENTED_EDGE('',*,*,#5766,.T.);
101#5814=ORIENTED_EDGE('',*,*,#5770,.F.);
102#5815=ORIENTED_EDGE('',*,*,#5762,.F.);
103#5816=ORIENTED_EDGE('',*,*,#5768,.T.);
104#5817=ORIENTED_EDGE('',*,*,#5767,.T.);
105#5818=ORIENTED_EDGE('',*,*,#5771,.F.);
106#5819=ORIENTED_EDGE('',*,*,#5763,.F.);
107#5820=ORIENTED_EDGE('',*,*,#5761,.T.);
108#5821=ORIENTED_EDGE('',*,*,#5770,.T.);
109#5822=ORIENTED_EDGE('',*,*,#5765,.F.);
110#5823=ORIENTED_EDGE('',*,*,#5769,.F.);
111#5830=EDGE_LOOP('',(#5800,#5801,#5802,#5803));
112#5831=EDGE_LOOP('',(#5804,#5805,#5806,#5807));
113#5832=EDGE_LOOP('',(#5808,#5809,#5810,#5811));
114#5833=EDGE_LOOP('',(#5812,#5813,#5814,#5815));
115#5834=EDGE_LOOP('',(#5816,#5817,#5818,#5819));
116#5835=EDGE_LOOP('',(#5820,#5821,#5822,#5823));
117#5840=FACE_OUTER_BOUND('',#5830,.T.);
118#5841=FACE_OUTER_BOUND('',#5831,.T.);
119#5842=FACE_OUTER_BOUND('',#5832,.T.);
120#5843=FACE_OUTER_BOUND('',#5833,.T.);
121#5844=FACE_OUTER_BOUND('',#5834,.T.);
122#5845=FACE_OUTER_BOUND('',#5835,.T.);
123#5850=ADVANCED_FACE('bottom',(#5840),#5790,.F.);
124#5851=ADVANCED_FACE('top',(#5841),#5791,.T.);
125#5852=ADVANCED_FACE('front',(#5842),#5792,.F.);
126#5853=ADVANCED_FACE('back',(#5843),#5793,.T.);
127#5854=ADVANCED_FACE('left',(#5844),#5794,.F.);
128#5855=ADVANCED_FACE('right',(#5845),#5795,.T.);
129#510=CLOSED_SHELL('',(#5850,#5851,#5852,#5853,#5854,#5855));
130#520=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#500),#14);
131#530=SHAPE_DEFINITION_REPRESENTATION(#350,#520);
132/* Defect: topology-count GVP face_count=47, edge_count=47.
133   Actual 1 mm cube: 6 faces, 12 edges, 8 vertices.
134   Receiver after auto-heal gets 6/12 — two sliver faces absorbed.
135   Count mismatch signals structural information was lost. */
136#600=SHAPE_ASPECT('cube_topo','',#350,.T.);
137#610=PROPERTY_DEFINITION('topology count validation property','face count',#600);
138#620=INTEGER_REPRESENTATION_ITEM('face_count',47);
139#621=REPRESENTATION('',(#620),#14);
140#622=PROPERTY_DEFINITION_REPRESENTATION(#610,#621);
141#630=PROPERTY_DEFINITION('topology count validation property','edge count',#600);
142#640=INTEGER_REPRESENTATION_ITEM('edge_count',47);
143#641=REPRESENTATION('',(#640),#14);
144#642=PROPERTY_DEFINITION_REPRESENTATION(#630,#641);
145#650=PROPERTY_DEFINITION('topology count validation property','vertex count',#600);
146#660=INTEGER_REPRESENTATION_ITEM('vertex_count',24);
147#661=REPRESENTATION('',(#660),#14);
148#662=PROPERTY_DEFINITION_REPRESENTATION(#650,#661);
149ENDSEC;
150END-ISO-10303-21;