slightly less edge avoidance

pull/2346/head
Lex Neva 2023-05-29 15:59:00 -04:00 zatwierdzone przez Kaalleen
rodzic bb9f7b7d82
commit acc2b1a7fb
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -351,9 +351,9 @@ def get_segments(graph):
def process_travel_edges(graph, fill_stitch_graph, shape, travel_edges):
"""Weight the interior edges and pre-calculate intersection with fill stitch rows."""
# Set the weight equal to 5x the edge length, to encourage travel()
# Set the weight equal to 3x the edge length, to encourage travel()
# to avoid them.
weight_edges_by_length(graph, 5)
weight_edges_by_length(graph, 3)
segments = get_segments(fill_stitch_graph)