summaryrefslogtreecommitdiff
path: root/lib/threads/color.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-11-27 08:37:59 +0100
committerGitHub <noreply@github.com>2022-11-27 08:37:59 +0100
commite9278c55c34b72bb0beccf0d9b8bfe300aacac70 (patch)
tree0bd9728003f1cf8b03ba2ed610fafdcd217267fd /lib/threads/color.py
parent9c0b64560cadc246b3555951ddb1e21960662553 (diff)
This and that (#1727)
* dont fail on satin with fill * fill stitch error message * convert to satin mac issue * auto_satin: add rung for two node old style satins * avoid divide by zero in intersect_region_with_grating * fix for incorrect stagger in guided fill * better rail sectioning algorithm * fix #1780 * fix #1816 Co-authored-by: Lex Neva
Diffstat (limited to 'lib/threads/color.py')
-rw-r--r--lib/threads/color.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/threads/color.py b/lib/threads/color.py
index 85c8948c..458752da 100644
--- a/lib/threads/color.py
+++ b/lib/threads/color.py
@@ -7,9 +7,10 @@ import colorsys
import re
import tinycss2.color3
-from inkex import Color
from pyembroidery.EmbThread import EmbThread
+from inkex import Color
+
class ThreadColor(object):
hex_str_re = re.compile('#([0-9a-z]{3}|[0-9a-z]{6})', re.I)