kopia lustrzana https://github.com/inkstitch/inkstitch
fix circular fill (#2350)
rodzic
ca220c6868
commit
dcb1b08597
|
@ -118,7 +118,7 @@ def _get_start_end_sequence(outline, start, end):
|
|||
|
||||
|
||||
def path_to_stitches(path, travel_graph, fill_stitch_graph, running_stitch_length, running_stitch_tolerance, skip_last):
|
||||
path = collapse_sequential_outline_edges(path)
|
||||
path = collapse_sequential_outline_edges(path, fill_stitch_graph)
|
||||
|
||||
stitches = []
|
||||
|
||||
|
@ -144,6 +144,6 @@ def path_to_stitches(path, travel_graph, fill_stitch_graph, running_stitch_lengt
|
|||
|
||||
travel_graph.remove_edges_from(fill_stitch_graph[edge[0]][edge[1]]['segment'].get('underpath_edges', []))
|
||||
else:
|
||||
stitches.extend(travel(travel_graph, edge[0], edge[1], running_stitch_length, running_stitch_tolerance, skip_last))
|
||||
stitches.extend(travel(travel_graph, edge, running_stitch_length, running_stitch_tolerance, skip_last))
|
||||
|
||||
return stitches
|
||||
|
|
Ładowanie…
Reference in New Issue