0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / modalg_5 / bug25225_2
1 puts "============"
2 puts "OCC25225"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Failure of 2d offset algorithm on two wires with arc
7 #######################################################################
8
9 restore [locate_data_file bug25225_2869_open.brep] a
10
11 if [catch { mkoffset resoffset a 1 -10} ] {
12   puts "Error : mkoffset is wrong"
13 } else {
14   renamevar resoffset_1 result
15
16   checkprops result -l 416.777 
17 checkshape result 
18 checksection result
19
20   checknbshapes result -vertex 7 -edge 7 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 15
21 }
22
23 checkview -display result -2d -path ${imagedir}/${test_image}.png