kopia lustrzana https://github.com/inkstitch/inkstitch
ensure starting point is on the border
rodzic
9bb4686df7
commit
c81c11eb53
|
@ -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 = []
|
||||
|
|
Ładowanie…
Reference in New Issue