PD: remove parameter 'supportface' from ProfileBased::getUpToFace as it's not used any more
This commit is contained in:
@@ -157,7 +157,7 @@ App::DocumentObjectExecReturn *Pad::execute()
|
||||
getFaceFromLinkSub(upToFace, UpToFace);
|
||||
upToFace.Move(invObjLoc);
|
||||
}
|
||||
getUpToFace(upToFace, base, supportface, sketchshape, method, dir);
|
||||
getUpToFace(upToFace, base, sketchshape, method, dir);
|
||||
addOffsetToFace(upToFace, dir, Offset.getValue());
|
||||
|
||||
// TODO: Write our own PrismMaker which does not depend on a solid base shape
|
||||
|
||||
@@ -167,7 +167,7 @@ App::DocumentObjectExecReturn *Pocket::execute()
|
||||
getFaceFromLinkSub(upToFace, UpToFace);
|
||||
upToFace.Move(invObjLoc);
|
||||
}
|
||||
getUpToFace(upToFace, base, supportface, profileshape, method, dir);
|
||||
getUpToFace(upToFace, base, profileshape, method, dir);
|
||||
addOffsetToFace(upToFace, dir, Offset.getValue());
|
||||
|
||||
// BRepFeat_MakePrism(..., 2, 1) in combination with PerForm(upToFace) is buggy when the
|
||||
|
||||
@@ -449,7 +449,6 @@ void ProfileBased::getFaceFromLinkSub(TopoDS_Face& upToFace, const App::Property
|
||||
|
||||
void ProfileBased::getUpToFace(TopoDS_Face& upToFace,
|
||||
const TopoDS_Shape& support,
|
||||
const TopoDS_Face& supportface,
|
||||
const TopoDS_Shape& sketchshape,
|
||||
const std::string& method,
|
||||
const gp_Dir& dir)
|
||||
|
||||
@@ -134,7 +134,6 @@ protected:
|
||||
/// Find a valid face to extrude up to
|
||||
static void getUpToFace(TopoDS_Face& upToFace,
|
||||
const TopoDS_Shape& support,
|
||||
const TopoDS_Face& supportface,
|
||||
const TopoDS_Shape& sketchshape,
|
||||
const std::string& method,
|
||||
const gp_Dir& dir);
|
||||
|
||||
Reference in New Issue
Block a user