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

0032721: Modeling Algorithms - BOP wrong results on a cone and an extrusion

1. Modify method IntPatch_ALineToWLine::MakeWLine: add correction of end points of each line on 2 surfaces if an end point is a pole on a surface.
2. Modify method IntPatch_WLine::ComputeVertexParameters: adjust a point on curve to corresponding vertex the following way: set 3D point as the point of the vertex and 2D points as the points of the point on curve.
This commit is contained in:
jgv
2022-03-30 04:28:02 +03:00
committed by smoskvin
parent d7f5072158
commit 1f45f21358
15 changed files with 230 additions and 30 deletions

View File

@@ -17,7 +17,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 0.00039718358540697849 0.0 0.01
if { ${Toler} > 0.0004} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -17,7 +17,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 5.0314111870170835e-005 0.0 0.01
if { ${Toler} > 5.1e-5} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -18,7 +18,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 0.00011289757099748416 0.0 0.01
if { ${Toler} > 0.000113} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -18,7 +18,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 b2_2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 7.7125880147734232e-007 0.0 0.01
if { ${Toler} > 8e-7} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -16,7 +16,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 f2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 0.00039718358530349535 0.0 0.01
if { ${Toler} > 0.0004} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -17,7 +17,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 f2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 0.00011289757087827709 0.0 0.01
if { ${Toler} > 0.000113} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"

View File

@@ -17,7 +17,9 @@ fit
regexp {Tolerance Reached=+([-0-9.+eE]+)\n+([-0-9.+eE]+)} [bopcurves b1_5 f2 -2d] full Toler NbCurv
checkreal Tolerance $Toler 7.7124681583892622e-007 0.0 0.01
if { ${Toler} > 8e-7} {
puts "Error: bad tolerance of result"
}
if {$NbCurv != 2} {
puts "Error: Please check NbCurves for intersector"