0027481: [Regression to OCCT 6.6.0] Modeling Algorithms - incorrect CUT on two solids
[occt.git] / tests / bugs / modalg_2 / bug318
CommitLineData
0e94a94e 1
2puts "========================"
3puts " OCC318 "
4puts "========================"
5puts ""
6##################################################
7## Checkshape works wrong with Semi-Infinite Prism (s)
8##################################################
9
10box mb -0.5 -0.5 -0.5 1 1 1
11explode mb F
12prism result mb_1 1 0 0 SemiInf
13
14set che [checkshape result]
15if { [regexp {Faulty} $che] == 1} {
16 puts "Faulty OCC318: Result shape is invalid. It was detected by Checkshape command"
17} else {
18 puts "OCC318 OK: Result shape is valid"
19}
20
58cf74e0 21checkprops result -s 8e+100
5747059b 22checkview -display result -2d -path ${imagedir}/${test_image}.png