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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user