- modified the Tools Database and Preferences with the new parameters from CutOut Tool
- changes in Tool Cutout: now on Cutout Tool start the app will look into Tools Database and search for a tool with same diameter (or within the set tolerance) as the one from Preferences and load it if found or load a default tool if not - Tool Cutout - this Tool can now load tools from Tools Database through buttons in the Cutout Tool
This commit is contained in:
@@ -150,22 +150,22 @@ class TclCommandGeoCutout(TclCommandSignaled):
|
||||
if 'margin' in args:
|
||||
margin = float(args['margin'])
|
||||
else:
|
||||
margin = float(self.app.defaults["tools_cutoutmargin"])
|
||||
margin = float(self.app.defaults["tools_cutout_margin"])
|
||||
|
||||
if 'dia' in args:
|
||||
dia = float(args['dia'])
|
||||
else:
|
||||
dia = float(self.app.defaults["tools_cutouttooldia"])
|
||||
dia = float(self.app.defaults["tools_cutout_tooldia"])
|
||||
|
||||
if 'gaps' in args:
|
||||
gaps = args['gaps']
|
||||
else:
|
||||
gaps = str(self.app.defaults["tools_gaps_ff"])
|
||||
gaps = str(self.app.defaults["tools_cutout_gaps_ff"])
|
||||
|
||||
if 'gapsize' in args:
|
||||
gapsize = float(args['gapsize'])
|
||||
else:
|
||||
gapsize = float(self.app.defaults["tools_cutoutgapsize"])
|
||||
gapsize = float(self.app.defaults["tools_cutout_gapsize"])
|
||||
|
||||
if 'outname' in args:
|
||||
outname = args['outname']
|
||||
|
||||
Reference in New Issue
Block a user