Merge branch 'master' into FixPathSort

This commit is contained in:
sliptonic
2020-04-06 14:33:55 -05:00
committed by GitHub
30 changed files with 216 additions and 126 deletions

View File

@@ -59,8 +59,7 @@ def toolDepthAndOffset(width, extraDepth, tool):
toolOffset = float(tool.FlatRadius)
extraOffset = float(tool.Diameter) / 2 - width if 180 == angle else extraDepth / tan
offset = toolOffset + extraOffset
if offset < 0.0001:
offset = 0.01
return (depth, offset)