Integration part of tests of grid chl
[occt.git] / tests / bugs / modalg / 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 puts [checkshape a_1]
12
13 restore [locate_data_file OCC500b.brep] a_2
14 puts [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 set square 1246.13
22 set 2dviewer 0