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

27 lines
625 B
Plaintext
Executable File

puts "============"
puts "OCC22790"
puts "============"
puts ""
#######################################################################
# Boolean opeation Fuse fails.
#######################################################################
set BugNumber OCC22790
puts "Load shape ..."
restore [locate_data_file OCC22790-cx.brep] b
explode b
copy b_1 b1
copy b_3 b2
bop b1 b2
bopfuse result
checkprops result -s 1.21408e+09
checkshape result
checknbshapes result -vertex 11 -edge 12 -wire 4 -face 2 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 30
checkview -display result -3d -path ${imagedir}/${test_image}.png