step-examples/12-3a-shells/Sw008.stp
Sources
- OCCT BRepBuilderAPI_FastSewing.cxx:483 (FS_FindEdgeError) (uncovered class evidence)
Sender
deduced — OCCT uncovered-class sweep
Description
Analogous to Sw007 but for edges: an edge's lookup key (endpoints + curve type) does not hit a unique entry in the global edge table. Bug-reporter language: "edge not matched", "fast sew edge collision".
Reproducer recipe
Two faces meet on what should be a shared edge, but the edge's underlying 3D curves differ slightly (one is a `LINE`, one is a degree-1 `B_SPLINE_CURVE` between the same points). Hash mismatches.
Expected kernel behavior
Heal and accept: normalize matching by geometric coincidence within tolerance, not by curve-type identity.
Notes
**See also**: Sw007. Honesty note: the title's "fast-sewing edge-table miss" names a runtime `BRepBuilderAPI_FastSewing` lookup path that plain STEP import does not exercise; on import OCC builds a valid shape(1) (heal_on ≡ heal_off, both v4/e2/w1/f1), so the witnessed behavior is looser than — and does not directly demonstrate — the named edge-table-collision mechanism. Retained SOUND as a coincident-endpoint / mixed curve-type (LINE vs degree-1 B-spline) stressor. Synonyms: "edge not matched in fast sew", "fast sew edge collision", "LINE vs B_SPLINE on same endpoints", "same endpoints but different 3D curves", "edge lookup key collides between curve types".
Expected validation
occt=shape(1)/shape(1) gmsh=shape(5) ifc=schema_n/a
Byte assertions
contains(b'B_SPLINE_CURVE_WITH_KNOTS')contains(b'LINE')count_entity_def(b'EDGE_CURVE') == 2
Tier-3 assertions
load == "ok"
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/* Sw008: Exactly 2 EDGE_CURVEs between same endpoints (0,0,0)â(1,0,0): one using LINE and one using degree-1 B_SPLINE_CURVE_WITH_KNOTS; both ARE wired into EDGE_LOOP of ADVANCED_FACE of OPEN_SHELL; fast-sewing edge-table lookup key mismatch (curve-type differs) prevents stitching */ 3HEADER; 4FILE_DESCRIPTION(('Sw008'),'2;1'); 5FILE_NAME('Sw008.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=CARTESIAN_POINT('',(1.0,0.0,0.0)); 12#3=VERTEX_POINT('',#1); 13#4=VERTEX_POINT('',#2); 14#5=DIRECTION('',(1.0,0.0,0.0)); 15#6=VECTOR('',#5,1.0); 16#7=LINE('',#1,#6); 17#8=EDGE_CURVE('',#3,#4,#7,.T.); 18#9=B_SPLINE_CURVE_WITH_KNOTS('',1,(#1,#2),.UNSPECIFIED.,.F.,.F.,(2,2),(0.0,1.0),.UNSPECIFIED.); 19#10=EDGE_CURVE('',#3,#4,#9,.T.); 20#11=ORIENTED_EDGE('',$,$,#8,.T.); 21#12=ORIENTED_EDGE('',$,$,#10,.F.); 22#13=EDGE_LOOP('',(#11,#12)); 23#14=CARTESIAN_POINT('',(0.0,0.0,0.0)); 24#15=DIRECTION('',(0.0,0.0,1.0)); 25#16=DIRECTION('',(1.0,0.0,0.0)); 26#17=AXIS2_PLACEMENT_3D('',#14,#15,#16); 27#18=PLANE('',#17); 28#19=FACE_OUTER_BOUND('',#13,.T.); 29#20=ADVANCED_FACE('',(#19),#18,.T.); 30#21=OPEN_SHELL('sw008_line_vs_bspline_edge',(#20)); 31#22=SHELL_BASED_SURFACE_MODEL('',(#21)); 32#9050=PRODUCT_CONTEXT('',#9000,'mechanical'); 33#9051=PRODUCT('Sw008','Sw008','',(#9050)); 34#9052=PRODUCT_DEFINITION_FORMATION('','',#9051); 35#9053=PRODUCT_DEFINITION_CONTEXT('part definition',#9000,'design'); 36#9054=PRODUCT_DEFINITION('','','',#9052,#9053); 37#9055=PRODUCT_DEFINITION_SHAPE('','','',#9054); 38#9056=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.)); 39#9057=(NAMED_UNIT(*)PLANE_ANGLE_UNIT()SI_UNIT($,.RADIAN.)); 40#9058=(NAMED_UNIT(*)SI_UNIT($,.STERADIAN.)SOLID_ANGLE_UNIT()); 41#9059=UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.0E-7),#9056,'distance_accuracy_value',''); 42#9060=(GEOMETRIC_REPRESENTATION_CONTEXT(3)GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#9059))GLOBAL_UNIT_ASSIGNED_CONTEXT((#9056,#9057,#9058))REPRESENTATION_CONTEXT('','3D')); 43#9061=MANIFOLD_SURFACE_SHAPE_REPRESENTATION('',(#22),#9060); 44#9062=SHAPE_DEFINITION_REPRESENTATION(#9055,#9061); 45ENDSEC; 46END-ISO-10303-21;