mirror of https://github.com/rusefi/KiCad-Diff.git
Correct board directive on macOS too
This commit is contained in:
parent
352275339a
commit
1497b87bce
|
@ -13,7 +13,7 @@ from pcbnew import *
|
||||||
|
|
||||||
|
|
||||||
def processBoard(boardName, plotDir): # Load board and initialize plot controller
|
def processBoard(boardName, plotDir): # Load board and initialize plot controller
|
||||||
board = LoadBoard(boardName)
|
board = pcbnew.LoadBoard(boardName)
|
||||||
boardbox = board.ComputeBoundingBox()
|
boardbox = board.ComputeBoundingBox()
|
||||||
boardxl = boardbox.GetX()
|
boardxl = boardbox.GetX()
|
||||||
boardyl = boardbox.GetY()
|
boardyl = boardbox.GetY()
|
||||||
|
|
Loading…
Reference in New Issue