0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / vis / bug24374
1 puts "============"
2 puts "CR24374"
3 puts "============"
4 puts ""
5 #######################################################################
6 #  Flipping affects highlight presentation of dimension
7 #######################################################################
8 vfont add [locate_data_file DejaVuSans.ttf] SansFont
9
10 box b 100 100 100
11 explode b e
12 vdisplay b
13 vdisplay b_9
14 vdimension dim1 -length -shapes b_9 -text 3d -plane zox -font SansFont
15 vselmode b 2 1
16 vselmode dim1 2 1
17 vfit
18 vmoveto 130 352
19
20 set x_coord 130
21 set y_coord 352
22 checkcolor $x_coord $y_coord 0 1 1
23
24 if { $stat != 1 } {
25   puts "Error : Highlighting of dimension with flipping in local context failed."
26 }
27
28 checkview -screenshot -3d -path ${imagedir}/${test_image}.png