M051 — Bare GEOMETRIC_SET / GEOMETRIC_CURVE_SET with non-geometric children or mesh-as-surfaces

§12.8 (sub-class: mesh-as-brep / wireframe)

crash

Sources

Sender

OpenVSP (free-standing surfaces); aero/preliminary-design tools; legacy producers

Description

STEP `GEOMETRIC_SET`/`GEOMETRIC_CURVE_SET` may aggregate items beyond curve/surface/point (axis placements, scalar measures), or may contain a free-standing set of bounded surfaces with no shell/face superstructure. Many importers reject as "no solid found" or skip silently. Files containing only wireframe data or only bounded surfaces lose visibility.

Reproducer recipe

STEP file with only `GEOMETRIC_SET` referring to `B_SPLINE_SURFACE_WITH_KNOTS` instances and no shell/face boundary, or `GEOMETRIC_SET` aggregating `LINE`+`AXIS2_PLACEMENT_3D`+text.

Expected kernel behavior

accept; emit one face/surface object per surface; offer optional stitching pass; preserve as wireframe shape; never silently drop.

Notes

Synonyms: "bare GEOMETRIC_SET silent-empty", "wireframe-only file appears empty", "GEOMETRIC_CURVE_SET with non-geometric children", "bare surface set rejected as no solid". **OCC behavior**: crashes (signal 11) during transfer — RUNTIME-VERIFIED (2026-08-11, OCP/OCCT 7.8.1): the bare `GEOMETRIC_SET` / `GEOMETRIC_CURVE_SET` wrapper terminates OCC abnormally (matching the CI-verified `occt=signal(11)` line); the earlier "silently produces empty results" wording was stale. Receivers must reject the malformed input rather than crash.

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/* M051: GEOMETRIC_CURVE_SET aggregating non-geometric children — AXIS2_PLACEMENT_3D and DESCRIPTIVE_REPRESENTATION_ITEM alongside curves; input: AP242 STEP file with a bare GEOMETRIC_SET whose items list includes LINE, AXIS2_PLACEMENT_3D (a placement entity, not a geometric shape), and DESCRIPTIVE_REPRESENTATION_ITEM (a scalar/text item) — schema-illegal mix; OpenVSP (aero/preliminary-design tools): free-standing GEOMETRIC_CURVE_SET used as primary geometry container without shell/face superstructure; ISO 10303-42 §4.5.1: GEOMETRIC_SET items must be geometric_select (curve | surface | point); AXIS2_PLACEMENT_3D and DESCRIPTIVE_REPRESENTATION_ITEM are not in the geometric_select union; kernel must never silently drop: reject with diagnostic, or warn and preserve as wireframe shape; offer optional stitching pass for surface-only sets; OCC silently produces empty results on bare GEOMETRIC_SET / GEOMETRIC_CURVE_SET files without surfacing the wireframe-only nature; GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: bare GEOMETRIC_SET silent-empty, wireframe-only file appears empty, GEOMETRIC_CURVE_SET with non-geometric children, bare surface set rejected as no solid */
3HEADER;
4FILE_DESCRIPTION(('M051'),'2;1');
5FILE_NAME('M051.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','','');
6FILE_SCHEMA(('AP242_MANAGED_MODEL_BASED_3D_ENGINEERING_MIM_LF { 1 0 10303 442 1 1 4 }'));
7ENDSEC;
8DATA;
9#9000=APPLICATION_CONTEXT('mechanical design');
10#1=CARTESIAN_POINT('line_origin',(0.,0.,0.));
11#2=DIRECTION('line_dir',(1.,0.,0.));
12#3=VECTOR(#2,100.);
13#4=LINE('axis_line',#1,#3);
14#5=CARTESIAN_POINT('placement_origin',(10.,0.,0.));
15#6=DIRECTION('placement_z',(0.,0.,1.));
16#7=DIRECTION('placement_x',(1.,0.,0.));
17#8=AXIS2_PLACEMENT_3D('non_geometric_item',#5,#6,#7);
18#9=DESCRIPTIVE_REPRESENTATION_ITEM('scale_note','1:1 — non-geometric annotation');
19#10=CARTESIAN_POINT('s00',(0.,0.,0.));
20#11=CARTESIAN_POINT('s01',(0.,50.,0.));
21#12=CARTESIAN_POINT('s10',(50.,0.,0.));
22#13=CARTESIAN_POINT('s11',(50.,50.,0.));
23#14=B_SPLINE_SURFACE_WITH_KNOTS('free_surface',1,1,((#10,#11),(#12,#13)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.,1.),(0.,1.),.PIECEWISE_BEZIER_KNOTS.);
24#15=GEOMETRIC_CURVE_SET('bare-geometric-set-non-geometric-children',(#4,#8,#9,#14));
25#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
26#9051=PRODUCT('M051','M051','',(#9050));
27#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
28#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
29#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
30#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
31#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
32#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
33#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
34#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
35#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
36#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#15),#9060);
37#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
38ENDSEC;
39END-ISO-10303-21;