Make FeaturePython Python binding a template class to avoid code duplication

This commit is contained in:
wmayer
2013-03-22 00:34:18 +01:00
parent 9da66cbb02
commit ce0e6e5cef
30 changed files with 508 additions and 506 deletions

View File

@@ -32,6 +32,7 @@
#endif
#include <Base/Exception.h>
#include "Feature.h"

View File

@@ -53,9 +53,10 @@
#include "FeatureDraft.h"
using namespace PartDesign;
#include <Base/Console.h>
#include <Base/Exception.h>
using namespace PartDesign;
PROPERTY_SOURCE(PartDesign::Draft, PartDesign::DressUp)

View File

@@ -39,6 +39,7 @@
#endif
#include <Base/Axis.h>
#include <Base/Exception.h>
#include <Base/Placement.h>
#include <Base/Tools.h>

View File

@@ -35,6 +35,7 @@
#include "FeatureLinearPattern.h"
#include <Base/Axis.h>
#include <Base/Exception.h>
#include <Mod/Part/App/TopoShape.h>
#include <Mod/Part/App/Part2DObject.h>

View File

@@ -31,6 +31,7 @@
#endif
#include <Base/Exception.h>
#include "FeatureMirrored.h"
#include <Mod/Part/App/TopoShape.h>
#include <Mod/Part/App/Part2DObject.h>

View File

@@ -35,6 +35,7 @@
#include <Mod/Part/App/TopoShape.h>
#include <Base/Console.h>
#include <Base/Exception.h>
using namespace PartDesign;

View File

@@ -40,6 +40,7 @@
# include <BRepAlgoAPI_Common.hxx>
#endif
#include <Base/Exception.h>
#include <Base/Placement.h>
#include <App/Document.h>

View File

@@ -43,6 +43,7 @@
# include <BRepAlgoAPI_Common.hxx>
#endif
#include <Base/Exception.h>
#include <Base/Placement.h>
#include <App/Document.h>

View File

@@ -33,6 +33,7 @@
#include "FeaturePolarPattern.h"
#include <Base/Axis.h>
#include <Base/Exception.h>
#include <Base/Tools.h>
#include <Mod/Part/App/TopoShape.h>
#include <Mod/Part/App/Part2DObject.h>

View File

@@ -39,6 +39,7 @@
#endif
#include <Base/Axis.h>
#include <Base/Exception.h>
#include <Base/Placement.h>
#include <Base/Tools.h>

View File

@@ -33,9 +33,10 @@
#include "FeatureSubtractive.h"
#include <Mod/Part/App/TopoShape.h>
using namespace PartDesign;
#include <Base/Console.h>
#include <Base/Exception.h>
using namespace PartDesign;
namespace PartDesign {

View File

@@ -64,6 +64,7 @@
#include <TopExp.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <Base/Exception.h>
#include "FeatureSketchBased.h"
using namespace PartDesign;

View File

@@ -42,6 +42,7 @@
#include "FeatureMirrored.h"
#include <Base/Console.h>
#include <Base/Exception.h>
using namespace PartDesign;