This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kikit.common import findBoardBoundingBox | |
# This function should be provided by KiKit, but at the moment, it is not. I | |
# opened an issue for that: https://github.com/yaqwsx/KiKit/issues/283. | |
# Basically, panel.makeGrid should take the tolerance parameter, but it doesn't | |
# at the moment. | |
def locateBoard(inputFilename, tolerance): | |
""" | |
Given a filename of the board, find the source are of it. | |
""" |
OlderNewer