summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2023-05-29 15:59:00 -0400
committerKaalleen <reni@allenka.de>2023-07-01 08:23:46 +0200
commitacc2b1a7fbf519cbe4aaed2383211d5ca76a0996 (patch)
tree6b9d3c88d6dc419cb717e8ec06b9b4a545bfd9f6 /lib/stitches
parentbb9f7b7d821bc91f15e8c179482081ab5a7d5472 (diff)
slightly less edge avoidance
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/auto_fill.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py
index a9c6914a..cecf65d1 100644
--- a/lib/stitches/auto_fill.py
+++ b/lib/stitches/auto_fill.py
@@ -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)