1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/tests/bugs/vis/bug451
apn 352ffd7358 Adding test cases for chl grid
Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal
2012-12-21 16:39:38 +04:00

35 lines
834 B
Plaintext
Executable File

puts "========================"
puts " OCC451 "
puts "========================"
puts ""
#############################################################
## puts "Choosing of viewer MODA for selection of VERTEX"
## puts "(visual checking for this case is desirable)"
##
# Selection Modes Activation:
# 0 - OBJECT, 1 - VERTEX, 2 - ELEMENT, 3 - VERTEX, 4 - NONE
#############################################################
vertex v1 0 0 0
vertex v2 10 10 10
v2dinit
v2ddisplay v1
v2ddisplay v2
v2dfit
set x_coord 49
set y_coord 361
set color2d 1
QAv2dSetHighlightMode 3
QAMoveTo2d 0 0
QASelect2d $x_coord $y_coord
checkcolor $x_coord $y_coord 0.8 0.8 0.8
if {$stat != 1} {
puts "Error : Choosing of viewer MOD for selection of VERTEX was NOT MADE properly"
}
set only_screen2d 1