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