diff options
| author | Kaalleen <reni@allenka.de> | 2023-05-13 21:11:27 +0200 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2023-05-13 21:11:27 +0200 |
| commit | 111fd8f0ef7bc8e62322c38a7a7467c453f85331 (patch) | |
| tree | 3d7d427422c23898e128646eb10b0477244dd03a /lib/stitches | |
| parent | 3a441427da441e1c13c349453ae642de9fdc7ab2 (diff) | |
* move all gradient methods to extension
* add underlay to single color elements to compensate density
Diffstat (limited to 'lib/stitches')
| -rw-r--r-- | lib/stitches/ripple_stitch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stitches/ripple_stitch.py b/lib/stitches/ripple_stitch.py index dc85445a..52d91c2d 100644 --- a/lib/stitches/ripple_stitch.py +++ b/lib/stitches/ripple_stitch.py @@ -103,8 +103,9 @@ def _get_satin_line_count(stroke, pairs): if shortest_line_len == 0 or length < shortest_line_len: shortest_line_len = length num_lines = ceil(shortest_line_len / stroke.min_line_dist) - # we want the line count to be constantly even or odd (even if the design is resized - # so the stitch plan can be carefully planed connecting the end point to the following object + # We want the line count always to be either even or odd - depending on the line count value. + # So that the end point stays the same even if the design is resized. This is necessary to enable + # the user to carefully plan the output and and connect the end point to the following object if stroke.line_count % 2 != num_lines % 2: num_lines -= 1 # for flat join styles we need to add an other line |
