mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024738: BRepOffsetAPI_MakePipe algorithm fails on circular path and section (the case where result is part of sphere)
Test case for issue CR24738
This commit is contained in:
@@ -1435,13 +1435,17 @@ static TopoDS_Edge BuildEdge(const Handle(Geom_Surface)& S,
|
||||
// Associate 2d
|
||||
Handle(Geom2d_Line) L;
|
||||
TopLoc_Location Loc;
|
||||
Standard_Real Umin, Umax, Vmin, Vmax;
|
||||
S->Bounds(Umin, Umax, Vmin, Vmax);
|
||||
if (isUiso) {
|
||||
gp_Pnt2d P(ValIso, 0);
|
||||
//gp_Pnt2d P(ValIso, 0);
|
||||
gp_Pnt2d P( ValIso, Vmin - Iso->FirstParameter() );
|
||||
gp_Vec2d V(0., 1.);
|
||||
L = new (Geom2d_Line) (P, V);
|
||||
}
|
||||
else {
|
||||
gp_Pnt2d P(0., ValIso);
|
||||
//gp_Pnt2d P(0., ValIso);
|
||||
gp_Pnt2d P( Umin -Iso->FirstParameter() , ValIso );
|
||||
gp_Vec2d V(1., 0.);
|
||||
L = new (Geom2d_Line) (P, V);
|
||||
}
|
||||
|
Reference in New Issue
Block a user