Path: more bug fixes

This commit is contained in:
sliptonic
2017-03-16 12:30:43 -05:00
committed by Yorik van Havre
parent b0745c96ef
commit d3fb9fbfe2
6 changed files with 123 additions and 119 deletions

View File

@@ -172,8 +172,7 @@ class ObjectPocket:
"""Build the pocket path using libarea algorithm"""
import PathScripts.PathAreaUtils as PathAreaUtils
from PathScripts.PathUtils import depth_params
FreeCAD.Console.PrintMessage(translate("PathPocket", "Generating toolpath with libarea offsets.\n"))
PathLog.debug("Generating toolpath with libarea offsets.\n")
depthparams = depth_params(
obj.ClearanceHeight.Value,
@@ -222,7 +221,7 @@ class ObjectPocket:
import DraftGeomUtils
from PathScripts.PathUtils import fmt, helicalPlunge, rampPlunge, depth_params
FreeCAD.Console.PrintMessage(translate("PathPocket", "Generating toolpath with OCC native offsets.\n"))
PathLog.debug("Generating toolpath with OCC native offsets.\n")
extraoffset = obj.MaterialAllowance.Value
# Build up the offset loops