aboutsummaryrefslogtreecommitdiff
path: root/bin/gen-format-list
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-04-15 19:40:46 -0400
committerGitHub <noreply@github.com>2018-04-15 19:40:46 -0400
commitb134a8dafad390f9c197d9439669db7001f4e8d8 (patch)
tree338fd72785708189dbbdf7cd06f4f0f8f90717d9 /bin/gen-format-list
parent69c64bf3a7619b070768d68ccecf62bb97306864 (diff)
parent28e2250d8c937e1c7dcd114b6392b1a0f90251da (diff)
Merge pull request #145 from lexelby/lexelby-embroidery-input
input extension for all libembroidery-supported formats
Diffstat (limited to 'bin/gen-format-list')
-rwxr-xr-xbin/gen-format-list19
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
-