diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-11-14 20:23:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-14 20:23:06 -0500 |
| commit | f5c85183d9c874fca806917e50992daea4101496 (patch) | |
| tree | a2450e2e37a7d94625a917240e78eadc939fd65b /inkstitch.py | |
| parent | 238ad843dd658de6c7afd5b8697c0e080b1cf965 (diff) | |
basic lettering (#344)
Can handle multiple lines of text and routes the stitching in alternating directions on each line.
Diffstat (limited to 'inkstitch.py')
| -rw-r--r-- | inkstitch.py | 10 |
1 files changed, 10 insertions, 0 deletions
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() |
