0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / tests / bugs / modalg_6 / bug26431_2
CommitLineData
4e14c88f 1puts "============"
2puts "OCC26431"
3puts "============"
4puts ""
5###############################
6## Can't cut a sphere from a cylinder
7###############################
8
9restore [locate_data_file bug26431_Body.brep] b1
10restore [locate_data_file bug26431_Sphere.brep] b2
11
12explode b1 f
13explode b2 f
14
15bsection result b1_3 b2_1
16
17set log [checksection result]
18
19if { [string compare -nocase $log " nb alone Vertices : 0\n\n"] } {
20 puts "ERROR: the section is not closed"
21} else {
22 puts "The section is OK"
23}
24
25smallview
26donly result
27fit
5747059b 28checkview -screenshot -2d -path ${imagedir}/${test_image}.png