1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-31 11:15:31 +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

31 lines
805 B
Plaintext
Executable File

pload QAcommands
#INTERFACE IGES
puts "========================"
puts " OCC435 "
puts " OCC405 "
puts "========================"
puts ""
###############################################################
## Exception Standard_ConstructuionError is rased in DRAW in the
## GeomConvert_CompCurveToBSplineCurve on the attached shapes during command merge
###############################################################
restore [locate_data_file OCC435a.brep] a
explode a
set j 1
repeat 8 {
explode a_$j
if { [catch {OCC405 result a_${j}_1 a_${j}_2} catch_result] } {
puts "Faulty OCC435 : merge operation was made incorrect"
} else {
puts " OCC435 OK: merge operation was made properly"
}
incr j
}
checkprops result -l 17.2848
checkshape result
checksection result
set 3dviewer 1