[TD]provide result of detail to other views

This commit is contained in:
wandererfan
2023-07-09 20:26:09 -04:00
committed by WandererFan
parent 08237b6c2c
commit 77ef529c5a
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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>;