1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_5/bug22747
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

38 lines
941 B
Plaintext

puts "============"
puts "OCC22747"
puts "============"
puts ""
###########################################################################
# Progress indicator in sewing algorithm
###########################################################################
set BugNumber OCC22747
pload XSDRAW
restore [locate_data_file OCC22765.brep] a
vinit
XProgress -t
set List1 [sewing result 0.1 a]
if { [string compare $List1 ""] != 0 } {
puts "Error: XProgress should not have any output in this mode"
} else {
puts "Mode -t works properly"
}
puts "----------------------"
XProgress +t
set List2 [sewing result 0.1 a]
if { [regexp "Progress:" $List2] != 1 } {
puts "Error: XProgress should have output in this mode"
} else {
puts "Mode +t works properly"
}
checkmaxtol result -ref 1.0000280013370991e-005
checknbshapes result -shell 1
checkfreebounds result 456
checkview -display result -2d -path ${imagedir}/${test_image}.png