diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-06-30 22:49:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-30 22:49:18 +0200 |
| commit | e52886a64a4e76c3fdc49df95c85655da3c4f7f4 (patch) | |
| tree | 88a4edee630df0947553ced79fb6eb9dc510ccea /lib/extensions/stroke_to_lpe_satin.py | |
| parent | 7c06dee44ac7951a5db406eb829100a5bc3e5887 (diff) | |
Various fixes (#3028)
* several thread palette extension fixes
* fix svg tartan when original shape is invalid
* tartan stroke spaces
* style
* fix tartan color substituion at pattern start
* ripple: do not render too small paths
* use less space for params warning headline
* fix clone shape path
* zip export template fix (typo)
* add realistic stitch plan output warning (help tab)
Diffstat (limited to 'lib/extensions/stroke_to_lpe_satin.py')
| -rw-r--r-- | lib/extensions/stroke_to_lpe_satin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extensions/stroke_to_lpe_satin.py b/lib/extensions/stroke_to_lpe_satin.py index 3f6e87a2..a71bbb71 100644 --- a/lib/extensions/stroke_to_lpe_satin.py +++ b/lib/extensions/stroke_to_lpe_satin.py @@ -171,7 +171,7 @@ class SatinPattern: def get_path(self, add_rungs, min_width, max_width, length, to_unit): # scale the pattern path to fit the unit of the current svg - scale_factor = scale_factor = 1 / inkex.units.convert_unit('1mm', f'{to_unit}') + scale_factor = 1 / inkex.units.convert_unit('1mm', f'{to_unit}') pattern_path = inkex.Path(self.path).transform(inkex.Transform(f'scale({scale_factor})'), True) # create a path element |
