ensure starting point is on the border

pull/606/head
Lex Neva 2020-02-15 16:45:53 -05:00
rodzic 9bb4686df7
commit c81c11eb53
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -158,7 +158,8 @@ def build_fill_stitch_graph(shape, angle, row_spacing, end_row_spacing, starting
def insert_node(graph, shape, node):
"""Add node to graph, splitting one of the outline edges"""
node = tuple(node)
node = nearest_node(graph, tuple(node))
point = shgeo.Point(node)
edges = []