- fixed some issues when editing a multigeo geometry
This commit is contained in:
@@ -3019,15 +3019,16 @@ class App(QtCore.QObject):
|
|||||||
self.ui.splitter.setSizes([0, 1])
|
self.ui.splitter.setSizes([0, 1])
|
||||||
|
|
||||||
if edited_object.multigeo is True:
|
if edited_object.multigeo is True:
|
||||||
edited_tools = [int(x.text()) for x in edited_object.ui.geo_tools_table.selectedItems()]
|
sel_rows = [item.row() for item in edited_object.ui.geo_tools_table.selectedItems()]
|
||||||
if len(edited_tools) > 1:
|
|
||||||
|
if len(sel_rows) > 1:
|
||||||
self.inform.emit('[WARNING_NOTCL] %s' %
|
self.inform.emit('[WARNING_NOTCL] %s' %
|
||||||
_("Simultanoeus editing of tools geometry in a MultiGeo Geometry "
|
_("Simultaneous editing of tools geometry in a MultiGeo Geometry "
|
||||||
"is not possible.\n"
|
"is not possible.\n"
|
||||||
"Edit only one geometry at a time."))
|
"Edit only one geometry at a time."))
|
||||||
|
|
||||||
# determine the tool dia of the selected tool
|
# determine the tool dia of the selected tool
|
||||||
selected_tooldia = float(edited_object.ui.geo_tools_table.item((edited_tools[0] - 1), 1).text())
|
selected_tooldia = float(edited_object.ui.geo_tools_table.item(sel_rows[0], 1).text())
|
||||||
|
|
||||||
# now find the key in the edited_object.tools that has this tooldia
|
# now find the key in the edited_object.tools that has this tooldia
|
||||||
multi_tool = 1
|
multi_tool = 1
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
|
|||||||
5.11.2019
|
5.11.2019
|
||||||
|
|
||||||
- added a new setting named 'Allow Machinist Unsafe Settings' that will allow the Travel Z and Cut Z to take both positive and negative values
|
- added a new setting named 'Allow Machinist Unsafe Settings' that will allow the Travel Z and Cut Z to take both positive and negative values
|
||||||
|
- fixed some issues when editing a multigeo geometry
|
||||||
|
|
||||||
4.11.2019
|
4.11.2019
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user