Navigation Menu

Skip to content

Commit

Permalink
PathHelix: typo in error path
Browse files Browse the repository at this point in the history
  • Loading branch information
lhuedepohl committed Jan 6, 2017
1 parent 1edc151 commit ec5faaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/PathScripts/PathHelix.py
Expand Up @@ -155,7 +155,7 @@ def helix_cut_r(r):
if r_out < 0.0:
msg = "r_out < 0"
elif r_in > 0 and r_out - r_in < tool_diameter:
msg = "r_out - r_in = {0} is < tool diameter of {1}".format(r_out - r_in, tool_diamater)
msg = "r_out - r_in = {0} is < tool diameter of {1}".format(r_out - r_in, tool_diameter)
elif r_in == 0.0 and not r_out > tool_diameter/2.:
msg = "Cannot drill a hole of diameter {0} with a tool of diameter {1}".format(2 * r_out, tool_diameter)
elif not startside in ["inside", "outside"]:
Expand Down

0 comments on commit ec5faaf

Please sign in to comment.