blob: 44c0575fdd64ccc22c1349914ad411afeebde12b [file] [edit]
puts "TODO OCC24694 ALL: Result is WRONG because number of SHELL entities in shape \"result\" is 2"
puts "TODO OCC24694 ALL: Result is WRONG because number of SOLID entities in shape \"result\" is 2"
puts "=========="
puts "OCC26938 "
puts "=========="
puts ""
#####################################################
# Boolean operations fail between two ellipsoids
#####################################################
restore [locate_data_file bug26938.brep] a
explode a
bcut result a_2 a_1
# Check shape validity
checkshape result
# Check area
checkprops result -s 4.86143e+006
# Check self-intersection
set info [bopcheck result]
if { [regexp "This shape seems to be OK" ${info}] != 1 } {
puts "Error : The result of cut operation is self-interfered shape"
}
checknbshapes result -solid 3 -shell 3 -t -m "Result"
checkview -display result -2d -path ${imagedir}/${test_image}.png