0031148: Modeling Algorithms - Offset adjacent co-planar faces with different offset...
[occt.git] / tests / offset / shape_type_i_c_multi / B8
CommitLineData
420b38fd 1puts "========"
2puts "0031148: Offset adjacent co-planar faces with different offset values"
3puts "========"
4puts ""
5
6pload MODELING
7
8# unset draw variables for all offset values
9foreach val {0} {
10 foreach x [directory r${val}*_unif] {
11 unset $x
12 }
13}
14
15restore [locate_data_file bug31148_U_shape_split1.brep] s
16
17perform_offset_multi_with_ref r0_01 s 0 {6} {3} {708 340 14 14} 1
18perform_offset_multi_with_ref r0_02 s 0 {6 10} {3 3} {798 418 16 16} 1
19perform_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
22foreach 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
30copy r0_01 result
31copy r0_01_unif result_unif