Added Reversed button to Pocket UI if the sketch plane is a datum plane
This commit is contained in:
committed by
Stefan Tröger
parent
6915d8b734
commit
0bcdb0511f
@@ -930,6 +930,14 @@ bool SketchBased::isParallelPlane(const TopoDS_Shape& s1, const TopoDS_Shape& s2
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SketchBased::isSupportDatum() const
|
||||
{
|
||||
Part::Feature* SupportObject = getSupport();
|
||||
if (SupportObject == NULL)
|
||||
throw Base::Exception("No support in Sketch!");
|
||||
return isDatum(SupportObject);
|
||||
}
|
||||
|
||||
TopoDS_Shape SketchBased::refineShapeIfActive(const TopoDS_Shape& oldShape) const
|
||||
{
|
||||
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
|
||||
|
||||
Reference in New Issue
Block a user