mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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
33 lines
712 B
Plaintext
Executable File
33 lines
712 B
Plaintext
Executable File
puts "========================"
|
|
puts "OCC625"
|
|
puts "========================"
|
|
puts ""
|
|
###############################################################################
|
|
## Created filler looks strange (see attached picture) inspite of checkshapes told about correct source and result shapes.
|
|
###############################################################################
|
|
|
|
pload QAcommands
|
|
|
|
restore [locate_data_file OCC625.brep] a
|
|
checkshape a
|
|
|
|
vinit
|
|
tclean a
|
|
explode a e
|
|
|
|
blend res1 a 10 a_22 10 a_14
|
|
blend result res1 10 a_17 10 a_4
|
|
checkshape result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
vsetdispmode result 1
|
|
|
|
set x_coord 116
|
|
set y_coord 252
|
|
|
|
checkcolor $x_coord $y_coord 0.82 0.58 0.09
|
|
|
|
set square 19977
|
|
set 3dviewer 1 |