1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: FeaturesPlugin_ExtrusionCut.h
4 // Created: 11 June 2015
5 // Author: Dmitry Bobylev
7 #ifndef FeaturesPlugin_ExtrusionCut_H_
8 #define FeaturesPlugin_ExtrusionCut_H_
10 #include "FeaturesPlugin_ExtrusionBoolean.h"
12 /// \class FeaturesPlugin_ExtrusionCut
14 /// \brief This feature allows to create sketch, extrude faces from this sketch and
15 /// cut result from other objects in a single operation.
16 class FeaturesPlugin_ExtrusionCut : public FeaturesPlugin_ExtrusionBoolean
19 /// Use plugin manager for features creation.
20 FeaturesPlugin_ExtrusionCut();
23 inline static const std::string& ID()
25 static const std::string MY_EXTRUSION_ID("ExtrusionCut");
26 return MY_EXTRUSION_ID;
29 /// \return the kind of a feature
30 FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
32 static std::string MY_KIND = FeaturesPlugin_ExtrusionCut::ID();
36 /// Creates a new part document if needed.
37 FEATURESPLUGIN_EXPORT virtual void execute();