From 8d5ef5b6635b5b84f12409b535114853954680d1 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 30 Jun 2022 19:22:33 +0200 Subject: 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 --- lib/svg/tags.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'lib/svg') 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', -- cgit v1.2.3