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

40 lines
831 B
Plaintext

puts "============"
puts "OCC26567"
puts "============"
puts ""
###############################
## Exception in Boolean intersection command
###############################
cpulimit 1000
restore [locate_data_file Bug26567_c0.brep] b1
restore [locate_data_file Bug26567_c1.brep] b2
restore [locate_data_file Bug26567_c2.brep] b3
restore [locate_data_file Bug26567_c3.brep] b4
bclearobjects
bcleartools
baddobjects b1 b2 b3 b4
#Exception in bfillds
bfillds
bbop result 4
set nbshapes_expected "
Number of shapes in shape
VERTEX : 19228
EDGE : 31600
WIRE : 0
FACE : 0
SHELL : 0
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 50829
"
checknbshapes result -ref ${nbshapes_expected} -t -m "result obtained by Common operator"
checkview -display result -3d -path ${imagedir}/${test_image}.png