step-examples/12-8-mixed/M011.stp
Sources
- 02-caxif.md
- GVP §4.4
- Supplemental Geometry §5.7.1
Description
Supplemental elements (datum planes, centerlines, axis placements) may be reported by a writer as if they were part of the manufactured shape, inflating volume/area/centroid. Some unbounded supplemental elements cannot even produce a finite volume/area.
Reproducer recipe
Build a part with a `constructive_geometry_representation` containing an unbounded plane and a centerline. Compute and emit the volume/area/centroid GVP at part level by accidentally summing the supplemental elements.
Expected kernel behavior
Heal and accept: kernel must exclude any element referenced solely by `constructive_geometry_representation` from part-level GVP.
Notes
Synonyms: "supplemental geometry inflates GVP", "datum plane in part-level volume", "validation property fails check", "centerline counted in shape area", "unbounded supplemental geometry yields infinite volume". **See also**: A038, M033.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(27) ifc=schema_n/a
Tier-3 assertions
face[0].surface_type == "plane"face[5].surface_type == "plane"
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* M011: Supplemental geometry inadvertently included in part-level GVP; input: AP242 STEP file with MANIFOLD_SOLID_BREP (1 mm cube) plus CONSTRUCTIVE_GEOMETRY_REPRESENTATION containing an unbounded plane and a centerline; the writer summed supplemental elements into part-level volume/centroid GVP, inflating the values; kernel must exclude any element referenced solely by CONSTRUCTIVE_GEOMETRY_REPRESENTATION from part-level GVPs; synonyms: supplemental geometry inflates GVP, datum plane in part-level volume, validation property fails check, centerline counted in shape area, unbounded supplemental geometry yields infinite volume */ 3HEADER; 4FILE_DESCRIPTION(('M011'),'2;1'); 5FILE_NAME('M011.stp','2026-06-21T00: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#1=APPLICATION_CONTEXT('managed model based 3d engineering'); 10#2=APPLICATION_PROTOCOL_DEFINITION('international standard', 11 'ap242_managed_model_based_3d_engineering',2014,#1); 12#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 13#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 14#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 15#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-6),#10,'distance_accuracy_value',''); 16#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3) 17 GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13)) 18 GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12)) 19 REPRESENTATION_CONTEXT('part','3D')); 20#300=PRODUCT('cube','cube','',(#310)); 21#310=MECHANICAL_CONTEXT('',#1,'mechanical'); 22#320=PRODUCT_DEFINITION_FORMATION('','',#300); 23#330=PRODUCT_DEFINITION('design','',#320,#340); 24#340=PRODUCT_DEFINITION_CONTEXT('part definition',#1,'design'); 25#350=PRODUCT_DEFINITION_SHAPE('','',#330); 26#500=MANIFOLD_SOLID_BREP('cube_body',#510); 27#5700=CARTESIAN_POINT('p000',(0.0,0.0,0.0)); 28#5701=CARTESIAN_POINT('p100',(1.0,0.0,0.0)); 29#5702=CARTESIAN_POINT('p110',(1.0,1.0,0.0)); 30#5703=CARTESIAN_POINT('p010',(0.0,1.0,0.0)); 31#5704=CARTESIAN_POINT('p001',(0.0,0.0,1.0)); 32#5705=CARTESIAN_POINT('p101',(1.0,0.0,1.0)); 33#5706=CARTESIAN_POINT('p111',(1.0,1.0,1.0)); 34#5707=CARTESIAN_POINT('p011',(0.0,1.0,1.0)); 35#5710=VERTEX_POINT('',#5700); 36#5711=VERTEX_POINT('',#5701); 37#5712=VERTEX_POINT('',#5702); 38#5713=VERTEX_POINT('',#5703); 39#5714=VERTEX_POINT('',#5704); 40#5715=VERTEX_POINT('',#5705); 41#5716=VERTEX_POINT('',#5706); 42#5717=VERTEX_POINT('',#5707); 43#5720=DIRECTION('dx',(1.0,0.0,0.0)); 44#5721=DIRECTION('dy',(0.0,1.0,0.0)); 45#5722=DIRECTION('dz',(0.0,0.0,1.0)); 46#5723=DIRECTION('dxn',(-1.0,0.0,0.0)); 47#5724=DIRECTION('dyn',(0.0,-1.0,0.0)); 48#5725=DIRECTION('dzn',(0.0,0.0,-1.0)); 49#5730=VECTOR('vx',#5720,1.0); 50#5731=VECTOR('vy',#5721,1.0); 51#5732=VECTOR('vz',#5722,1.0); 52#5740=LINE('',#5700,#5730); 53#5741=LINE('',#5701,#5731); 54#5742=LINE('',#5703,#5730); 55#5743=LINE('',#5700,#5731); 56#5744=LINE('',#5704,#5730); 57#5745=LINE('',#5705,#5731); 58#5746=LINE('',#5707,#5730); 59#5747=LINE('',#5704,#5731); 60#5748=LINE('',#5700,#5732); 61#5749=LINE('',#5701,#5732); 62#5750=LINE('',#5702,#5732); 63#5751=LINE('',#5703,#5732); 64#5760=EDGE_CURVE('',#5710,#5711,#5740,.T.); 65#5761=EDGE_CURVE('',#5711,#5712,#5741,.T.); 66#5762=EDGE_CURVE('',#5713,#5712,#5742,.T.); 67#5763=EDGE_CURVE('',#5710,#5713,#5743,.T.); 68#5764=EDGE_CURVE('',#5714,#5715,#5744,.T.); 69#5765=EDGE_CURVE('',#5715,#5716,#5745,.T.); 70#5766=EDGE_CURVE('',#5717,#5716,#5746,.T.); 71#5767=EDGE_CURVE('',#5714,#5717,#5747,.T.); 72#5768=EDGE_CURVE('',#5710,#5714,#5748,.T.); 73#5769=EDGE_CURVE('',#5711,#5715,#5749,.T.); 74#5770=EDGE_CURVE('',#5712,#5716,#5750,.T.); 75#5771=EDGE_CURVE('',#5713,#5717,#5751,.T.); 76#5780=AXIS2_PLACEMENT_3D('',#5700,#5725,#5720); 77#5781=AXIS2_PLACEMENT_3D('',#5704,#5722,#5720); 78#5782=AXIS2_PLACEMENT_3D('',#5700,#5724,#5720); 79#5783=AXIS2_PLACEMENT_3D('',#5703,#5721,#5720); 80#5784=AXIS2_PLACEMENT_3D('',#5700,#5723,#5721); 81#5785=AXIS2_PLACEMENT_3D('',#5701,#5720,#5721); 82#5790=PLANE('',#5780); 83#5791=PLANE('',#5781); 84#5792=PLANE('',#5782); 85#5793=PLANE('',#5783); 86#5794=PLANE('',#5784); 87#5795=PLANE('',#5785); 88#5800=ORIENTED_EDGE('',*,*,#5763,.T.); 89#5801=ORIENTED_EDGE('',*,*,#5762,.T.); 90#5802=ORIENTED_EDGE('',*,*,#5761,.F.); 91#5803=ORIENTED_EDGE('',*,*,#5760,.F.); 92#5804=ORIENTED_EDGE('',*,*,#5764,.T.); 93#5805=ORIENTED_EDGE('',*,*,#5765,.T.); 94#5806=ORIENTED_EDGE('',*,*,#5766,.F.); 95#5807=ORIENTED_EDGE('',*,*,#5767,.F.); 96#5808=ORIENTED_EDGE('',*,*,#5760,.T.); 97#5809=ORIENTED_EDGE('',*,*,#5769,.T.); 98#5810=ORIENTED_EDGE('',*,*,#5764,.F.); 99#5811=ORIENTED_EDGE('',*,*,#5768,.F.); 100#5812=ORIENTED_EDGE('',*,*,#5771,.T.); 101#5813=ORIENTED_EDGE('',*,*,#5766,.T.); 102#5814=ORIENTED_EDGE('',*,*,#5770,.F.); 103#5815=ORIENTED_EDGE('',*,*,#5762,.F.); 104#5816=ORIENTED_EDGE('',*,*,#5768,.T.); 105#5817=ORIENTED_EDGE('',*,*,#5767,.T.); 106#5818=ORIENTED_EDGE('',*,*,#5771,.F.); 107#5819=ORIENTED_EDGE('',*,*,#5763,.F.); 108#5820=ORIENTED_EDGE('',*,*,#5761,.T.); 109#5821=ORIENTED_EDGE('',*,*,#5770,.T.); 110#5822=ORIENTED_EDGE('',*,*,#5765,.F.); 111#5823=ORIENTED_EDGE('',*,*,#5769,.F.); 112#5830=EDGE_LOOP('',(#5800,#5801,#5802,#5803)); 113#5831=EDGE_LOOP('',(#5804,#5805,#5806,#5807)); 114#5832=EDGE_LOOP('',(#5808,#5809,#5810,#5811)); 115#5833=EDGE_LOOP('',(#5812,#5813,#5814,#5815)); 116#5834=EDGE_LOOP('',(#5816,#5817,#5818,#5819)); 117#5835=EDGE_LOOP('',(#5820,#5821,#5822,#5823)); 118#5840=FACE_OUTER_BOUND('',#5830,.T.); 119#5841=FACE_OUTER_BOUND('',#5831,.T.); 120#5842=FACE_OUTER_BOUND('',#5832,.T.); 121#5843=FACE_OUTER_BOUND('',#5833,.T.); 122#5844=FACE_OUTER_BOUND('',#5834,.T.); 123#5845=FACE_OUTER_BOUND('',#5835,.T.); 124#5850=ADVANCED_FACE('bottom',(#5840),#5790,.F.); 125#5851=ADVANCED_FACE('top',(#5841),#5791,.T.); 126#5852=ADVANCED_FACE('front',(#5842),#5792,.F.); 127#5853=ADVANCED_FACE('back',(#5843),#5793,.T.); 128#5854=ADVANCED_FACE('left',(#5844),#5794,.F.); 129#5855=ADVANCED_FACE('right',(#5845),#5795,.T.); 130#510=CLOSED_SHELL('',(#5850,#5851,#5852,#5853,#5854,#5855)); 131#520=ADVANCED_BREP_SHAPE_REPRESENTATION('cube_brep',(#500),#14); 132#530=SHAPE_DEFINITION_REPRESENTATION(#350,#520); 133/* Supplemental geometry: unbounded reference plane + centerline axis */ 134#600=CARTESIAN_POINT('',(0.5,0.5,0.5)); 135#601=DIRECTION('',(0.0,0.0,1.0)); 136#602=DIRECTION('',(1.0,0.0,0.0)); 137#603=AXIS2_PLACEMENT_3D('',#600,#601,#602); 138/* Unbounded datum plane â has no finite area/volume */ 139#604=PLANE('datum_plane',#603); 140/* Centerline axis â has no volume */ 141#610=CARTESIAN_POINT('',(0.5,0.5,0.0)); 142#611=DIRECTION('',(0.0,0.0,1.0)); 143#612=VECTOR('',#611,1.0); 144#613=LINE('centerline',#610,#612); 145/* CONSTRUCTIVE_GEOMETRY_REPRESENTATION: supplemental elements not part of BRep */ 146#620=CONSTRUCTIVE_GEOMETRY_REPRESENTATION('supplemental',(#604,#613),#14); 147/* Defect: part-level GVP inflated by summing supplemental geometry. 148 True volume of 1mm cube = 1.0 mm^3; writer emits 1.5 (50% over). */ 149#700=PROPERTY_DEFINITION('geometric validation property','volume',#350); 150#710=MEASURE_REPRESENTATION_ITEM('volume',VOLUME_MEASURE(1.5),#10); 151#720=REPRESENTATION('',(#710),#14); 152#730=PROPERTY_DEFINITION_REPRESENTATION(#700,#720); 153/* Wrong centroid: pulled toward the supplemental plane location */ 154#740=PROPERTY_DEFINITION('geometric validation property','centroid',#350); 155#750=CARTESIAN_POINT('centroid',(0.5,0.5,0.75)); 156#760=REPRESENTATION('',(#750),#14); 157#770=PROPERTY_DEFINITION_REPRESENTATION(#740,#760); 158ENDSEC; 159END-ISO-10303-21;