[TD]provide result of detail to other views
This commit is contained in:
@@ -332,6 +332,9 @@ void DrawViewDetail::makeDetailShape(const TopoDS_Shape& shape, DrawViewPart* dv
|
||||
}
|
||||
}
|
||||
|
||||
// save the detail shape for further processing
|
||||
m_detailShape = pieces;
|
||||
|
||||
if (debugDetail()) {
|
||||
BRepTools::Write(tool, "DVDTool.brep"); //debug
|
||||
BRepTools::Write(copyShape, "DVDCopy.brep");//debug
|
||||
|
||||
@@ -87,6 +87,7 @@ public:
|
||||
gp_Dir& projDir);
|
||||
|
||||
std::vector<DrawViewDetail*> getDetailRefs() const override;
|
||||
TopoDS_Shape getDetailShape() const { return m_detailShape; }
|
||||
|
||||
public Q_SLOTS:
|
||||
void onMakeDetailFinished(void);
|
||||
@@ -106,6 +107,8 @@ protected:
|
||||
|
||||
DrawViewPart* m_saveDvp;
|
||||
DrawViewSection* m_saveDvs;
|
||||
|
||||
TopoDS_Shape m_detailShape;
|
||||
};
|
||||
|
||||
using DrawViewDetailPython = App::FeaturePythonT<DrawViewDetail>;
|
||||
|
||||
Reference in New Issue
Block a user