550f3b8b |
1 | puts "============" |
2 | puts "OCC24867" |
3 | puts "============" |
4 | puts "" |
5 | ############################################################# |
6 | # [Regression] Visualization - polygon offsets look broken |
7 | ############################################################# |
8 | |
9 | restore [locate_data_file Top.brep] b |
10 | vinit View1 |
11 | vdisplay b |
12 | vfit |
13 | vsetdispmode 1 |
14 | vmoveto 200 200 |
15 | |
16 | set x1_coord 264 |
17 | set y1_coord 288 |
18 | set x2_coord 251 |
19 | set y2_coord 271 |
20 | |
21 | checkcolor $x1_coord $y1_coord 0 1 1 |
22 | if { $stat != 1 } { |
23 | puts "Error : Highlighting of dimension with flipping in local context failed." |
24 | } |
25 | |
26 | checkcolor $x2_coord $y2_coord 0 1 1 |
27 | if { $stat != 1 } { |
28 | puts "Error : Highlighting of dimension with flipping in local context failed." |
29 | } |
30 | |
31 | vdump $::imagedir/${::casename}_highlighted.png |
32 | |
33 | vselect 200 200 |
34 | vdump $::imagedir/${::casename}_selected.png |
35 | |