[PD] change default FaceMaker to Bullseye

Part does already use this FaceMaker since it can also handle islands.

The PR therefore
- uniforms the behavior of PD and Part
- fixes #6366
- enables to use nested sketches for the various PD features like Revolve
This commit is contained in:
Uwe
2022-02-16 05:20:37 +01:00
committed by wwmayer
parent ce6d9e7573
commit 7786e24fcd

View File

@@ -72,18 +72,18 @@
#endif
#include <App/OriginFeature.h>
#include <App/Document.h>
#include <Base/Exception.h>
#include <Base/Parameter.h>
#include <Base/Reader.h>
#include <Base/Console.h>
#include <Base/Tools.h>
#include <App/Application.h>
#include <App/OriginFeature.h>
#include <App/Document.h>
#include <Mod/Part/App/FaceMakerCheese.h>
#include "FeatureSketchBased.h"
#include "DatumPlane.h"
#include "DatumLine.h"
#include "DatumPlane.h"
#include "FeatureSketchBased.h"
using namespace PartDesign;
@@ -218,7 +218,7 @@ TopoDS_Shape ProfileBased::getVerifiedFace(bool silent) const {
if (!shape.hasSubShape(TopAbs_WIRE))
shape = shape.makEWires();
if (shape.hasSubShape(TopAbs_WIRE))
shape = shape.makEFace(0, "Part::FaceMakerCheese");
shape = shape.makEFace(0, "Part::FaceMakerBullseye");
else
err = "Cannot make face from profile";
}