diff options
| author | Lex Neva <github.com@lexneva.name> | 2023-05-29 15:59:00 -0400 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2023-07-01 08:23:46 +0200 |
| commit | acc2b1a7fbf519cbe4aaed2383211d5ca76a0996 (patch) | |
| tree | 6b9d3c88d6dc419cb717e8ec06b9b4a545bfd9f6 /lib/stitches | |
| parent | bb9f7b7d821bc91f15e8c179482081ab5a7d5472 (diff) | |
slightly less edge avoidance
Diffstat (limited to 'lib/stitches')
| -rw-r--r-- | lib/stitches/auto_fill.py | 4 |
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) |
