[TD]protect against stretch factor == 0
This commit is contained in:
@@ -104,7 +104,7 @@ public:
|
||||
App::PropertyBool TrimAfterCut;//new v021
|
||||
App::PropertyBool UsePreviousCut; // new v022
|
||||
|
||||
App::PropertyFloat SectionLineStretch; // new v022
|
||||
App::PropertyFloatConstraint SectionLineStretch; // new v022
|
||||
|
||||
|
||||
bool isReallyInBox(const Base::Vector3d v, const Base::BoundBox3d bb) const;
|
||||
@@ -205,6 +205,9 @@ protected:
|
||||
bool m_waitingForCut;
|
||||
TopoDS_Shape m_cuttingTool;
|
||||
double m_shapeSize;
|
||||
|
||||
static App::PropertyFloatConstraint::Constraints stretchRange;
|
||||
|
||||
};
|
||||
|
||||
using DrawViewSectionPython = App::FeaturePythonT<DrawViewSection>;
|
||||
|
||||
Reference in New Issue
Block a user