Merge branch 'master' into 3d_surface_perf

This commit is contained in:
sliptonic
2020-04-06 14:33:26 -05:00
committed by GitHub
9 changed files with 83 additions and 21 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)