PartDesign: port to use FaceMaker

Minimalistic port. Only re-use code that was duplicate before.
This commit is contained in:
DeepSOIC
2016-09-25 18:32:33 +03:00
parent da52d8ea70
commit 320763d78a
5 changed files with 15 additions and 199 deletions

View File

@@ -42,6 +42,7 @@
#include <Base/Console.h>
#include <Base/Reader.h>
#include <App/Document.h>
#include <Mod/Part/App/FaceMakerCheese.h>
//#include "Body.h"
#include "FeatureLoft.h"
@@ -151,7 +152,7 @@ App::DocumentObjectExecReturn *Loft::execute(void)
for(std::vector<TopoDS_Wire>& wires : wiresections)
backwires.push_back(wires.back());
TopoDS_Shape back = makeFace(backwires);
TopoDS_Shape back = Part::FaceMakerCheese::makeFace(backwires);
BRepBuilderAPI_Sewing sewer;
sewer.SetTolerance(Precision::Confusion());