0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug29073
CommitLineData
ad8b073e 1puts "======="
2puts "0029073"
3puts "======="
4puts ""
5##################################################
6# Regression: General Cut produces invalid shape
7##################################################
8
9brestore [locate_data_file bug29073_M6.brep] b1
10brestore [locate_data_file bug29073_Shell.brep] b2
11
12bclearobjects
13bcleartools
14baddobjects b1
15baddtools b2
16bfillds
17
18# check the result of SECTION
19bbop rsec 4
20checknbshapes rsec -edge 1 -vertex 2
21
22# check the result of GF
23bbuild rgf
24checkshape rgf
25checkprops rgf -s 163.708 -v 115.912
26checknbshapes rgf -wire 25 -face 24 -shell 3 -solid 1
27
28# check the CUT
29bbop result 3
30checkshape result
31checkprops result -s 0.000713987
32checknbshapes result -wire 1 -face 1
33
34checkview -display result -2d -path ${imagedir}/${test_image}.png