mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0028259: Method MakeBlocksCnx is duplicated in two different places in BOPAlgo
The methods BOPAlgo_Tools::MakeBlocksCnx(), BOPAlgo_Tools::MakeBlocks() and static method MakeBlocksCnx in BOPAlgo_Builder_2.cxx have been replaced with the new template method BOPAlgo_Tools::MakeBlocks(). The blocks of connected elements are now stored into the list of list instead of data map. All methods BOPAlgo_Tools::FillMap() have been replaced with the new template method BOPAlgo_Tools::FillMap(). Making the Pave Block with the smallest index of original edge to be the first in the Common Block (i.e. the representing Pave Block). The following improvements have been made in Boolean Operations algorithm to avoid regressions: - When updating the existing common block update its pave blocks in a way that the parameters of the paves should be valid for the original edge (bugs/modalg_5/bug24809); - When trying to reduce the tolerance of the section edge check the tolerance of all Face/Face interferences that created this edge (boolean/volumemaker/C4,D2); - Avoid producing the different Pave Blocks for the same section edge (boolean/volumemaker/D6); Adjustment of the test cases.
This commit is contained in:
@@ -21,5 +21,5 @@ bbop result 0
|
||||
|
||||
checkprops result -s 181.203
|
||||
checkshape result
|
||||
checknbshapes result -vertex 2 -edge 3 -wire 3 -face 1 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 10
|
||||
checknbshapes result -face 1
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -17,6 +17,6 @@ baddtools b2
|
||||
bfillds
|
||||
bbop result 0
|
||||
|
||||
checkprops result -s 42.1078
|
||||
checkprops result -s 40.7799
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
||||
|
@@ -13,10 +13,10 @@ box b2 5 5 0 10 10 10
|
||||
bfuse r b1 b2
|
||||
explode r f
|
||||
explode r_7 e
|
||||
getedgeregularity r_7_3 r_3 r_7 ;# returns C0: regularity is not set at all
|
||||
getedgeregularity r_7_4 r_3 r_7 ;# returns C0: regularity is not set at all
|
||||
encoderegularity r
|
||||
|
||||
if { ! [regexp "CN" [getedgeregularity r_7_3 r_3 r_7]] } {
|
||||
if { ! [regexp "CN" [getedgeregularity r_7_4 r_3 r_7]] } {
|
||||
puts "Error: Invalid regularity of the edge, expected CN"
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
puts "TODO OCC27414 ALL: Error : The volume of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error : The area of result shape is"
|
||||
puts "TODO OCC27414 ALL: Error: The command cannot be built"
|
||||
puts "TODO OCC27414 ALL: gives an empty result"
|
||||
puts "TODO OCC27414 ALL: TEST INCOMPLETE"
|
||||
|
||||
restore [locate_data_file bug26917_input.dom7742_trim1.brep] s
|
||||
|
||||
|
Reference in New Issue
Block a user