summaryrefslogtreecommitdiff
path: root/lib/svg
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-06-30 19:22:33 +0200
committerGitHub <noreply@github.com>2022-06-30 19:22:33 +0200
commit8d5ef5b6635b5b84f12409b535114853954680d1 (patch)
treec963bf0e1ddc4ee584c08b4014232f0f067ae512 /lib/svg
parent725281f075f8d40a68427733f377983b6f7c607b (diff)
Fixes (#1703)
* guide line position * use direction from line to shape * optimize intersection detection * fix flapack elf * handle weird guide lines better * update starting point for self crossing (multiple) fills * ripple: fixes and non circular join style * avoid jumps in ripple stitch * fallback only necessary if shape does not intersect grating * make valid may return a polygon * add profiling * Stitch.__init__ didn't work right and was super slow * shrink or grow to multipolygon Co-authored-by: Lex Neva
Diffstat (limited to 'lib/svg')
-rw-r--r--lib/svg/tags.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/svg/tags.py b/lib/svg/tags.py
index 63c815fc..d113bb6d 100644
--- a/lib/svg/tags.py
+++ b/lib/svg/tags.py
@@ -64,17 +64,7 @@ inkstitch_attribs = [
'join_style',
'avoid_self_crossing',
'clockwise',
- 'line_count',
- 'skip_start',
- 'skip_end',
- 'grid_size',
'reverse',
- 'exponent',
- 'flip_exponent',
- 'scale_axis',
- 'scale_start',
- 'scale_end',
- 'rotate_ripples',
'expand_mm',
'fill_underlay',
'fill_underlay_angle',
@@ -97,6 +87,17 @@ inkstitch_attribs = [
'repeats',
'running_stitch_length_mm',
'running_stitch_tolerance_mm',
+ # ripples
+ 'line_count',
+ 'exponent',
+ 'flip_exponent',
+ 'skip_start',
+ 'skip_end',
+ 'scale_axis',
+ 'scale_start',
+ 'scale_end',
+ 'rotate_ripples',
+ 'grid_size',
# satin column
'satin_column',
'short_stitch_distance_mm',