420b38fd |
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 | foreach x [directory r${val}*_unif] { |
11 | unset $x |
12 | } |
13 | } |
14 | |
15 | restore [locate_data_file bug31148_U_shape_split2.brep] s |
16 | |
17 | perform_offset_multi_with_ref r0_01 s 0 {8 11} {3 3} {816 499 16 16} 1 |
18 | perform_offset_multi_with_ref r0_02 s 0 {7 11} {3 3} {804 448 17 17} 1 |
19 | perform_offset_multi_with_ref r0_03 s 0 {2 6 10 14 18 22 26 30} {2 2 2 2 2 2 2 2} {932 544 30 28} 1 |
20 | perform_offset_multi_with_ref r0_04 s 0 {2 6 10 18 22 26} {3 3 3 2 2 2} {968 584 26 26} 1 |
21 | |
22 | # display all created shapes |
23 | foreach val {0} { |
24 | foreach x [directory r${val}*_unif] { |
25 | if {[isdraw $x]} { |
26 | checkview -display $x -2d -path ${imagedir}/${test_image}_$x.png |
27 | } |
28 | } |
29 | } |
30 | |
31 | copy r0_01 result |
32 | copy r0_01_unif result_unif |