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_1/bug15968_2
ski 5747059b21 0026833: Create command checkview containing all viewer types
Created command checkview for displaying shapes.
2016-02-05 11:14:37 +03:00

23 lines
624 B
Plaintext
Executable File

puts "============"
puts "OCC15968"
puts "============"
puts ""
#######################################################################
# Result of checkshape command depends on order of subshapes in a shape
#######################################################################
restore [locate_data_file OCC15968.brep] s
explode s f
# shell 2
shape s2 sh
add s_1 s2
add s_2 s2
renamevar s2 result
checkprops result -s 164
checkshape result
checknbshapes result -vertex 10 -edge 11 -wire 3 -face 2 -shell 1 -solid 0 -compsolid 0 -compound 0 -shape 27
checkview -display result -2d -path ${imagedir}/${test_image}.png