0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / moddata_2 / bug2784_1
CommitLineData
61c421bf 1puts "============"
2puts "OCC2784"
3puts "============"
4puts ""
5######################################################
6# Common and cut operations for two faces gives invalid result
7######################################################
8# Common and cut operations for two faces gives invalid result if one of the faces
9# has a hole and other face lay in this hole (fill this hole).
10######################################################
11## (new topology)
12## (bcut)
13## (bcommon)
14######################################################
15
16############# data #############
17box b1 10 20 10
18box b2 1 1 1
19ttranslate b2 5 5 0
20explode b1 f
21explode b2 f
22
23bcut rcut1 b1_5 b2_5
24checkshape rcut1
25
26bcommon result rcut1 b2_5
27
28regexp {Mass +: +([-0-9.+eE]+)} [sprops result] full m
29
30if { $m != 0 } {
58cf74e0 31 puts "Error : area is not right"
61c421bf 32}
33
5747059b 34checkview -display result -3d -path ${imagedir}/${test_image}.png