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

21 lines
614 B
Plaintext

puts "============"
puts "OCC24798"
puts "============"
puts ""
######################################################
# Boolean operation CUT produces incorrect result
######################################################
restore [locate_data_file bug24798_r1_cut.brep] b1
restore [locate_data_file bug24798_rectBranch.brep] b2
bop b1 b2
bopcut result
checkprops result -s 1826.16
checkshape result
# Analysis of "nbshapes res"
checknbshapes result -vertex 44 -edge 67 -wire 29 -face 22 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 165
checkview -display result -2d -path ${imagedir}/${test_image}.png