mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024532: BRepOffsetAPI_MakePipeShell raises an exception in a case with auxiliary guide
Test case for issue CR24532
This commit is contained in:
@@ -157,11 +157,7 @@ static Standard_Boolean PlaneOfWire (const TopoDS_Wire& W, gp_Pln& P)
|
||||
}
|
||||
TopoDS_Edge Edge = TopoDS::Edge(anExp.Current());
|
||||
Standard_Real first, last;
|
||||
TopLoc_Location loc;
|
||||
Handle(Geom_Curve) curv;
|
||||
curv = BRep_Tool::Curve(Edge, loc, first, last);
|
||||
curv =
|
||||
Handle(Geom_Curve)::DownCast(curv->Transformed(loc.Transformation()));
|
||||
Handle(Geom_Curve) curv = BRep_Tool::Curve(Edge, first, last);
|
||||
if (wClosed) {
|
||||
GeomAdaptor_Curve AdC;
|
||||
AdC.Load(curv);
|
||||
|
Reference in New Issue
Block a user