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