step-examples/12-3b-wires/Twi280.stp
Sources
- steptools.com AP242 Ed.3 notes (`SUBPATH` §4.4 — one of 21 new Ed.3 entities). B4 wave-8 DEF-XX (LGPL-clean — pattern only, no upstream bytes copied). AP242 Ed.3 introduced explicit labelled sub-regions of an ordered `PATH` so automated pocket-milling toolpath generation, inspection routines, and design-intent tools can query named segments of a path
- earlier editions (Ed.2, Ed.1, AP214) do not carry this entity in their schema and their readers produce Void transfer status.
Sender
AP242 Edition 3 STEP files from CAM/CAD tools that emit named path sub-regions (pocket-milling toolpath segments, interior-corner segments, tool-lift segments); file header declares `AUTOMOTIVE_DESIGN { 1 0 10303 442 4 1 4 }` (Ed.3 OID).
Description
STEP AP242 Ed.3 file containing a single planar 5×5 mm carrier `ADVANCED_FACE` (so geometry loads) plus an independent `PATH('interior_pocket_path',(#oe1,#oe2,#oe3,#oe4,#oe5))` (5-segment ordered `ORIENTED_EDGE` list representing an interior pocket-milling toolpath) and a `SUBPATH('interior_corner_segment',(#oe3,#oe4))` labelling edges 3-4 as a named sub-region (the "interior corner" of the toolpath). Ed.3 readers resolve the entity and expose the sub-region labelling so automated pocket-milling toolpath generation that keys off `SUBPATH` labels can recover the sub-region; Ed.2 / AP214 readers produce Void transfer status on the entity — the `PATH` still loads but the sub-region labelling is lost.
Reproducer recipe
AP242 Ed.3 header (`AUTOMOTIVE_DESIGN { 1 0 10303 442 4 1 4 }`); single planar carrier `ADVANCED_FACE` + `SHELL_BASED_SURFACE_MODEL`; independent `PATH('...',(#oe1,...,#oe5))`; `SUBPATH('interior_corner_segment',(#oe3,#oe4))`.
Expected kernel behavior
AP242 Ed.3 readers must resolve `SUBPATH` and expose the labelled sub-region; Ed.2 / AP214 readers must emit `W_SCHEMA_ENTITY_UNSUPPORTED(SUBPATH)` rather than silently discarding the entity.
Notes
steptools notes_ap242e3.html §4.4 (21 new Ed.3 entities). B4 wave-8 DEF-XX. Confidence: MEDIUM — accept-live-oracle. OCCT drops the Ed.3 entity and loads the geometry as if AP214 (face + path load, sub-path labelling absent) — that IS the defect. Expected validation captured from OCCT live behavior. Edition boundary: Ed.3 entity absent from Ed.2, Ed.1, AP214 schemas. Synonyms: "SUBPATH AP242 Ed.3 dropped", "PATH sub-region labelling lost Ed.2", "interior corner segment label absent Ed.2", "pocket-milling toolpath sub-region silent drop", "AP242 Ed.3 SUBPATH entity absent".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Byte assertions
contains(b'SUBPATH')contains(b'interior_corner_segment')contains(b'10303 442 4 1 4')
Tier-3 assertions
shape_null == False
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Twi280: AP242 Ed.3 file: single planar 5x5 mm carrier face plus an independent PATH('interior_pocket_path',(#oe1,#oe2,#oe3,#oe4,#oe5)) (5-segment ordered ORIENTED_EDGE list) and a SUBPATH('interior_corner_segment',(#oe3,#oe4)) labelling edges 3-4 as a named sub-region of the path (AP242 Ed.3 §4.4, one of 21 new Ed.3 entities); header OID = {1 0 10303 442 4 1 4}; Ed.3 readers expose the sub-path; Ed.2 / AP214 readers produce Void transfer status on the entity â the PATH still loads but the sub-region labelling is lost (automated pocket-milling toolpath generation that keys off SUBPATH labels cannot recover it); edition-boundary drop; steptools notes_ap242e3.html; MANIFOLD_SURFACE_SHAPE_REPRESENTATION with one face â OCC yields shape(1) */ 3HEADER; 4FILE_DESCRIPTION(('Twi280'),'2;1'); 5FILE_NAME('Twi280.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 442 4 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('twi280_plane',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=CARTESIAN_POINT('',(5.0,0.0,0.0)); 17#8=CARTESIAN_POINT('',(5.0,5.0,0.0)); 18#9=CARTESIAN_POINT('',(0.0,5.0,0.0)); 19#10=VERTEX_POINT('',#6); 20#11=VERTEX_POINT('',#7); 21#12=VERTEX_POINT('',#8); 22#13=VERTEX_POINT('',#9); 23#14=DIRECTION('',(1.0,0.0,0.0)); 24#15=VECTOR('',#14,5.0); 25#16=LINE('',#6,#15); 26#17=EDGE_CURVE('',#10,#11,#16,.T.); 27#18=ORIENTED_EDGE('',$,$,#17,.T.); 28#19=DIRECTION('',(0.0,1.0,0.0)); 29#20=VECTOR('',#19,5.0); 30#21=LINE('',#7,#20); 31#22=EDGE_CURVE('',#11,#12,#21,.T.); 32#23=ORIENTED_EDGE('',$,$,#22,.T.); 33#24=DIRECTION('',(-1.0,0.0,0.0)); 34#25=VECTOR('',#24,5.0); 35#26=LINE('',#8,#25); 36#27=EDGE_CURVE('',#12,#13,#26,.T.); 37#28=ORIENTED_EDGE('',$,$,#27,.T.); 38#29=DIRECTION('',(0.0,-1.0,0.0)); 39#30=VECTOR('',#29,5.0); 40#31=LINE('',#9,#30); 41#32=EDGE_CURVE('',#13,#10,#31,.T.); 42#33=ORIENTED_EDGE('',$,$,#32,.T.); 43#34=EDGE_LOOP('',(#18,#23,#28,#33)); 44#35=FACE_OUTER_BOUND('',#34,.T.); 45#36=ADVANCED_FACE('twi280_face',(#35),#5,.T.); 46#37=OPEN_SHELL('twi280_shell',(#36)); 47#38=SHELL_BASED_SURFACE_MODEL('twi280_sbsm',(#37)); 48#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 49#9051=PRODUCT('Twi280','Twi280','',(#9050)); 50#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 51#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 52#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 53#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 54#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 55#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 56#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 57#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 58#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 59#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#38),#9060); 60#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 61#9063=CARTESIAN_POINT('',(1.0,1.0,0.0)); 62#9064=CARTESIAN_POINT('',(2.0,1.0,0.0)); 63#9065=CARTESIAN_POINT('',(3.0,1.5,0.0)); 64#9066=CARTESIAN_POINT('',(3.5,2.0,0.0)); 65#9067=CARTESIAN_POINT('',(4.0,3.0,0.0)); 66#9068=CARTESIAN_POINT('',(4.0,4.0,0.0)); 67#9069=VERTEX_POINT('',#9063); 68#9070=VERTEX_POINT('',#9064); 69#9071=VERTEX_POINT('',#9065); 70#9072=VERTEX_POINT('',#9066); 71#9073=VERTEX_POINT('',#9067); 72#9074=VERTEX_POINT('',#9068); 73#9075=DIRECTION('',(1.0,0.0,0.0)); 74#9076=VECTOR('',#9075,1.0); 75#9077=LINE('',#9063,#9076); 76#9078=EDGE_CURVE('twi280_pe1',#9069,#9070,#9077,.T.); 77#9079=DIRECTION('',(0.894427191,0.4472135955,0.0)); 78#9080=VECTOR('',#9079,1.11803398875); 79#9081=LINE('',#9064,#9080); 80#9082=EDGE_CURVE('twi280_pe2',#9070,#9071,#9081,.T.); 81#9083=DIRECTION('',(0.707106781187,0.707106781187,0.0)); 82#9084=VECTOR('',#9083,0.707106781187); 83#9085=LINE('',#9065,#9084); 84#9086=EDGE_CURVE('twi280_pe3',#9071,#9072,#9085,.T.); 85#9087=DIRECTION('',(0.4472135955,0.894427191,0.0)); 86#9088=VECTOR('',#9087,1.11803398875); 87#9089=LINE('',#9066,#9088); 88#9090=EDGE_CURVE('twi280_pe4',#9072,#9073,#9089,.T.); 89#9091=DIRECTION('',(0.0,1.0,0.0)); 90#9092=VECTOR('',#9091,1.0); 91#9093=LINE('',#9067,#9092); 92#9094=EDGE_CURVE('twi280_pe5',#9073,#9074,#9093,.T.); 93#9095=ORIENTED_EDGE('',$,$,#9078,.T.); 94#9096=ORIENTED_EDGE('',$,$,#9082,.T.); 95#9097=ORIENTED_EDGE('',$,$,#9086,.T.); 96#9098=ORIENTED_EDGE('',$,$,#9090,.T.); 97#9099=ORIENTED_EDGE('',$,$,#9094,.T.); 98#9100=PATH('interior_pocket_path',(#9095,#9096,#9097,#9098,#9099)); 99#9101=SUBPATH('interior_corner_segment',(#9097,#9098)); 100#9102=PROPERTY_DEFINITION('twi280_path','AP242 Ed.3 sub-path of pocket-milling toolpath',#9055); 101#9103=REPRESENTATION('twi280_subpath_rep',(#9100,#9101),#9060); 102#9104=PROPERTY_DEFINITION_REPRESENTATION(#9102,#9103); 103ENDSEC; 104END-ISO-10303-21;