0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug30202_1
CommitLineData
dcd768a4 1puts "========"
2puts "0030202: IntPatch_WLineTool::JoinWLines array out of bounds"
3puts "========"
4puts ""
5
6restore [locate_data_file bug30202_src.brep] b1
7restore [locate_data_file bug30202_tool.brep] b2
8
9bclearobjects
10bcleartools
11baddobjects b1
12baddtools b2
13
14bfillds
15
16bbop r_0 0
17bbop r_1 1
18bbop r_2 2
19bbop r_3 3
20bbop r_4 4
21
22
23checkshape r_0
24checknbshapes r_0 -solid 1 -shell 1 -face 10 -wire 10
25checkprops r_0 -s 3.07923 -v 0.15225
26if {[regexp "Faulties" [bopargcheck r_0]]} {
27 puts "Error: bopargcheck has found some faulties in r_0"
28}
29
30checkshape r_1
31checknbshapes r_1 -solid 1 -shell 1 -face 31 -wire 33
32checkprops r_1 -s 128.978 -v 46.7138
33if {[regexp "Faulties" [bopargcheck r_1]]} {
34 puts "Error: bopargcheck has found some faulties in r_1"
35}
36
37checkshape r_2
38checknbshapes r_2 -solid 1 -shell 1 -face 29 -wire 31
39checkprops r_2 -s 117.75 -v 45.3505
40if {[regexp "Faulties" [bopargcheck r_2]]} {
41 puts "Error: bopargcheck has found some faulties in r_2"
42}
43
44checkshape r_3
45checknbshapes r_3 -solid 1 -shell 1 -face 12 -wire 12
46checkprops r_3 -s 14.3071 -v 1.2111
47if {[regexp "Faulties" [bopargcheck r_3]]} {
48 puts "Error: bopargcheck has found some faulties in r_3"
49}
50
51checkshape r_4
52checknbshapes r_4 -vertex 8 -edge 8
53checkprops r_4 -l 8.28981
54if {[regexp "Faulties" [bopargcheck r_4]]} {
55 puts "Error: bopargcheck has found some faulties in r_4"
56}
57
58checksection r_4 -r 0
59
60# FUSE
61copy r_1 result
62checkmaxtol result -min_tol 1.0e-4
63checkview -display result -2d -path ${imagedir}/${test_image}.png
64