0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug27472
CommitLineData
cba287d6 1puts "========"
2puts "OCC27472"
3puts "========"
4puts ""
5#######################
6# Wrong result of cut
7#######################
8
9restore [locate_data_file bug27472_o.brep] o
10restore [locate_data_file bug27472_t.brep] t
11
12bcut result o t
13checkshape result
14
15set o_Vol [lindex [string trim [vprops o]] 2]
16set r_Vol [lindex [string trim [vprops result]] 2]
17
18if {$r_Vol == $o_Vol} {
19 puts "ERROR: OCC27472 is reproduced. Result of bcut operation is WRONG."
20}
21
22vinit
23vdisplay result
24vfit
25
26checkview -screenshot -3d -path ${imagedir}/${test_image}.png