kopia lustrzana https://github.com/inkstitch/inkstitch
20 wiersze
493 B
Plaintext
20 wiersze
493 B
Plaintext
![]() |
#!/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_readerState(curFormat)
|
||
![]() |
|
||
|
if writerState.strip() and embFormat_type(curFormat) != EMBFORMAT_OBJECTONLY:
|
||
![]() |
print extension
|
||
![]() |
|
||
|
curFormat = curFormat.next
|
||
|
|