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

24 lines
593 B
Plaintext
Executable File

puts "============"
puts "OCC951"
puts "============"
puts ""
######################################################
##BRepAlgoAPI_Section and BRepAlgoAPI_Common fail on given shapes
######################################################
## (old topology)
## (common)
## (section)
######################################################
restore [locate_data_file OCC951_1.brep] s1
restore [locate_data_file OCC951_2.brep] s2
checkshape s1
checkshape s2
bcommon result s1 s2
checkprops result -s 560.908
checkshape result
checkview -display result -3d -path ${imagedir}/${test_image}.png