1 puts "REQUIRED All: Wire not done with an error"
4 puts "0030522: Modeling Algorithms - BRepBuilderAPI_MakeWire produces different wires depending on the order of parameters"
8 restore [locate_data_file bug30522_w_line12.brep] w1
9 restore [locate_data_file bug30522_w_line21.brep] w2
11 if {![regexp "Wire not done with an error" [wire r12 w1 w2]]} {
12 if {[lindex [nbshapes r12] 10] != 8} {
13 puts "Error: The wires have been unified incorrectly"
19 wire r12u -unsorted w1 w2
21 wire r21u -unsorted w2 w1
23 foreach r {r21 r12u r21u} {
25 checknbshapes $r -edge 8 -vertex 8
30 checkview -screenshot -2d -path ${imagedir}/${test_image}.png