0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_7 / bug30354
CommitLineData
5fe14d0f 1puts "========"
2puts "0030354: BOP Cut doesn't modify the attached face"
3puts "========"
4puts ""
5
6restore [locate_data_file bug30354_Face_14.brep] b1
7restore [locate_data_file bug30354_vol_neg.brep] b2
8
9explode b2 f
10
11bclearobjects
12bcleartools
13baddobjects b1
14baddtools b2
15bfillds
16
17bbop r_0 0
18bbop r_1 2
19bbop r_2 4
20
21for {set i 0} {$i <= 2} {incr i} {
22 checkshape r_$i
23 if {[regexp "Faulties" [ bopargcheck r_$i ]]} {
24 puts "Error: bopargcheck has found some faulties in r_$i"
25 }
26}
27
28checknbshapes r_0 -face 1 -wire 1
29checkprops r_0 -s 0.000284873
30
31checknbshapes r_1 -face 1 -wire 1
32checkprops r_1 -s 0.000284873
33
34checknbshapes r_2 -vertex 2 -edge 1
35checkprops r_2 -l 0.00670288
36
37checksection r_2 -r 2
38
39# CUT
40copy r_1 result
41checkmaxtol result -min_tol 1.0e-4
42checkview -display result -2d -path ${imagedir}/${test_image}.png
43