Salome HOME
Implemented extrusion for sketch
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Extrusion.h
index 6d557a3abfb27a8aa8b5e9fb5df0c1dc27c3f436..5933929b83d27808c2c1ad42c6d80e06eecabd1e 100644 (file)
@@ -8,14 +8,17 @@
 #include "ConstructionPlugin.h"
 #include <ModelAPI_Feature.h>
 
+/// Extrusion kind
+const std::string CONSTRUCTION_EXTRUSION_KIND("Extrusion");
+
 /// attribute name of referenced face
-const std::string EXTRUSION_FACE = "extrusion_select_face";
+const std::string EXTRUSION_FACE = "extrusion_face";
 
 /// attribute name of extrusion size
 const std::string EXTRUSION_SIZE = "extrusion_size";
 
 /// attribute name of reverce direction
-const std::string EXTRUSION_REVERCE = "extrusion_reverse";
+const std::string EXTRUSION_REVERSE = "extrusion_reverse";
 
 
 class ConstructionPlugin_Extrusion: public ModelAPI_Feature
@@ -23,7 +26,7 @@ class ConstructionPlugin_Extrusion: public ModelAPI_Feature
 public:
   /// Returns the kind of a feature
   CONSTRUCTIONPLUGIN_EXPORT virtual const std::string& getKind() 
-  { static std::string MY_KIND = "Extrusion"; return MY_KIND; }
+  { static std::string MY_KIND = CONSTRUCTION_EXTRUSION_KIND; return MY_KIND; }
 
   /// Returns to which group in the document must be added feature
   CONSTRUCTIONPLUGIN_EXPORT virtual const std::string& getGroup()