summaryrefslogtreecommitdiff
path: root/lib/inx/extensions.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 21:05:59 -0400
committerGitHub <noreply@github.com>2018-08-24 21:05:59 -0400
commit6f425f7b3e602e2356ebaba2a5d3b240729c5396 (patch)
tree7e29f10f13d63a539b4814a14fecf946ea798f92 /lib/inx/extensions.py
parent1de8487849a3f8f55d126e2687d690226e657fde (diff)
parent77177f9b55f57d1373408b3dc619a53fe45d00ce (diff)
Merge pull request #293 from inkstitch/lexelby/origin-and-stop-position
origin and stop position
Diffstat (limited to 'lib/inx/extensions.py')
-rwxr-xr-xlib/inx/extensions.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/inx/extensions.py b/lib/inx/extensions.py
index 4b4b3c13..d1a0c7f3 100755
--- a/lib/inx/extensions.py
+++ b/lib/inx/extensions.py
@@ -3,7 +3,7 @@ import pyembroidery
from .utils import build_environment, write_inx_file
from .outputs import pyembroidery_output_formats
from ..extensions import extensions, Input, Output
-from ..commands import LAYER_COMMANDS, OBJECT_COMMANDS, COMMANDS
+from ..commands import LAYER_COMMANDS, OBJECT_COMMANDS, GLOBAL_COMMANDS, COMMANDS
def layer_commands():
@@ -13,6 +13,10 @@ def layer_commands():
return [(command, COMMANDS[command]) for command in LAYER_COMMANDS]
+def global_commands():
+ return [(command, COMMANDS[command]) for command in GLOBAL_COMMANDS]
+
+
def object_commands():
return [(command, COMMANDS[command]) for command in OBJECT_COMMANDS]
@@ -35,4 +39,5 @@ def generate_extension_inx_files():
write_inx_file(name, template.render(formats=pyembroidery_output_formats(),
debug_formats=pyembroidery_debug_formats(),
layer_commands=layer_commands(),
- object_commands=object_commands()))
+ object_commands=object_commands(),
+ global_commands=global_commands()))