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_1/bug10232
emv 25dfc507be 0028284: Avoid classification of sub-shapes of arguments of BOPs relatively solids during Intersection phase
1. The methods PerformVZ, PerformEZ, PerformFZ and PerformZZ have been transferred from BOPAlgo_PaveFiller to BOPAlgo_CheckerSI class
to perform intersection of sub-shapes with solids only in self-intersection mode.

2. The checks for solids built from the same (shared) faces have been added into methods building the result of Boolean operations -
BOPAlgo_BOP::BuildRC() and BOPAlgo_BOP::BuildSolid().

3. Since the NonDestructive mode is now natively supported by the BOPAlgo_PaveFiller the methods providing the support of this mode by CheckerSI
(BOPAlgo_CheckerSI::PrepareCopy() and BOPAlgo_CheckerSI::PostTreatCopy()) are not needed and have been removed.

4. The pairs of sub-shapes with interfering bounding boxes are now sorted before real intersection to guarantee the constant order of
intersection of sub-shapes and produce more stable result. The class BOPDS_PassKey has been replaced with simpler class BOPDS_Pair.

5. The class BOPDS_SubIterator has been refactored.

6. Test cases for the issue.

7. Adjustment of the test case boolean volumemaker D2.
2017-01-26 13:39:02 +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 3356.31
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