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

26 lines
717 B
Plaintext
Executable File

puts "================"
puts "OCC22805"
puts "================"
puts ""
######################################################################################
# Bug of STEP read/write
######################################################################################
set BugNumber OCC22805
restore [locate_data_file OCC22805-spiral_solid.brep] s
stepwrite 0 s $imagedir/${test_image}.stp
stepread $imagedir/${test_image}.stp result *
set info [checkshape result_1]
if { [regexp {This shape seems to be valid} $info]} {
puts "OK ${BugNumber}"
} else {
puts "Faulty ${BugNumber}"
}
renamevar result_1 result
checkprops result -s 14447.5
checkview -display result -3d -path ${imagedir}/${test_image}.png