Merge pull request #26322 from tarman3/utils_splitArcs_deflection
CAM: Path.Post.Utils.splitArcs() - Fix zero deflection
This commit is contained in:
@@ -387,7 +387,7 @@ def splitArcs(path, deflection=None):
|
||||
if not isinstance(path, Path.Path):
|
||||
raise TypeError("path must be a Path object")
|
||||
|
||||
if deflection is None:
|
||||
if not deflection:
|
||||
prefGrp = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/CAM")
|
||||
deflection = prefGrp.GetFloat("LibAreaCurveAccuracy", 0.01)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user