1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-30 13:05:50 +03:00
occt/tests/bugs/modalg_2/bug22717
ski fb60057d23 0026235: Command tolmax works wrong
Command tolmax was removed.
Tcl command checkmaxtol is used now in test cases to check maximum tolerance.
Reference values in test cases were updated.
2015-08-20 16:51:36 +03:00

28 lines
627 B
Plaintext
Executable File

puts "==========="
puts "OCC22717"
puts "==========="
puts ""
#######################################################################
# Exception during sewing
#######################################################################
set BugNumber OCC22717
catch { pload XDE }
igesread [locate_data_file OCC22717-8_hole.igs] shape_8h *
if [catch {sewing result 0.019 shape_8h} catch_result] {
puts "Faulty ${BugNumber} : function Sewing works wrongly"
} else {
checkshape result f
}
checkmaxtol result -ref 0.99057887669774025
checknbshapes result -shell 1
checkfreebounds result 13
set square 16490.5
set 3dviewer 0