From f5c85183d9c874fca806917e50992daea4101496 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 14 Nov 2018 20:23:06 -0500 Subject: basic lettering (#344) Can handle multiple lines of text and routes the stitching in alternating directions on each line. --- lib/extensions/embroider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/extensions/embroider.py') diff --git a/lib/extensions/embroider.py b/lib/extensions/embroider.py index 7c8adfc9..1a578031 100644 --- a/lib/extensions/embroider.py +++ b/lib/extensions/embroider.py @@ -1,15 +1,15 @@ import os -from .base import InkstitchExtension from ..i18n import _ from ..output import write_embroidery_file from ..stitch_plan import patches_to_stitch_plan from ..svg import render_stitch_plan, PIXELS_PER_MM +from .base import InkstitchExtension class Embroider(InkstitchExtension): def __init__(self, *args, **kwargs): - InkstitchExtension.__init__(self) + InkstitchExtension.__init__(self, *args, **kwargs) self.OptionParser.add_option("-c", "--collapse_len_mm", action="store", type="float", dest="collapse_length_mm", default=3.0, -- cgit v1.2.3