diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-06 19:55:53 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-09 20:15:56 -0400 |
| commit | dfbe6f9c0f12be693454390f5e92bb3dd06661cf (patch) | |
| tree | e38aaa376d6acd83a95f47804c0906f2497c3915 /bin/gen-format-list | |
| parent | 69c64bf3a7619b070768d68ccecf62bb97306864 (diff) | |
embroider_input.py: input extension to read embroidery formats
Diffstat (limited to 'bin/gen-format-list')
| -rwxr-xr-x | bin/gen-format-list | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/bin/gen-format-list b/bin/gen-format-list deleted file mode 100755 index 674813bb..00000000 --- a/bin/gen-format-list +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -import sys - -sys.path.append('embroidermodder/experimental/python/binding') -from libembroidery import * - -formatList = embFormatList_create() -curFormat = formatList -while(curFormat): - extension = embFormat_extension(curFormat) - description = embFormat_description(curFormat) - writerState = embFormat_writerState(curFormat) - - if writerState.strip() and embFormat_type(curFormat) != EMBFORMAT_OBJECTONLY: - print '<_option value="%s">%s(%s)</_option>' % (extension[1:], description, extension.upper()) - - curFormat = curFormat.next - |
