Path.Area: fix Path.fromShapes retraction threshold

This commit is contained in:
Zheng, Lei
2017-06-14 16:08:08 +08:00
committed by Yorik van Havre
parent 56f8de75e6
commit 294551a2fb

View File

@@ -2901,6 +2901,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
threshold = fabs(threshold);
if(threshold < Precision::Confusion())
threshold = Precision::Confusion();
threshold *= threshold;
resume_height = fabs(resume_height);
AxisGetter getter = &gp_Pnt::Z;