- optimized the storage of the Gerber mark shapes by making them one layer only

- optimized the Distance Tool such that the distance utility geometry will be shown even when the mark shapes are plotted.
This commit is contained in:
Marius Stanciu
2019-11-17 00:21:47 +02:00
committed by Marius
parent 021e094b73
commit d327160ab9
3 changed files with 15 additions and 4 deletions

View File

@@ -194,6 +194,12 @@ class Distance(FlatCAMTool):
self.distance_y_entry.set_value('0.0')
self.angle_entry.set_value('0.0')
self.total_distance_entry.set_value('0.0')
# this is a hack; seems that triggering the grid will make the visuals better
# trigger it twice to return to the original state
self.app.ui.grid_snap_btn.trigger()
self.app.ui.grid_snap_btn.trigger()
log.debug("Distance Tool --> tool initialized")
def activate_measure_tool(self):