From 54c728a68c687286d5e16f9a92be7f99c2d8de09 Mon Sep 17 00:00:00 2001 From: skl Date: Fri, 21 Sep 2007 07:01:54 +0000 Subject: [PATCH] Next version for MakePipeWithoutPath. --- src/GEOMImpl/GEOMImpl_PipeDriver.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx index eedc298ba..17b0577c4 100644 --- a/src/GEOMImpl/GEOMImpl_PipeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PipeDriver.cxx @@ -89,6 +89,7 @@ //#include "BRepTools.hxx" //#include "GeomTools.hxx" +#include //======================================================================= @@ -1545,15 +1546,18 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI) TopExp_Explorer anExpE(F1,TopAbs_EDGE); TopTools_SequenceOfShape aNewFs; - int nbee=0; + //int nbee=0; for(; anExpE.More(); anExpE.Next()) { TopoDS_Edge E1 = TopoDS::Edge(anExpE.Current()); - nbee++; + //nbee++; if(!FF.Contains(E1)) cout<<"map FF not contains key E1"<FixOrientation(); TopoDS_Face FixedFace = sff->Face(); aNewFs.Append(FixedFace); + VPE.Add(E1,FixedFace); //cout<<" face for edge "<