- in Gerber isolation section, the tool dia value is updated when changing from Circular to V-shape and reverse

- in Tool Film, when punching holes in a positive film, if the resulting object geometry is the same as the source object geometry, the film will not ge generated
This commit is contained in:
Marius Stanciu
2019-10-04 20:43:22 +03:00
committed by Marius
parent f06888e4fb
commit 01a9763ad6
3 changed files with 18 additions and 2 deletions

View File

@@ -727,6 +727,8 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
self.ui.cutzlabel.hide()
self.ui.cutz_spinner.hide()
self.ui.iso_tool_dia_entry.setDisabled(False)
# update the value in the self.iso_tool_dia_entry once this is selected
self.ui.iso_tool_dia_entry.set_value(self.options['isotooldia'])
else:
self.ui.tipdialabel.show()
self.ui.tipdia_spinner.show()
@@ -735,6 +737,8 @@ class FlatCAMGerber(FlatCAMObj, Gerber):
self.ui.cutzlabel.show()
self.ui.cutz_spinner.show()
self.ui.iso_tool_dia_entry.setDisabled(True)
# update the value in the self.iso_tool_dia_entry once this is selected
self.on_calculate_tooldia()
def build_ui(self):
FlatCAMObj.build_ui(self)