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_split1.brep] s |
16 | |
17 | perform_offset_multi_with_ref r0_01 s 0 {6} {3} {708 340 14 14} 1 |
18 | perform_offset_multi_with_ref r0_02 s 0 {6 10} {3 3} {798 418 16 16} 1 |
19 | perform_offset_multi_with_ref r0_03 s 0 {9 6 11 8 1 3 30 32 27 25 22 24 19 17 14 16} {2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2} {1132 860 58 58} 1 |
20 | |
21 | # display all created shapes |
22 | foreach val {0} { |
23 | foreach x [directory r${val}*_unif] { |
24 | if {[isdraw $x]} { |
25 | checkview -display $x -2d -path ${imagedir}/${test_image}_$x.png |
26 | } |
27 | } |
28 | } |
29 | |
30 | copy r0_01 result |
31 | copy r0_01_unif result_unif |