- made sure that the optimal tool detected works for isolation - the offset amount changed to reflect the number of decimals used by the app

This commit is contained in:
Marius Stanciu
2021-08-17 23:55:09 +03:00
committed by Marius
parent 3c44fbaedb
commit bf49e39301
4 changed files with 7 additions and 3 deletions

View File

@@ -1096,7 +1096,7 @@ class ToolIsolation(AppTool, Gerber):
min_list = list(min_dict.keys())
min_dist = min(min_list)
min_dist -= 0.0001 # make sure that this works for isolation case
min_dist -= 10**-decimals # make sure that this works for isolation case
return msg, min_dist