Salome HOME
IPAL21442 Dump study with ExtrusionAlongPath does not correct
authordmv <dmv@opencascade.com>
Wed, 28 Oct 2009 09:23:25 +0000 (09:23 +0000)
committerdmv <dmv@opencascade.com>
Wed, 28 Oct 2009 09:23:25 +0000 (09:23 +0000)
src/SMESH_I/SMESH_MeshEditor_i.cxx
src/SMESH_SWIG/smeshDC.py

index f4e1d4420f4826a251f782476403eaa46240a8db..0b19c1bd15100f40aab59ad096acf265a0f4b14b 100644 (file)
@@ -2568,6 +2568,7 @@ ExtrusionAlongPathObjX(SMESH::SMESH_IDSource_ptr  Object,
                 << ( HasRefPoint ? RefPoint.x : 0 ) << ", "
                 << ( HasRefPoint ? RefPoint.y : 0 ) << ", "
                 << ( HasRefPoint ? RefPoint.z : 0 ) << " ), "
+               << MakeGroups << ", "
                 << ElemType << " )";
   }
   return aGroups;
index a8e445a8900ec101556de50d13403bb93e132f60..742ee90f0bfdedb215184769636d8bf6bce18c3b 100644 (file)
@@ -2865,7 +2865,7 @@ class Mesh:
                                                    HasRefPoint, RefPoint, MakeGroups, ElemType)
         else:
             if isinstance(Base,Mesh):
-                return self.editor.ExtrusionAlongPathObjX(Base.GetMesh(), Path, NodeStart,
+                return self.editor.ExtrusionAlongPathObjX(Base, Path, NodeStart,
                                                           HasAngles, Angles, LinearVariation,
                                                           HasRefPoint, RefPoint, MakeGroups, ElemType)
             else: