0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / modalg_2 / bug497_2
1
2 puts "========="
3 puts " OCC497 "
4 puts "(case 2)"
5 puts "========="
6 puts ""
7 ########################################################
8 ## Result of cut and fuse operation are faulty shapes although arguments are valid.
9 ########################################################
10
11 restore [locate_data_file OCC497c.brep] a_1 
12 checkshape a_1
13
14 restore [locate_data_file OCC497d.brep] a_2
15 checkshape a_2
16
17 if [catch {bcut result a_1 a_2 } catch_result] {
18     puts "Faulty OCC497:function CUT works wrongly "
19 } else {
20     puts "OCC497 : function CUT works without hangs up "
21 }
22 checkprops result -s 2225.65 
23 checkshape result
24 checkview -display result -2d -path ${imagedir}/${test_image}.png