step-examples/12-8-mixed/M010.stp
Sources
- 02-caxif.md
- Supplemental Geometry v1.3 §5.2
Description
NX-style preprocessors emit reference planes as unbounded `plane` and centerlines as unbounded `line`. CATIA-style preprocessors emit bounded `face_surface`/`edge_curve`. Round-tripping fails when a bounded reader receives an unbounded element with no fallback, or when name-bearing elements lose their name during the bound→unbound conversion.
Reproducer recipe
Author a `constructive_geometry_representation` with one named unbounded `plane` and one named unbounded `line`. Reimport into a system that requires bounded supplemental elements.
Expected kernel behavior
Heal and accept: kernels requiring bounded representations must auto-generate (synthesize) boundaries derived from model extents on import.
Notes
Synonyms: "bound vs unbound supplemental geometry", "datum plane unbounded vs bounded", "centerline lost on round-trip", "supplemental element type mismatch".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(1) ifc=schema_n/a
Byte assertions
contains(b'CONSTRUCTIVE_GEOMETRY_REPRESENTATION')contains(b'PLANE')contains(b'LINE')
Tier-3 assertions
shape_null == Falsen_edges_total == 1
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* M010: GEOMETRIC_CURVE_SET containing CONSTRUCTIVE_GEOMETRY_REPRESENTATION with one named unbounded PLANE and one named unbounded LINE; NX-style writers emit unbounded PLANE/LINE supplemental elements; CATIA-style readers require bounded face_surface/edge_curve â round-trip fails; name-bearing supplemental elements lose their name on boundâunbound conversion; kernel must heal: auto-generate bounds from model extents on import; GEOMETRIC_CURVE_SET IS the model entity â OCC yields empty; synonyms: bound vs unbound supplemental geometry, datum plane unbounded vs bounded, centerline lost on round-trip, supplemental element type mismatch */ 3HEADER; 4FILE_DESCRIPTION(('M010'),'2;1'); 5FILE_NAME('M010.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('',(0.0,0.0,0.0)); 11#2=DIRECTION('',(0.0,0.0,1.0)); 12#3=DIRECTION('',(1.0,0.0,0.0)); 13#4=AXIS2_PLACEMENT_3D('',#1,#2,#3); 14#5=PLANE('reference_datum_plane_unbounded',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=DIRECTION('',(1.0,0.0,0.0)); 17#8=VECTOR('',#7,1.0); 18#9=LINE('centerline_unbounded',#6,#8); 19#10=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 20#11=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 21#12=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 22#13=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#10,'distance_accuracy_value',''); 23#14=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#13))GLOBAL_UNIT_ASSIGNED_CONTEXT((#10,#11,#12))REPRESENTATION_CONTEXT('','3D')); 24#15=CONSTRUCTIVE_GEOMETRY_REPRESENTATION('supplemental_geometry',(#5,#9),#14); 25#16=GEOMETRIC_CURVE_SET('bound-vs-unbound-supplemental',(#5,#9,#15)); 26#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 27#9051=PRODUCT('M010','M010','',(#9050)); 28#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 29#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 30#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 31#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 32#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 33#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 34#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 35#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 36#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 37#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#16),#9060); 38#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 39ENDSEC; 40END-ISO-10303-21;