0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug27683
CommitLineData
340054e1 1puts "========"
2puts "OCC27683"
3puts "========"
4puts ""
5###############################
6# Inaccurate result by bopcut
7###############################
8
9restore [locate_data_file bug27683_shell.brep] s
10restore [locate_data_file bug27683_solidreverse.brep] b
11
12bop s b
13bopcut result
14
b7cd7c2b 15checkshape result
16checknbshapes result -wire 93 -face 93 -shell 2
17checkprops result -s 268.23
18
340054e1 19set bug_info [string trim [bopcheck result]]
20if {$bug_info != "This shape seems to be OK."} {
b7cd7c2b 21 puts "Error: the result is self-interfered."
340054e1 22}
23
b7cd7c2b 24checkview -display result -2d -path ${imagedir}/${test_image}.png