1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0032607: Modeling Algorithms - BOPAlgo_BOP returns incomplete result

IntPatch/IntPatch_ImpPrmIntersection.cxx - decreasing step for some conditions
tests/lowalgos/intss/bug32607 - test case added
This commit is contained in:
ifv
2021-10-04 17:25:56 +03:00
committed by smoskvin
parent 96b92906de
commit 56b495d93b
2 changed files with 108 additions and 29 deletions

View File

@@ -0,0 +1,24 @@
puts "========"
puts "0032607: Modeling Algorithms - BOPAlgo_BOP returns incomplete result"
puts "========"
puts ""
restore [locate_data_file bug32607.brep] s
explode s
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves s_1 s_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 0.0011727990276470168 1.0e-7 0.0
if {$NbCurv != 1} {
puts "Error: Please check NbCurves for intersector"
} else {
checklength c_1 -l 14.469397997508448
CheckLoops c_1
}
smallview
don c_*
fit
disp s_1 s_2
checkview -screenshot -2d -path ${imagedir}/${test_image}.png