step-examples/12-3c-faces/Tfa003.stp
Sources
- 04-occt-translation Q019 (StepToTopoDS_TranslateFace.cxx:725-737)
Description
The bound entity referenced from `FACE_OUTER_BOUND.bound` failed translation (e.g., empty `EDGE_LOOP`, all edges dropped). Without an outer bound the face is incomplete.
Reproducer recipe
`FACE_OUTER_BOUND` whose `bound` is an `EDGE_LOOP` with all `ORIENTED_EDGE`s referencing edges that themselves had null curves (Q006).
Expected kernel behavior
Warn and accept: drop the offending face; emit "TP fail: outer bound translation" diagnostic; coerce the shell to continue.
Notes
**See also**: Gp001, Tfa001. Synonyms: "outer boundary failed to translate", "face dropped because its outer wire was empty", "all edges in outer loop went missing", "face has no usable outer boundary after import".
Expected validation
occt=empty/empty gmsh=empty ifc=schema_n/a
Closure intent
ambiguous — the open shell is an incidental scaffold for a non-closure-related test.
Byte assertions
contains(b'FACE_OUTER_BOUND(')count_entity_def(b'EDGE_LOOP') >= 2count_entity_def(b'ADVANCED_FACE') >= 1
Tier-3 assertions
shape_null == True
Cross-references
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes (with defect highlighting)
1ISO-10303-21; 2/* Tfa003: GEOMETRIC_CURVE_SET containing ADVANCED_FACE; FACE_OUTER_BOUND references EDGE_LOOP whose every ORIENTED_EDGE wraps an EDGE_CURVE with no underlying 3D curve (null curve â entity absent); all edges in outer loop drop during translation; ADVANCED_FACE is left without an outer boundary â face is incomplete; GEOMETRIC_CURVE_SET IS model entity â OCC yields empty; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa003'),'2;1'); 5FILE_NAME('Tfa003.stp','2026-06-17T00:00:00',(''),(''),'cad-research-suite','',''); 6FILE_SCHEMA(('AUTOMOTIVE_DESIGN { 1 0 10303 214 3 1 1 }')); 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('',#4); 15#6=CARTESIAN_POINT('',(0.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(10.0,0.0,0.0)); 18#9=VERTEX_POINT('',#8); 19#10=CARTESIAN_POINT('',(10.0,10.0,0.0)); 20#11=VERTEX_POINT('',#10); 21#12=CARTESIAN_POINT('',(0.0,10.0,0.0)); 22#13=VERTEX_POINT('',#12); 23#14=EDGE_CURVE('null_edge_0',#7,#9,$,.T.); 24#15=EDGE_CURVE('null_edge_1',#9,#11,$,.T.); 25#16=EDGE_CURVE('null_edge_2',#11,#13,$,.T.); 26#17=EDGE_CURVE('null_edge_3',#13,#7,$,.T.); 27#18=ORIENTED_EDGE('',*,*,#14,.T.); 28#19=ORIENTED_EDGE('',*,*,#15,.T.); 29#20=ORIENTED_EDGE('',*,*,#16,.T.); 30#21=ORIENTED_EDGE('',*,*,#17,.T.); 31#22=EDGE_LOOP('null_outer_loop',(#18,#19,#20,#21)); 32#23=CARTESIAN_POINT('',(1.0,1.0,0.0)); 33#24=VERTEX_POINT('',#23); 34#25=CARTESIAN_POINT('',(2.0,1.0,0.0)); 35#26=VERTEX_POINT('',#25); 36#27=DIRECTION('',(1.0,0.0,0.0)); 37#28=VECTOR('',#27,1.0); 38#29=CARTESIAN_POINT('',(1.0,1.0,0.0)); 39#30=LINE('',#29,#28); 40#31=EDGE_CURVE('good_edge',#24,#26,#30,.T.); 41#32=ORIENTED_EDGE('',*,*,#31,.T.); 42#33=EDGE_LOOP('good_loop',(#32)); 43#34=FACE_OUTER_BOUND('',#22,.T.); 44#35=ADVANCED_FACE('',( #34),#5,.T.); 45#36=GEOMETRIC_CURVE_SET('',(#35,#33)); 46#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 47#9051=PRODUCT('Tfa003','Tfa003','',(#9050)); 48#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 49#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 50#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 51#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 52#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 53#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 54#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 55#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 56#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 57#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#36),#9060); 58#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 59ENDSEC; 60END-ISO-10303-21;