summaryrefslogtreecommitdiff
path: root/lib/inx
diff options
context:
space:
mode:
authorKaalleen <reni@allenka.de>2021-06-27 22:47:43 +0200
committerKaalleen <reni@allenka.de>2021-06-27 22:47:43 +0200
commit2f54ff2a436f2774bfdc730b6e95c43f18ed81ac (patch)
tree638565e7ba94a12afcdafb0ab896246c4860c751 /lib/inx
parentc602c4c517cab40dfc2dc7dbc5c29c037cccafae (diff)
group command extension
Diffstat (limited to 'lib/inx')
-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 9a197c5d..8ca0addc 100755
--- a/lib/inx/extensions.py
+++ b/lib/inx/extensions.py
@@ -5,8 +5,8 @@
import pyembroidery
-from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS,
- OBJECT_COMMANDS)
+from ..commands import (COMMANDS, GLOBAL_COMMANDS, GROUP_COMMANDS,
+ LAYER_COMMANDS, OBJECT_COMMANDS)
from ..extensions import Input, Output, extensions
from ..threads import ThreadCatalog
from .outputs import pyembroidery_output_formats
@@ -24,6 +24,10 @@ def global_commands():
return [(command, COMMANDS[command]) for command in GLOBAL_COMMANDS]
+def group_commands():
+ return [(command, COMMANDS[command]) for command in GROUP_COMMANDS]
+
+
def object_commands():
return [(command, COMMANDS[command]) for command in OBJECT_COMMANDS]
@@ -51,6 +55,7 @@ def generate_extension_inx_files():
write_inx_file(name, template.render(formats=pyembroidery_output_formats(),
debug_formats=pyembroidery_debug_formats(),
threadcatalog=threadcatalog(),
+ group_commands=group_commands(),
layer_commands=layer_commands(),
object_commands=object_commands(),
global_commands=global_commands()))