From: nds Date: Thu, 26 Feb 2015 07:10:12 +0000 (+0300) Subject: Filter for the cylindrical face. X-Git-Tag: V_1.1.0~169 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f35d369f6d1f94ee53fb758aea8b9cf04d6337a;p=modules%2Fshaper.git Filter for the cylindrical face. To use it, xml should contain: --- diff --git a/src/ModuleBase/ModuleBase_FilterFace.cpp b/src/ModuleBase/ModuleBase_FilterFace.cpp index 8391e17be..3e6544557 100644 --- a/src/ModuleBase/ModuleBase_FilterFace.cpp +++ b/src/ModuleBase/ModuleBase_FilterFace.cpp @@ -22,6 +22,7 @@ StdSelect_TypeOfFace ModuleBase_FilterFace::faceType(const std::string& theType) { if (MyFaceTypes.count() == 0) { MyFaceTypes["plane"] = StdSelect_Plane; + MyFaceTypes["cylinder"] = StdSelect_Cylinder; } QString aType = QString(theType.c_str()).toLower(); if (MyFaceTypes.contains(aType))