M033 — Constructive geometry / supplemental geometry not allowed type

§12.8 (sub-class: supplemental)

P1 — silent data loss

spec-violation

Sources

Description

Supplemental-geometry RP allows only specific entity types (point, axis, plane, cylinder, etc.). The file uses an unsupported type or omits some `items` referenced by GISU.

Reproducer recipe

`constructive_geometry_representation` whose items include an unsupported entity, or where a GISU references an item missing from the items list.

Expected kernel behavior

Reject (drop) or warn-and-accept.

Notes

Synonyms: "supplemental geometry wrong type", "CGR has unsupported entity", "supplemental items beyond allowed list", "GISU references wrong type". **See also**: M011.

Expected validation

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

Byte assertions

Tier-3 assertions

Cross-references

M011

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes (with defect highlighting)
1ISO-10303-21;
2/* M033: GEOMETRIC_CURVE_SET containing CONSTRUCTIVE_GEOMETRY_REPRESENTATION whose items include B_SPLINE_SURFACE_WITH_KNOTS — an unsupported supplemental entity type; input: AP242 STEP file where a constructive_geometry_representation contains a b_spline_surface_with_knots (CAx-IF supplemental-geometry RP allows only point, axis, plane, cylinder, cone, sphere, torus — not B-spline surfaces); kernel must reject (drop) or warn-and-accept; OCC silently accepts (no diagnostic, empty result); GEOMETRIC_CURVE_SET IS the model entity — OCC yields empty; synonyms: supplemental geometry wrong type, CGR has unsupported entity, supplemental items beyond allowed list, GISU references wrong type */
3HEADER;
4FILE_DESCRIPTION(('M033'),'2;1');
5FILE_NAME('M033.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('cp11',(0.,0.,0.));
11#2=CARTESIAN_POINT('cp12',(10.,0.,0.));
12#3=CARTESIAN_POINT('cp13',(0.,10.,0.));
13#4=CARTESIAN_POINT('cp14',(10.,10.,0.));
14#5=B_SPLINE_SURFACE_WITH_KNOTS('supp_bspline',1,1,((#1,#2),(#3,#4)),.UNSPECIFIED.,.F.,.F.,.F.,(2,2),(2,2),(0.,1.),(0.,1.),.PIECEWISE_BEZIER_KNOTS.);
15#6=CARTESIAN_POINT('cgr_origin',(0.,0.,0.));
16#7=DIRECTION('cgr_z',(0.,0.,1.));
17#8=DIRECTION('cgr_x',(1.,0.,0.));
18#9=AXIS2_PLACEMENT_3D('cgr_placement',#6,#7,#8);
19#10=PLANE('supp_ref_plane',#9);
20#11=CONSTRUCTIVE_GEOMETRY_REPRESENTATION('supplemental_geom',(#10,#5),$);
21#12=GEOMETRIC_CURVE_SET('supplemental-geometry-unsupported-type',(#11,#10,#5));
22#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
23#9051=PRODUCT('M033','M033','',(#9050));
24#9052=PRODUCT_DEFINITION_FORMATION('','',#9051);
25#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design');
26#9054=PRODUCT_DEFINITION('','','',#9052,#9053);
27#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054);
28#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
29#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.));
30#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT());
31#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value','');
32#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D'));
33#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#12),#9060);
34#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061);
35ENDSEC;
36END-ISO-10303-21;