Fix #3698 Detail of Section View

This commit is contained in:
wandererfan
2018-11-17 09:18:12 -05:00
committed by wmayer
parent a0795e1236
commit deeceead68
3 changed files with 18 additions and 1 deletions

View File

@@ -30,6 +30,7 @@
#include <App/FeaturePython.h>
#include <App/Material.h>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Compound.hxx>
#include "DrawViewPart.h"
@@ -94,6 +95,8 @@ public:
std::vector<LineSet> getDrawableLines(int i = 0);
std::vector<PATLineSpec> getDecodedSpecsFromFile(std::string fileSpec, std::string myPattern);
TopoDS_Shape getCutShape(void) {return m_cutShape;}
static const char* SectionDirEnums[];
protected:
@@ -108,6 +111,7 @@ protected:
gp_Pnt faceCenter,
const Base::Vector3d &direction);
void getParameters(void);
TopoDS_Shape m_cutShape;
};
typedef App::FeaturePythonT<DrawViewSection> DrawViewSectionPython;