- made those settings just added for Gerber, to be updated on object creation

- added the Geo Tolerance parameter to those that are converted from MM to INCH
This commit is contained in:
Marius Stanciu
2019-10-01 17:07:27 +03:00
parent b444e1e552
commit c685f41db0
4 changed files with 8 additions and 3 deletions

View File

@@ -626,11 +626,13 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
self.ui.type_obj_combo.currentIndexChanged.connect(self.on_type_obj_index_changed)
self.ui.tool_type_radio.activated_custom.connect(self.on_tool_type_change)
self.ui.tool_type_radio.set_value('circular')
# establish visibility for the GUI elements found in the slot function
self.ui.tool_type_radio.activated_custom.emit(self.options['tool_type'])
# Show/Hide Advanced Options
if self.app.defaults["global_app_level"] == 'b':
self.ui.level.setText('<span style="color:green;"><b>%s</b></span>' % _('Basic'))
self.options['tool_type'] = 'circular'
self.ui.tool_type_label.hide()
self.ui.tool_type_radio.hide()
@@ -4678,6 +4680,7 @@ class FlatCAMGeometry(FlatCAMObj, Geometry):
:param segx: number of segments on the X axis, for auto-levelling
:param segy: number of segments on the Y axis, for auto-levelling
:param plot: if True the generated object will be plotted; if False will not be plotted
:param use_thread: if True use threading
:return: None
"""