mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
0025657: Bad result of Fillet operation
This commit is contained in:
parent
971feb7608
commit
35f8794fb2
@ -371,8 +371,7 @@ static Standard_Boolean Update(Handle(Adaptor3d_HSurface)& face,
|
||||
pared = ponc1.Parameter();
|
||||
parltg = ponc2.Parameter();
|
||||
if ((parltg > f) && (parltg < l)) {
|
||||
#ifdef OCC23139
|
||||
////modified by jgv, 10.05.2012 for the bug 23139////
|
||||
////modified by jgv, 10.05.2012 for the bug 23139, 25657////
|
||||
Handle(Geom2d_Curve) PConF = fi.PCurveOnFace();
|
||||
if (!PConF.IsNull())
|
||||
{
|
||||
@ -393,7 +392,6 @@ static Standard_Boolean Update(Handle(Adaptor3d_HSurface)& face,
|
||||
}
|
||||
}
|
||||
/////////////////////////////////////////////////////
|
||||
#endif
|
||||
fi.SetParameter(parltg,isfirst);
|
||||
cp.SetArc(cp.Tolerance(),cp.Arc(),pared,cp.TransitionOnArc());
|
||||
return Standard_True;
|
||||
|
25
tests/bugs/modalg_5/bug25657
Normal file
25
tests/bugs/modalg_5/bug25657
Normal file
@ -0,0 +1,25 @@
|
||||
puts "========"
|
||||
puts "OCC25657"
|
||||
puts "========"
|
||||
puts ""
|
||||
###########################################################################################
|
||||
# Bad result of Fillet operation
|
||||
###########################################################################################
|
||||
|
||||
restore [locate_data_file bug25657_r4.brep] r4
|
||||
explode r4 e
|
||||
shape c c
|
||||
add r4_15 c
|
||||
fillet res r4 20 c
|
||||
|
||||
explode res f
|
||||
|
||||
pcurve res_2
|
||||
# exception
|
||||
|
||||
pcurve res_5
|
||||
# exception
|
||||
|
||||
smallview
|
||||
fit
|
||||
set only_screen_axo 1
|
Loading…
x
Reference in New Issue
Block a user