1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_2/bug22717
ski 5ae01c8551 0023150: Command sewing produce incorrect results on test grid csw.
Test for sewing command were updated to check reference information.

Commands for testing were moved to the file src/DrawResources/CheckCommands.tcl

Documentation overview was updated.
2015-04-16 14:14:28 +03:00

28 lines
622 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 0.99457631799307555
checknbshapes result -shell 1
checkfreebounds result 13
set square 16490.5
set 3dviewer 0