- in Geometry UI and in Drilling Tool added ability to edit existing Exclusion Areas and change the Strategy and OverZ parameters for each of them

- in Geometry UI and in Drilling Tool added a Delete menu entry in the Exclusion Area Table context menu
This commit is contained in:
Marius Stanciu
2020-11-12 23:42:26 +02:00
committed by Marius
parent dea7ce3028
commit 21db5d9528
6 changed files with 220 additions and 32 deletions

View File

@@ -379,10 +379,11 @@ class ExclusionAreas(QtCore.QObject):
# "overz": float < - self.over_z_button
# }
new_el = {
"idx": len(self.exclusion_areas_storage) + 1,
"obj_type": self.obj_type,
"shape": new_rectangle,
"shape": new_rectangle,
"strategy": self.strategy_button.get_value(),
"overz": self.over_z_button.get_value()
"overz": self.over_z_button.get_value()
}
self.exclusion_areas_storage.append(new_el)
@@ -442,10 +443,11 @@ class ExclusionAreas(QtCore.QObject):
}
"""
new_el = {
"idx": len(self.exclusion_areas_storage) + 1,
"obj_type": self.obj_type,
"shape": pol,
"shape": pol,
"strategy": self.strategy_button.get_value(),
"overz": self.over_z_button.get_value()
"overz": self.over_z_button.get_value()
}
self.exclusion_areas_storage.append(new_el)