[TD]support App::Link in View Source

This commit is contained in:
wandererfan
2020-03-12 18:38:04 -04:00
committed by WandererFan
parent 2e4ee3e706
commit 99a9964231
5 changed files with 108 additions and 15 deletions

View File

@@ -32,6 +32,7 @@
#include <App/FeaturePython.h>
#include <App/GroupExtension.h>
#include <App/Part.h>
#include <App/Link.h>
#include <App/PropertyLinks.h>
#include <App/PropertyStandard.h>
@@ -46,6 +47,7 @@ class TechDrawExport ShapeExtractor
public:
static TopoDS_Shape getShapes(const std::vector<App::DocumentObject*> links);
static std::vector<TopoDS_Shape> getShapes2d(const std::vector<App::DocumentObject*> links);
static std::vector<TopoDS_Shape> getXShapes(const App::Link* xLink);
static std::vector<TopoDS_Shape> getShapesFromObject(const App::DocumentObject* docObj);
static TopoDS_Shape getShapesFused(const std::vector<App::DocumentObject*> links);
static std::vector<TopoDS_Shape> extractDrawableShapes(const TopoDS_Shape shapeIn);