0022886: Bug in Boolean
[occt.git] / tests / bugs / modalg_7 / bug29580_1
CommitLineData
7f3408c8 1puts "========"
2puts "OCC29580"
3puts "========"
4puts ""
5#################################################
6# Regression: invalid result of BOP Fuse
7#################################################
8
9restore [locate_data_file bug29580_Cylinder.brep] b1
10restore [locate_data_file bug29580_Solid.brep] b2
11
12bfuse result b1 b2
13
f8163956 14foreach f [explode result f] {
15 explode $f w
16 foreach w [explode $f w] {
17 if {[regexp "A self-intersecting wire" [checkselfintersection $w $f]]} {
18 puts "Error: BOP produces a face with self-intersecting wire"
19 }
20 }
21}
22
7f3408c8 23checkshape result
f8163956 24checknbshapes result -wire 11 -face 10 -shell 1 -solid 1
25checkprops result -s 865.851 -v 1622.17
7f3408c8 26
27checkview -display result -2d -path ${imagedir}/${test_image}.png