mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024204: The algorithm BRepOffsetAPI_MakePipeShell produces resulting shape with unwarrantably big tolerance
Added test case bugs/modalg_5/bug24204 Modified following test cases: bugs modalg_3 bug605 - case with bad input data, command "settolerance w1 1.e-7" was added; bugs modalg_4 bug629 - wrong case, now the algorithm can not build pipes on such profiles, test case was removed; bugs modalg_4 bug13595_1, bug13595_1 - number of subshapes was has changed; bugs modalg_5 bug23706_2 - square of resulting face was changed; bugs modalg_5 bug23870_1, bug23870_2, bug23870_3, bug23870_4, bug23870_5 - the number of subshapes was changed.
This commit is contained in:
@@ -317,8 +317,8 @@ GeomFill_SectionPlacement(const Handle(GeomFill_LocationLaw)& L,
|
||||
delta = (BC->Knot(i+1) - t) / NbLocalPnts;
|
||||
for (j = 0; j < NbLocalPnts; j++)
|
||||
{
|
||||
t += delta;
|
||||
Pnts->SetValue( nb++, myAdpSection.Value(t) );
|
||||
t += delta;
|
||||
}
|
||||
}
|
||||
if (I3 != I4 && first < BC->Knot(I3))
|
||||
@@ -327,8 +327,8 @@ GeomFill_SectionPlacement(const Handle(GeomFill_LocationLaw)& L,
|
||||
delta = (last - t) / NbLocalPnts;
|
||||
for (j = 0; j < NbLocalPnts; j++)
|
||||
{
|
||||
t += delta;
|
||||
Pnts->SetValue( nb++, myAdpSection.Value(t) );
|
||||
t += delta;
|
||||
}
|
||||
}
|
||||
if (!myAdpSection.IsClosed())
|
||||
|
Reference in New Issue
Block a user