a2d5ab2e |
1 | puts "============" |
2 | puts "CR23407" |
3 | puts "============" |
4 | puts "" |
5 | ####################################################################### |
6 | # Draw face outlines for XDE objects |
7 | ####################################################################### |
a2d5ab2e |
8 | pload XDEDRAW |
9 | |
a2d5ab2e |
10 | XNewDoc Doc1 |
351bbcba |
11 | ReadStep Doc1 [locate_data_file screw.step] |
a2d5ab2e |
12 | XShow Doc1 0:1:1:1 |
dfa3d64f |
13 | XShowFaceBoundary Doc1 0:1:1:1 1 255 0 0 10 1 |
a2d5ab2e |
14 | vfit |
15 | vsetdispmode 1 |
16 | |
f1aa2b62 |
17 | set x_coord 178 |
18 | set y_coord 36 |
dfa3d64f |
19 | |
f1aa2b62 |
20 | checkcolor $x_coord $y_coord 1 0 0 |
dfa3d64f |
21 | |
f1aa2b62 |
22 | if { $stat != 1 } { |
23 | puts "Error : Boundary of face is not changed" |
dfa3d64f |
24 | } |
a2d5ab2e |
25 | |
f1aa2b62 |
26 | set x_coord 244 |
27 | set y_coord 89 |
28 | |
29 | checkcolor $x_coord $y_coord 1 0 0 |
30 | |
31 | if { $stat != 01} { |
32 | puts "Error : Boundary of face is not changed" |
a2d5ab2e |
33 | } |
34 | |
82cbc512 |
35 | set only_screen 1 |
36 | |
f1aa2b62 |
37 | |