mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +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
990 B
Plaintext
Executable File
45 lines
990 B
Plaintext
Executable File
puts "TODO OCC12345 ALL: An exception was caught"
|
|
puts "TODO OCC12345 ALL: \\*\\* Exception \\*\\*.*"
|
|
puts "TODO OCC12345 ALL: TEST INCOMPLETE"
|
|
|
|
puts "============"
|
|
puts "OCC10702"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# MeshVS_NodalColorPrsBuilder does not take into account visibility of mesh elements
|
|
#######################################################################
|
|
|
|
set BugNumber OCC10702
|
|
|
|
pload XDE
|
|
|
|
meshfromstl m [locate_data_file OMF6391_box.stl]
|
|
|
|
set x_coord 180
|
|
set y_coord 260
|
|
|
|
meshdispmode m 2
|
|
puts "\nMesh displayed in shading mode"
|
|
|
|
checkcolor $x_coord $y_coord 0 0 0.36
|
|
|
|
meshselmode m 8
|
|
puts "\nSelection of elements is activated"
|
|
|
|
vselect $x_coord $y_coord 1
|
|
###vselect $x_coord $y_coord 1
|
|
|
|
meshhidesel m
|
|
puts "\nSelected elemement is hidden"
|
|
|
|
checkcolor $x_coord $y_coord 0 0 0.36
|
|
|
|
nodalcolor_id m
|
|
puts "\nDisplay nodal color presentation"
|
|
|
|
checkcolor $x_coord $y_coord 0.46 0.12 0.37
|
|
|
|
set only_screen 1
|
|
|