1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0024789: BOPAlgo_Builder produces invalid result on planar, conical and spherical surfaces

BOPAlgo_PaveFiller::MakeBlocks() - Improve Face/Face post treatment procedure by:
* Adding more existing edge for intersection with section edges to resolve all possible intersections.
* Using tree for edges selection.
* Avoiding intersection of the existing edges among themselves.

IntPatch_ImpImpIntersection::CyCyNoGeometric - add more points to wline to make it more smooth.
This commit is contained in:
emv
2020-09-03 14:37:29 +03:00
committed by bugmaster
parent 65da6e2e3e
commit cd0705f660
15 changed files with 427 additions and 198 deletions

View File

@@ -4,5 +4,6 @@ restore [locate_data_file b60] b
bop a b
bopfuse result
checkprops result -s 18750
checkprops result -s 18750 -v 156250
checknbshapes result -wire 36 -face 36 -shell 1 -solid 1
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,5 +4,12 @@ restore [locate_data_file b60] b
bop a b
boptuc result
checkprops result -s 15000
checkprops result -s 15000 -v 31250
checknbshapes result -wire 24 -face 24 -shell 6 -solid 6
foreach sol [explode result so] {
if {![regexp "This shape seems to be OK" [bopcheck $sol]]} {
puts "Error: the result solid $sol shape is self-interfered"
}
}
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png