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