aligndrillgrid - fix offset direction -5 should be -x axis
This commit is contained in:
@@ -2283,7 +2283,7 @@ class App(QtCore.QObject):
|
|||||||
for row in range(kwa['rows']):
|
for row in range(kwa['rows']):
|
||||||
currentx=0
|
currentx=0
|
||||||
for col in range(kwa['columns']):
|
for col in range(kwa['columns']):
|
||||||
point = Point(currentx-gridoffsetx,currenty-gridoffsety)
|
point = Point(currentx+gridoffsetx,currenty+gridoffsety)
|
||||||
drills.append({"point": point, "tool": "1"})
|
drills.append({"point": point, "tool": "1"})
|
||||||
currentx=currentx+kwa['gridx']
|
currentx=currentx+kwa['gridx']
|
||||||
currenty=currenty+kwa['gridy']
|
currenty=currenty+kwa['gridy']
|
||||||
|
|||||||
Reference in New Issue
Block a user