Files
OCCT/tests/bugs/modalg_6/bug26938_3
T
nbv 6f1ea0f4b1 0029179: Result of Boolean common depends on an order of arguments
Usage of Bnd_Box-filtering is eliminated while putting a (definitely) common vertex between two faces on the intersection curve.

Algorithm of putting not-common (ON/IN) vertices has not been changed.
2017-12-14 17:44:27 +03:00

32 lines
979 B
Plaintext

puts "TODO OCC24694 All: Error : The result of cut operation is self-interfered shape"
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_1 a_2
# Check shape validity
checkshape result
# Check area
checkprops result -s 8.7408e+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