summaryrefslogtreecommitdiff
path: root/lib/elements/pattern.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/elements/pattern.py')
-rw-r--r--lib/elements/pattern.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/elements/pattern.py b/lib/elements/pattern.py
deleted file mode 100644
index 4b92d366..00000000
--- a/lib/elements/pattern.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# Authors: see git history
-#
-# Copyright (c) 2010 Authors
-# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
-
-import inkex
-
-from ..i18n import _
-from .element import EmbroideryElement
-from .validation import ObjectTypeWarning
-
-
-class PatternWarning(ObjectTypeWarning):
- name = _("Pattern Element")
- description = _("This element will not be embroidered. "
- "It will appear as a pattern applied to objects in the same group as it. "
- "Objects in sub-groups will be ignored.")
- steps_to_solve = [
- _("To disable pattern mode, remove the pattern marker:"),
- _('* Open the Fill and Stroke panel (Objects > Fill and Stroke)'),
- _('* Go to the Stroke style tab'),
- _('* Under "Markers" choose the first (empty) option in the first dropdown list.')
- ]
-
-
-class PatternObject(EmbroideryElement):
-
- def validation_warnings(self):
- repr_point = next(inkex.Path(self.parse_path()).end_points)
- yield PatternWarning(repr_point)
-
- def to_stitch_groups(self, last_patch):
- return []