0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / trihedron / bug218
CommitLineData
a87752f3 1puts "================"
2puts "OCC218"
3puts "================"
4puts ""
5
0d828ac8 6pload MODELING VISUALIZATION QAcommands
7vinit View1
a87752f3 8box b 10 10 10
9explode b f
10vdisplay b_1
11vfit
12
13set scale 7674.87317785833
a87752f3 14set proj_X 0.966540098190308
15set proj_Y -0.24304473400116
16set proj_Z 0.0820330902934074
17set up_X -0.0460147373378277
18set up_Y 0.150333747267723
19set up_Z 0.987563848495483
197ac94e 20set at_X 0.0466426680664981
21set at_Y 0.147133996816294
22set at_Z 9.95295385008357
a87752f3 23
f1aa2b62 24set x_coord 388
25set y_coord 28
a87752f3 26
197ac94e 27vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
a87752f3 28
29OCC218 trihedron1 b_1 X Y
f1aa2b62 30
31checkcolor $x_coord $y_coord 0 0 0
a87752f3 32
33OCC218 trihedron1 b_1 my___axis___1 my___axis2
a87752f3 34
f1aa2b62 35checkcolor $x_coord $y_coord 0.85 0.85 0
0d828ac8 36if { $stat != 1 } { puts "There is no messages near axes" }
a87752f3 37
0d828ac8 38vdump $imagedir/${casename}.png