1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
nbv 93e38faa3b 0027179: The algorithm of sharing edges in Boolean operation should be improved
1. New sharing algorithm has been implemented. If intermediate point of some edge is included in the tube with center taken in another edge and radius equaled to maximal vertex-tolerance of both edges then these two edges are considered to be shared. This know-how touches edges only, which have common blocks with interfered faces. If they do not have any common-blocks the algorithm will work as before.

2. Interface of BOPAlgo_PaveFiller::IsExistingPaveBlock(...) method has been changed.

Creation of test case for issues #27128 and #27179

Adjusting some test cases according to their new behavior, because they are IMPROVEMENTS really (TODOs have been deleted).
2016-03-29 15:52:13 +03:00

20 lines
428 B
Plaintext
Executable File

puts "========"
puts "OCC772"
puts "SAM1643"
puts "========"
puts ""
######################################
## Impossible to make a common of the shapes attached.
######################################
restore [locate_data_file OCC772_fix.brep] a
explode a
checkshape a_1
checkshape a_2
bcommon result a_1 a_2
checkprops result -s 10190.7
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png