0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / modalg_2 / bug500
1
2 puts "========="
3 puts " OCC500 "
4 puts "========="
5 puts ""
6 ###############################
7 ## Result of pipe command of Draw is faulty
8 ###############################
9
10 restore [locate_data_file OCC500a.brep] a_1 
11 checkshape a_1
12
13 restore [locate_data_file OCC500b.brep] a_2
14 checkshape a_2
15
16 if [catch {pipe result a_1 a_2 } catch_result] {
17     puts "Faulty OCC500 : function PIPE works wrongly "
18 } else {
19     puts "OCC500 : function PIPE works without hangs up "
20 }
21 checkprops result -s 1246.13 
22 checkshape result
23 checkview -display result -2d -path ${imagedir}/${test_image}.png