mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0033615: Modeling Algorithms - Partition algorithm creates unexpected vertices
This problem occurs because of obtaining 2 ALines which share same vertex on the seam edge. There should be 2 different vertices with same(or almost the same) 3d parameters, but with different UV parameters because of periodic surface. Current fix allows to avoid the same vertices on seam edge and also checks the next vertex. Added consideration of predicted next point to avoid skipping tha point which is not on seam edge. Added test case for #33702
This commit is contained in:
committed by
Pasukhin Dmitry
parent
818c68f22e
commit
5811a330c7
@@ -17,7 +17,7 @@ fit
|
||||
|
||||
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
|
||||
|
||||
if { ${Toler} > 0.0004} {
|
||||
if { ${Toler} > 0.002} {
|
||||
puts "Error: bad tolerance of result"
|
||||
}
|
||||
|
||||
|
@@ -55,6 +55,6 @@ fit
|
||||
checksection result -r 0
|
||||
checkmaxtol result -min_tol 2.0e-7
|
||||
|
||||
checknbshapes result -edge 3 -vertex 3
|
||||
checknbshapes result -edge 2 -vertex 2
|
||||
|
||||
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|
||||
|
Reference in New Issue
Block a user