mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx Replaced QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto. Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests. QACommands in tests were replaced with ViewerTest commands. QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest. Help for ViewerTest commands was edited Small corrections. Added test cases for polygonal selection. Small correction of test cases
45 lines
892 B
Plaintext
Executable File
45 lines
892 B
Plaintext
Executable File
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
|
|
|
|
|