5 ############################################################################
6 # BRepAlgoAPI_Section HasAnsectorFaceOn1 returned False on the boundary
7 ############################################################################
9 polyline w1 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0
10 polyline w2 0 1 0 1 1 0 1 2 0 0 2 0 0 1 0
13 sewing s1 0.0001 f1 f2
20 # check that section edge (r) is the edge from original shape (s1)
22 if { ! [regexp {EDGE\s*:\s*([0-9]+)} [nbshapes s1] str nbedges_s1] ||
23 ! [regexp {EDGE\s*:\s*([0-9]+)} [nbshapes c ] str nbedges_c] } {
24 error "Could not get number of edges from resulting shapes"
27 if { $nbedges_s1 != $nbedges_c } {
28 puts "Error: section does not share common edge with original shape"