Tfa075 — shell composition.MakeFacesOnPatch fallback resolution

§12.3c (face / sewing / free bounds)

topology

Sources

Description

MakeFacesOnPatch receives single non-WIRE loop (e.g., VERTEX). Fast-path check at line 2985 (loops.Length==1 && !WIRE) returns early, promoting residual loop as face without proper topology resolution. Fallback resolution ambiguous when loop type is not WIRE.

Reproducer recipe

Patch with single degenerate loop; single-edge WIRE loop passed through. Type-checking shortcut skips root-finding; residual loop promoted without face construction.

Expected kernel behavior

Kernel should distinguish between single-WIRE (valid, construct face) and single-non-WIRE (error, abort or fallback with diagnostic). Failure: non-WIRE loop bypass leads to unresolved topology.

Expected validation

occt=empty/empty gmsh=empty ifc=schema_n/a

Tier-3 assertions

Live oracle output

No live oracle data — run _run_corpus to populate.

Fixture content

Show fixture bytes
1ISO-10303-21;
2/* Tfa075: GEOMETRIC_CURVE_SET containing ADVANCED_FACE on PLANE; FACE_OUTER_BOUND references EDGE_LOOP with single degenerate ORIENTED_EDGE; edge is self-loop: start vertex == end vertex at (5.0, 5.0, 0.0); collapses to VERTEX-type non-WIRE loop — triggers MakeFacesOnPatch bypass; fast-path at line 2985: loops.Length==1 && !WIRE returns early; residual loop promoted as face without topology resolution; kernel should reject or fallback with diagnostic for non-WIRE single loop; GEOMETRIC_CURVE_SET IS model entity — OCC yields empty; no orphaned entities */
3HEADER;
4FILE_DESCRIPTION(('Tfa075'),'2;1');
5FILE_NAME('Tfa075.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('',(5.0,5.0,0.0));
16#7=VERTEX_POINT('degenerate_vertex',#6);
17#8=DIRECTION('',(1.0,0.0,0.0));
18#9=VECTOR('',#8,0.0);
19#10=LINE('',#6,#9);
20#11=EDGE_CURVE('self_loop',#7,#7,#10,.T.);
21#12=ORIENTED_EDGE('',*,*,#11,.T.);
22#13=EDGE_LOOP('degenerate_loop',(#12));
23#14=FACE_OUTER_BOUND('',#13,.T.);
24#15=ADVANCED_FACE('patch_face',(#14),#5,.T.);
25#16=GEOMETRIC_CURVE_SET('',( #15));
26#9050=PRODUCT_CONTEXT('',#9000,'mechanical');
27#9051=PRODUCT('Tfa075','Tfa075','',(#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;