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. --- inkstitch.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inkstitch.py') diff --git a/inkstitch.py b/inkstitch.py index 1a7b1468..9b040265 100644 --- a/inkstitch.py +++ b/inkstitch.py @@ -19,6 +19,16 @@ ch.setFormatter(formatter) logger.addHandler(ch) +logger = logging.getLogger('shapely.geos') +logger.setLevel(logging.DEBUG) +shapely_errors = StringIO() +ch = logging.StreamHandler(shapely_errors) +ch.setLevel(logging.DEBUG) +formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s') +ch.setFormatter(formatter) +logger.addHandler(ch) + + parser = ArgumentParser() parser.add_argument("--extension") my_args, remaining_args = parser.parse_known_args() -- cgit v1.2.3