Adding new testing cases for chl grid
[occt.git] / tests / bugs / vis / bug218
1 puts "================"
2 puts "OCC218"
3 puts "================"
4 puts ""
5
6 vinit
7 box b 10 10 10
8 explode b f
9 vdisplay b_1
10 vfit
11
12 set scale    7674.87317785833
13 set center_X -2.16918246707847
14 set center_Y 9.87290703657064
15 set proj_X   0.966540098190308
16 set proj_Y   -0.24304473400116
17 set proj_Z   0.0820330902934074
18 set up_X     -0.0460147373378277
19 set up_Y     0.150333747267723
20 set up_Z     0.987563848495483
21 set at_X     1.04834496974945
22 set at_Y     0.741619229316711
23 set at_Z     -0.0881031528115273
24
25 set x_coord 388
26 set y_coord 28
27
28 QASetViewCharac ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
29
30 OCC218 trihedron1 b_1 X Y
31 QAUpdateLights
32
33 checkcolor $x_coord $y_coord 0 0 0
34
35 OCC218 trihedron1 b_1 my___axis___1 my___axis2
36 QAUpdateLights
37
38 checkcolor $x_coord $y_coord 0.85 0.85 0
39
40 if { $stat != 1 } {
41     puts "There is no messages near axes"
42 }
43
44 set only_screen 1
45
46