M196 — Bare geometric set mixing a supported curve with an unsupported placement entity: the placement is silently skipped, the curve translates normally

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

P2 — spec deviation (no data loss)

crash

Sources

Description

A bare geometric set aggregates items beyond curve/surface/point — here a placement entity alongside an ordinary curve. Per-item type dispatch inside the reader recognizes the curve and builds a live edge from it; the placement entity matches none of the directly-supported kinds, falls through to a last-resort general path that has no way to turn a bare placement into geometry, and is silently dropped with nothing surfaced to the consumer about the item that went missing.

Reproducer recipe

`GEOMETRIC_CURVE_SET` whose items list mixes one `CIRCLE` (a supported curve, bounded/periodic so it survives the reader's curve path without incident) and one `AXIS2_PLACEMENT_3D` (a placement entity, not a geometric_select member); wired directly as the sole item of a `MANIFOLD_SURFACE_SHAPE_REPRESENTATION`.

Expected kernel behavior

accept the supported item, but surface a diagnostic naming which item(s) in the set could not be interpreted as geometry rather than dropping them without a trace; never report a partial result as a complete transfer.

Notes

Synonyms: "geometric set mixed item silently skipped", "unsupported representation item dropped from geometric set", "placement entity in geometric curve set produces no shape", "bare geometric set partial transfer no diagnostic". Live-verified: the result is exactly the circle's one edge and nothing attributable to the placement — the mixed-dispatch mechanism fires cleanly. Mirrors M051, whose supported item was an unbounded line: an unbounded line placed bare inside this kind of set crashes this reader build on its own, with or without a second mixed-in item (isolated by testing an unbounded-line-only set against this same wrapper, independently of any placement entity) — an unrelated instability in how the reader turns an untrimmed infinite line into an edge inside this context, not a symptom of the mixed-item dispatch this entry targets. Swapping in a bounded curve isolates the dispatch-skip behavior cleanly.

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

M051

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M196: GEOMETRIC_CURVE_SET mixing a supported item (CIRCLE, a StepGeom_Curve) with a generic GeometricRepresentationItem (AXIS2_PLACEMENT_3D, none of curve/point/surface) in one items list; input: AP242/AP214 file whose bare GEOMETRIC_SET aggregates heterogeneous geometric_set_select members -- StepToTopoDS_Builder::Init(GeometricSet) dispatches each item by type: the CIRCLE hits the StepGeom_Curve branch and is translated to a live edge; the AXIS2_PLACEMENT_3D matches none of curve/point/surface, falls through to the generic GeometricRepresentationItem fallback (routed through STEPControl_ActorRead::TransferShape), which has no recognized translation for a bare placement entity and produces no shape, silently skipped with only a warning; the mixed set therefore yields exactly the circle's edge, nothing from the placement; mirrors M051 (which used an unbounded LINE for the supported item) fixed per design note: M051's crash (occt=signal(11)) is independently reproducible with ANY bare, untrimmed LINE inside a GEOMETRIC_CURVE_SET regardless of what else shares the set (isolated live: LINE-only set crashes identically to the LINE+AXIS2_PLACEMENT_3D mix; CIRCLE-only and CIRCLE+AXIS2_PLACEMENT_3D both load cleanly) -- the crash trigger is StepToGeom::MakeCurve on an infinite Geom_Line reaching BRepBuilderAPI_MakeEdge with unbounded parameters in this pinned build, an unrelated bug, not the mixed-item dispatch mechanism this fixture targets; using a bounded/periodic CIRCLE isolates the dispatch-skip behavior cleanly; covers stp-geomset-gri-fallback; synonyms: geometric set mixed item type dispatch, unsupported representation item silently skipped in geometric set, AXIS2_PLACEMENT_3D routed to generic actor fallback, bare placement entity in geometric curve set produces no shape */
3HEADER;
4FILE_DESCRIPTION(('M196'),'2;1');
5FILE_NAME('M196.stp','2026-07-12T00: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('circ_center',(0.,0.,0.));
11#2=DIRECTION('circ_z',(0.,0.,1.));
12#3=DIRECTION('circ_x',(1.,0.,0.));
13#4=AXIS2_PLACEMENT_3D('circ_ax',#1,#2,#3);
14#5=CIRCLE('supported_curve_item',#4,5.);
15#6=CARTESIAN_POINT('placement_origin',(10.,0.,0.));
16#7=DIRECTION('placement_z',(0.,0.,1.));
17#8=DIRECTION('placement_x',(1.,0.,0.));
18#9=AXIS2_PLACEMENT_3D('unsupported_gri_fallback_item',#6,#7,#8);
19#10=GEOMETRIC_CURVE_SET('mixed-supported-curve-and-generic-gri',(#5,#9));
20#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
21#9051=PRODUCT('M196','M196','',(#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;