1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

35 lines
819 B
Plaintext
Executable File

puts "TODO OCC24156 MacOS: Tcl Exception: tolerance ang"
puts "TODO OCC24156 MacOS: TEST INCOMPLETE"
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
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
checkprops result -s 19977
set 3dviewer 1