kopia lustrzana https://github.com/inkstitch/inkstitch
ensure Points
rodzic
6c5920f48e
commit
799b9a9131
|
@ -634,6 +634,8 @@ def travel(shape, travel_graph, edge, running_stitch_length, running_stitch_tole
|
|||
path = networkx.shortest_path(travel_graph, start, end, weight='weight')
|
||||
if underpath and path != (start, end):
|
||||
path = smooth_path(path, 2)
|
||||
else:
|
||||
path = [InkstitchPoint.from_tuple(point) for point in path]
|
||||
path = clamp_path_to_polygon(path, shape)
|
||||
|
||||
points = running_stitch(path, running_stitch_length, running_stitch_tolerance)
|
||||
|
|
Ładowanie…
Reference in New Issue