Path.Area: fix Path.fromShapes retraction threshold
This commit is contained in:
committed by
Yorik van Havre
parent
56f8de75e6
commit
294551a2fb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user