M200 — Polygon loop with an empty vertex-point list

§12.8 mixed (sub-class: empty mandatory aggregate — polygon loop with no points; reader crash)

P1 — silent data loss

crash

Sources

Description

A faceted face whose boundary is `POLY_LOOP('empty_polygon',())` — the polygon list empty where the schema requires at least three points. A polygon loop IS its point list; with the list empty the face has a bound entity and zero geometry, the degenerate limit of the mesh-as-B-rep encodings this section catalogs.

Reproducer recipe

`ADVANCED_FACE` on a plane whose `FACE_OUTER_BOUND` wraps a `POLY_LOOP` with `()` for its polygon list.

Expected kernel behavior

refuse at parse time — the schema's lower bound of three points is checkable before any geometry — and never crash on a countable emptiness.

Notes

RUNTIME-VERIFIED (2026-08-10, this worktree, OCP/OCCT 7.8.1): hard crash in BOTH heal modes and the mesh-based reader. The faceted-boundary member of the empty-aggregate crash family (the edge-loop and shell spellings are long-standing corpus crashers; the polygon spelling had no claimant). The non-kernel structural linter reports `EMPTY_AGGREGATE` without crashing. Synonyms: "poly loop empty polygon", "polygon loop no points", "empty facet boundary crash", "zero point polygon". Provenance tier: bytes-sufficient.

Expected validation

occt=signal(11)/signal(11) gmsh=signal(11) ifc=schema_n/a

Byte 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/* M200: ADVANCED_FACE whose FACE_OUTER_BOUND wraps POLY_LOOP('empty_polygon',()) — the polygon list empty where the schema requires at least three points; a polygon loop is nothing but its point list, so the face has a bound and no geometry. Reachable through the shell and shape representation */
3HEADER;
4FILE_DESCRIPTION(('M200'),'2;1');
5FILE_NAME('M200.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=POLY_LOOP('empty_polygon',());
16#7=FACE_OUTER_BOUND('',#6,.T.);
17#8=ADVANCED_FACE('m200_facet',(#7),#5,.T.);
18#9=OPEN_SHELL('',(#8));
19#10=SHELL_BASED_SURFACE_MODEL('',(#9));
20#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
21#9051=PRODUCT('M200','M200','',(#9050));
22#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
23#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
24#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
25#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
26#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
27#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
28#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
29#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
30#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
31#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#10),#9060);
32#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
33ENDSEC;
34END-ISO-10303-21;