Remove ShapeBinder2D
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
This commit is contained in:
@@ -148,28 +148,4 @@ TopoShape ShapeBinder::buildShapeFromReferences( Part::Feature* obj, std::vector
|
||||
return base;
|
||||
}
|
||||
return base;
|
||||
}
|
||||
|
||||
|
||||
PROPERTY_SOURCE(PartDesign::ShapeBinder2D, Part::Part2DObject)
|
||||
|
||||
ShapeBinder2D::ShapeBinder2D() {
|
||||
|
||||
}
|
||||
|
||||
ShapeBinder2D::~ShapeBinder2D() {
|
||||
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn* ShapeBinder2D::execute(void) {
|
||||
|
||||
if(! this->isRestoring()){
|
||||
|
||||
Part::Feature* obj = nullptr;
|
||||
std::vector<std::string> subs;
|
||||
|
||||
ShapeBinder::getFilterdReferences(&Support, obj, subs);
|
||||
Shape.setValue(ShapeBinder::buildShapeFromReferences(obj, subs)._Shape);
|
||||
}
|
||||
return Part::Part2DObject::execute();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user