step-examples/12-3c-faces/Tfa224.stp
Sources
- synthesized — no external source cited
Description
missing-seam recovery.degenerate-wire-consolidation
Reproducer recipe
Expected kernel behavior
the spherical face carries two inner boundaries that are zero-extent edges at the north pole — the same vertex, the same point. Measure each boundary's extent and consolidate or drop the degenerate ones before treating them as bounds. A zero-extent boundary contributes no constraint but is counted as one, so the face appears multiply-bounded while being bounded only once.
Expected validation
occt=shape(1)/shape(1) gmsh=shape(9) ifc=schema_n/a
Tier-3 assertions
load == "ok"face[0].surface_type == "sphere"face[0].quadric.radius == 3.0edge[0].curve_type == "circle"edge[0].analytic.radius == 3.0
Live oracle output
No live oracle data — run _run_corpus to populate.
Fixture content
Show fixture bytes
1ISO-10303-21; 2/* Tfa224: CLOSED_SHELL: single ADVANCED_FACE on SPHERICAL_SURFACE (radius=3.0); outer FACE_OUTER_BOUND: equatorial circle (z=0, r=3.0); 2 inner FACE_BOUNDs: degenerate zero-extent point-edges at north pole (0,0,3); both inner wires share the same vertex â zero-extent degenerate loops; FixMissingSeam line 1872: detects all-degenerate wires; consolidates and removes them before seam synthesis; without consolidation: degenerated seams collapse to singularity; defect IS on live traversal path; no orphaned entities */ 3HEADER; 4FILE_DESCRIPTION(('Tfa224'),'2;1'); 5FILE_NAME('Tfa224.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=SPHERICAL_SURFACE('',#4,3.0); 15#6=CARTESIAN_POINT('',(3.0,0.0,0.0)); 16#7=VERTEX_POINT('',#6); 17#8=CARTESIAN_POINT('',(0.0,0.0,0.0)); 18#9=DIRECTION('',(0.0,0.0,1.0)); 19#10=DIRECTION('',(1.0,0.0,0.0)); 20#11=AXIS2_PLACEMENT_3D('',#8,#9,#10); 21#12=CIRCLE('',#11,3.0); 22#13=EDGE_CURVE('',#7,#7,#12,.T.); 23#14=ORIENTED_EDGE('',$,$,#13,.T.); 24#15=EDGE_LOOP('',(#14)); 25#16=FACE_OUTER_BOUND('',#15,.T.); 26#17=CARTESIAN_POINT('',(1.0E-06,0.0,3.0)); 27#18=VERTEX_POINT('',#17); 28#19=CARTESIAN_POINT('',(0.0,0.0,3.0)); 29#20=DIRECTION('',(0.0,0.0,1.0)); 30#21=DIRECTION('',(1.0,0.0,0.0)); 31#22=AXIS2_PLACEMENT_3D('',#19,#20,#21); 32#23=CIRCLE('',#22,1.0E-06); 33#24=EDGE_CURVE('',#18,#18,#23,.T.); 34#25=ORIENTED_EDGE('',$,$,#24,.T.); 35#26=EDGE_LOOP('',(#25)); 36#27=FACE_BOUND('',#26,.F.); 37#28=CARTESIAN_POINT('',(1.0E-06,0.0,3.0)); 38#29=VERTEX_POINT('',#28); 39#30=CARTESIAN_POINT('',(0.0,0.0,3.0)); 40#31=DIRECTION('',(0.0,0.0,1.0)); 41#32=DIRECTION('',(1.0,0.0,0.0)); 42#33=AXIS2_PLACEMENT_3D('',#30,#31,#32); 43#34=CIRCLE('',#33,1.0E-06); 44#35=EDGE_CURVE('',#29,#29,#34,.T.); 45#36=ORIENTED_EDGE('',$,$,#35,.T.); 46#37=EDGE_LOOP('',(#36)); 47#38=FACE_BOUND('',#37,.F.); 48#39=ADVANCED_FACE('',(#16,#27,#38),#5,.T.); 49#40=CLOSED_SHELL('',(#39)); 50#41=MANIFOLD_SOLID_BREP('',#40); 51#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 52#9051=PRODUCT('Tfa224','Tfa224','',(#9050)); 53#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 54#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 55#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 56#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 57#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 58#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 59#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 60#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 61#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 62#9061=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#41),#9060); 63#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 64ENDSEC; 65END-ISO-10303-21;