- fixed offset after editing drill diameters in Excellon Editor (for real this time, the issue was in Excellon reconstruction)

This commit is contained in:
Marius Stanciu 2019-04-04 21:37:29 +03:00
parent b9a4981cd0
commit 4ecdfba29c

View File

@ -1768,7 +1768,7 @@ class FlatCAMExcEditor(QtCore.QObject):
first_linestring = x.geo[0]
# get it's coordinates
first_linestring_coords = first_linestring.coords
x_coord = first_linestring_coords[0][0] + (float(storage_tooldia) / 2)
x_coord = first_linestring_coords[0][0] + (float(first_linestring.length / 2))
y_coord = first_linestring_coords[0][1]
# create a tuple with the coordinates (x, y) and add it to the list that is the value of the