0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_4 / bug919
CommitLineData
f1aa2b62 1
2puts "======="
3puts "OCC919"
4puts "SAM1623"
5puts "======="
6puts ""
7#############################
8## Impossible to fuse the shapes.
9##############################
10
11restore [locate_data_file OCC919.brep] a
12
13explode a
14
15# See comment in CR23244:
16restore [locate_data_file OCC919-PROC.brep] a_1
17#
4e882c71 18fixshape a_1 a_1
352ffd73 19checkshape a_1
20checkshape a_2
f1aa2b62 21
22if { [ catch { bfuse result a_1 a_2} catch_result ] } {
23 puts "Faulty OCC919 (case 1)"
24} else {
25 if { [ catch { checkshape result } catch_result ] } {
26 puts "Faulty OCC919 (case 2)"
27 } else {
28 puts "OCC919 OK"
29 }
30}
31
58cf74e0 32checkprops result -s 272591.
5747059b 33checkview -display result -2d -path ${imagedir}/${test_image}.png