Path.Area: fix Path.fromShapes retraction threshold

This commit is contained in:
Zheng, Lei
2017-06-15 14:43:49 -03:00
committed by Yorik van Havre
parent 56f8de75e6
commit 294551a2fb
+1
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;