mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
35 lines
487 B
Plaintext
Executable File
35 lines
487 B
Plaintext
Executable File
puts "========================"
|
|
puts " OCC397 "
|
|
puts "========================"
|
|
|
|
pload QAcommands
|
|
|
|
restore [locate_data_file OCC397.brep] a
|
|
checkshape a
|
|
|
|
tclean a
|
|
explode a f
|
|
renamevar a_55 result
|
|
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
vsetdispmode result 1
|
|
|
|
set x_coord 235
|
|
set y_coord 180
|
|
|
|
checkcolor $x_coord $y_coord 0.5 0.35 0.05
|
|
|
|
if { ${stat} != 1 } {
|
|
puts "Error : Shading is missing in 3D Viewer"
|
|
}
|
|
|
|
vselect 220 170
|
|
|
|
checkprops result -s 92.9029
|
|
checkshape result
|
|
set only_screen 1
|
|
|
|
|