step-examples/12-8-mixed/M015.stp
Sources
- 02-caxif.md
- PMI v4.1 §8.2
Description
For efficiency, tessellated annotation sets should be combined with `repositioned_tessellated_item` so that the `coordinates_list` entries have z=0 (annotation lies in its own 2D plane) and the placement axis carries the 3D position.
Reproducer recipe
Tessellated annotation in plane at z=10. Either emit absolute 3D coords (z≈10 throughout), or use `repositioned_tessellated_item` with z=0 in coords plus an axis at z=10.
Expected kernel behavior
Heal and accept: writers prefer the repositioned form; readers must support both.
Notes
Synonyms: "tessellated PMI z != 0", "annotation third coordinate nonzero", "tessellated_geometric_set placement wrong", "repositioned tessellated form preferred".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Byte assertions
contains(b'TESSELLATED_GEOMETRIC_SET')contains(b'10.0)')contains(b'annot_coords_absolute')
Tier-3 assertions
shape_null == True
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M015: GEOMETRIC_CURVE_SET containing TESSELLATED_GEOMETRIC_SET with absolute 3D coordinates at z=10 throughout; non-repositioned form: PMI annotation emits absolute coords with zâ10.0 instead of using REPOSITIONED_TESSELLATED_ITEM with z=0 in coord list; PMI v4.1 §8.2 prefers the repositioned form: coordinates_list z=0 + axis at z=10; readers requiring z=0 in tessellated_geometric_set reject the absolute form; kernel must heal: accept both absolute and repositioned forms; writers must prefer the repositioned form; GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; synonyms: tessellated PMI z != 0, annotation third coordinate nonzero, tessellated_geometric_set placement wrong, repositioned tessellated form preferred */ 3HEADER; 4FILE_DESCRIPTION(('M015'),'2;1'); 5FILE_NAME('M015.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=COORDINATES_LIST('annot_coords_absolute',3,((0.,0.,10.0),(5.,0.,10.0),(5.,3.,10.0),(0.,3.,10.0))); 11#2=TESSELLATED_CURVE_SET('annot_outline',#1,((0,1,2,3,0))); 12#3=TESSELLATED_GEOMETRIC_SET('annotation_tgs',(#2)); 13#4=CARTESIAN_POINT('',(0.0,0.0,10.0)); 14#5=DIRECTION('',(0.0,0.0,1.0)); 15#6=DIRECTION('',(1.0,0.0,0.0)); 16#7=AXIS2_PLACEMENT_3D('',#4,#5,#6); 17#8=COORDINATES_LIST('annot_coords_repositioned',3,((0.,0.,0.),(5.,0.,0.),(5.,3.,0.),(0.,3.,0.))); 18#9=TESSELLATED_CURVE_SET('annot_outline_z0',#8,((0,1,2,3,0))); 19#10=REPOSITIONED_TESSELLATED_ITEM('',#9,#7); 20#11=GEOMETRIC_CURVE_SET('tess-pmi-z-nonzero-absolute',(#3,#10)); 21#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 22#9051=PRODUCT('M015','M015','',(#9050)); 23#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 24#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 25#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 26#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 27#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 28#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 29#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 30#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 31#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 32#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#11),#9060); 33#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 34ENDSEC; 35END-ISO-10303-21;