Skip to content

Instantly share code, notes, and snippets.

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.
"""