diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-12-07 15:20:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-07 15:20:11 +0100 |
| commit | b0105196889a463579aab21cd29bbf1abb96dab1 (patch) | |
| tree | ee99321edd4fd1590430d3003e40468c6289dc7e /lib/svg | |
| parent | 154309906f34bc3213eb4775dbebc58a1ec7f779 (diff) | |
Enable start end commands for satins (#3315)
Updates commands
fill_start (_end) => starting_point (_end)
stain_start (_end) and run_start (_end) => autoroute_start
ripple_target => target_point
Sets inkstitch svg version to 3
Diffstat (limited to 'lib/svg')
| -rw-r--r-- | lib/svg/path.py | 3 | ||||
| -rw-r--r-- | lib/svg/tags.py | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/svg/path.py b/lib/svg/path.py index 9d92058b..548a82f2 100644 --- a/lib/svg/path.py +++ b/lib/svg/path.py @@ -87,6 +87,9 @@ def line_strings_to_csp(line_strings): except AttributeError: pass + if line_strings is None: + return None + return point_lists_to_csp(ls.coords for ls in line_strings) diff --git a/lib/svg/tags.py b/lib/svg/tags.py index b8f04ef2..5afb2064 100644 --- a/lib/svg/tags.py +++ b/lib/svg/tags.py @@ -167,6 +167,8 @@ inkstitch_attribs = [ 'random_split_phase', 'random_split_jitter_percent', 'min_random_split_length_mm', + 'running_stitch_position', + 'start_at_nearest_point', # stitch_plan 'invisible_layers', 'layer_visibility', |
