- updated Rules Check Tool - Hole Size rule to work with the new data structure for the Excellon objects
This commit is contained in:
parent
a39f3f7cac
commit
86e870ec71
|
@ -10,6 +10,7 @@ CHANGELOG for FlatCAM beta
|
|||
23.10.2020
|
||||
|
||||
- updated Copper Thieving Tool to work with the updated program
|
||||
- updated Rules Check Tool - Hole Size rule to work with the new data structure for the Excellon objects
|
||||
|
||||
22.10.2020
|
||||
|
||||
|
|
|
@ -357,7 +357,7 @@ class RulesCheck(AppTool):
|
|||
|
||||
name = elem['name']
|
||||
for tool in elem['tools']:
|
||||
tool_dia = float('%.*f' % (4, float(elem['tools'][tool]['C'])))
|
||||
tool_dia = float('%.*f' % (4, float(elem['tools'][tool]['tooldia'])))
|
||||
if tool_dia < float(size):
|
||||
dia_list.append(tool_dia)
|
||||
obj_violations['name'] = name
|
||||
|
|
Loading…
Reference in New Issue