- Levelling Tool - minor changes

This commit is contained in:
Marius Stanciu
2021-01-04 23:22:32 +02:00
committed by Marius
parent 2aab71e037
commit 92ba4b9a81
2 changed files with 3 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
- Levelling Tool - disable the UI if the Gcode is not segmented for autolevelling (perhaps recreate the GCode as segmented?)
- in camlib.CNCjob class fixed the linear2gcode_extra() method to be able to do GCode segmentation.
- Levelling Tool - minor changes
3.01.2021

View File

@@ -929,7 +929,7 @@ class ToolLevelling(AppTool, CNCjob):
self.ui.al_columns_label.setDisabled(False)
self.ui.al_method_lbl.setDisabled(False)
self.ui.al_method_radio.setDisabled(False)
self.ui.al_method_radio.set_value(self.app.defaults['cncjob_al_method'])
self.ui.al_method_radio.set_value(self.app.defaults['tools_al_method'])
def on_method_radio(self, val):
if val == 'b':
@@ -1182,7 +1182,7 @@ class ToolLevelling(AppTool, CNCjob):
step = self.ui.jog_step_entry.get_value(),
feedrate = self.ui.jog_fr_entry.get_value()
travelz = float(self.app.defaults["cncjob_al_grbl_travelz"])
travelz = float(self.app.defaults["tools_al_grbl_travelz"])
if direction == 'xplus':
cmd = "$J=G91 %s X%s F%s" % ({'IN': 'G20', 'MM': 'G21'}[self.units], str(step), str(feedrate))