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

31 lines
900 B
Plaintext
Executable File

puts "TODO OCC11111 ALL: Error : is WRONG because number of "
puts "============"
puts "OCC10232"
puts "============"
puts ""
#######################################################################
# Exception "Segmentation violation" in Boolean Operations
#######################################################################
set BugNumber OCC10232
puts "Load first shape ..."
restore [locate_data_file OCC10232_ms1.brep] b1
puts "Load second shape ..."
restore [locate_data_file OCC10232_ms2.brep] b2
puts "Prepare boolean operation ..."
bop b1 b2
puts "Start boolean operation ..."
bopsection result
puts "Finish boolean operation ..."
checkprops result -l 3384.97
checkshape result
checksection result
checknbshapes result -vertex 1197 -edge 1182 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 2380
checkview -display result -2d -path ${imagedir}/${test_image}.png