diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-17 15:28:19 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-17 15:28:19 -0400 |
| commit | ef17511c66a9f59bb9c74cb6f94f71e044c4fef1 (patch) | |
| tree | 296c5975f7e88c0ba6f27beef7d24c75cbe1e4df /lib/stitches/auto_fill.py | |
| parent | 46da0bd13fd1b13c3744edd06ea53361cb3095f6 (diff) | |
adjust magic number to 1.4
Diffstat (limited to 'lib/stitches/auto_fill.py')
| -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 46490513..097ab1d9 100644 --- a/lib/stitches/auto_fill.py +++ b/lib/stitches/auto_fill.py @@ -467,10 +467,10 @@ def connect_points(shape, start, end, running_stitch_length, row_spacing): # connections from one row to the next. # # This seems to do a good job of avoiding going outside the shape in - # most cases. 1.5 is chosen as approximately the length of the + # most cases. 1.4 is chosen as approximately the length of the # stitch connecting two rows if the side of the shape is at a 45 # degree angle to the rows of stitches (sqrt(2)). - if abs(end_projection - start_projection) < row_spacing * 1.5: + if abs(end_projection - start_projection) < row_spacing * 1.4: return [InkstitchPoint(end.x, end.y)] # The outline path has a "natural" starting point. Think of this as |
