0031148: Modeling Algorithms - Offset adjacent co-planar faces with different offset...
[occt.git] / tests / offset / shape_type_i_c_multi / XF1
1 puts "========"
2 puts "0031148: Offset adjacent co-planar faces with different offset values"
3 puts "========"
4 puts ""
5
6 pload MODELING
7
8 # unset draw variables for all offset values
9 foreach val {0 10} {
10   foreach x [directory r${val}*_unif] {
11     unset $x
12   }
13 }
14
15 restore [locate_data_file bug31148_case_05.brep] s
16
17 perform_offset_multi_with_ref r0_01 s 0 {22 28 34 37 31 25} {15 15 15 15 15 15} {1.32646e+06 2.29124e+07 58 58} 1
18 perform_offset_multi_with_ref r0_02 s 0 {22 28 34 37 31 25} {20 20 20 20 20 20} {1.33071e+06 2.33084e+07 64 58} 1
19
20 perform_offset_multi_with_ref r0_03 s 0 {1 4 18} {20 20 20} {1.27581e+06 2.21593e+07 49 49} 1
21 perform_offset_multi_with_ref r0_04 s 0 {1 4 19} {20 20 20} {1.30573e+06 2.23156e+07 52 51} 1
22
23 perform_offset_multi_with_ref r0_05 s 0 {14 16 18 19 21 30 39 50 34 23 43} {5 5 5 5 5 5 5 5 5 5 5} {1.30617e+06 2.23637e+07 58 58} 1
24
25 perform_offset_multi_with_ref r10_01 s 10 {22 28 34 37 31 25} {15 15 15 15 15 15} {1.53928e+06 3.62401e+07 58 58} 1
26 perform_offset_multi_with_ref r10_02 s 10 {22 28 34 37 31 25} {20 20 20 20 20 20} {1.54352e+06 3.66785e+07 64 58} 1
27
28 perform_offset_multi_with_ref r10_03 s 10 {1 4 18} {20 20 20} {1.51232e+06 3.59638e+07 49 49} 1
29 perform_offset_multi_with_ref r10_04 s 10 {1 4 19} {20 20 20} {1.53304e+06 3.61209e+07 52 51} 1
30
31 # display all created shapes
32 foreach val {0 10} {
33   foreach x [directory r${val}*_unif] {
34     if {[isdraw $x]} {
35       checkview -display $x -2d -path ${imagedir}/${test_image}_$x.png
36     }
37   }
38 }
39
40 copy r0_01 result
41 copy r0_01_unif result_unif