mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024400: Wrong result obtained by Section
Changes: class IntTools_FaceFace - static function: void CorrectSurfaceBoundaries(const TopoDS_Face& theFace, const Standard_Real theTolerance, Standard_Real& theumin, Standard_Real& theumax, Standard_Real& thevmin, Standard_Real& thevmax) Remove unnecessary broadening of UV-bounds for the faces based on the sperical surfaces. Test case for issue CR24400
This commit is contained in:
parent
c4edd925fd
commit
ebeff0a2bc
@ -2638,15 +2638,6 @@ Handle(Geom2d_BSplineCurve) MakeBSpline2d(const Handle(IntPatch_WLine)& theWLine
|
|||||||
enlarge=Standard_True;
|
enlarge=Standard_True;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
if (aType==GeomAbs_Sphere) {
|
|
||||||
Standard_Real dV;
|
|
||||||
//
|
|
||||||
dV=thevmax-thevmin;
|
|
||||||
if (dV+delta<M_PI) {
|
|
||||||
enlarge=Standard_True;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//
|
|
||||||
if(!isuperiodic && enlarge) {
|
if(!isuperiodic && enlarge) {
|
||||||
|
|
||||||
if((theumin - uinf) > delta )
|
if((theumin - uinf) > delta )
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
puts "TODO OCC23991 ALL: Error : Result shape is WRONG"
|
|
||||||
puts "============"
|
puts "============"
|
||||||
puts "OCC23991"
|
puts "OCC23991"
|
||||||
puts "============"
|
puts "============"
|
||||||
|
25
tests/bugs/modalg_5/bug24400
Normal file
25
tests/bugs/modalg_5/bug24400
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
puts "============"
|
||||||
|
puts "OCC24400"
|
||||||
|
puts "============"
|
||||||
|
puts ""
|
||||||
|
#######################################################################
|
||||||
|
# Wrong result obtained by Section
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
restore [locate_data_file bug24075_b1.brep] b1
|
||||||
|
restore [locate_data_file bug24075_b2.brep] b2
|
||||||
|
|
||||||
|
bop b1 b2
|
||||||
|
bopsection result
|
||||||
|
|
||||||
|
set nb_v_good 2
|
||||||
|
set nb_e_good 1
|
||||||
|
set nb_w_good 0
|
||||||
|
set nb_f_good 0
|
||||||
|
set nb_sh_good 0
|
||||||
|
set nb_sol_good 0
|
||||||
|
set nb_compsol_good 0
|
||||||
|
set nb_compound_good 1
|
||||||
|
set nb_shape_good 4
|
||||||
|
|
||||||
|
set 2dviewer 1
|
Loading…
x
Reference in New Issue
Block a user