summaryrefslogtreecommitdiff
path: root/lib/commands.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-12-07 15:20:11 +0100
committerGitHub <noreply@github.com>2024-12-07 15:20:11 +0100
commitb0105196889a463579aab21cd29bbf1abb96dab1 (patch)
treeee99321edd4fd1590430d3003e40468c6289dc7e /lib/commands.py
parent154309906f34bc3213eb4775dbebc58a1ec7f779 (diff)
Enable start end commands for satins (#3315)
Updates commands fill_start (_end) => starting_point (_end) stain_start (_end) and run_start (_end) => autoroute_start ripple_target => target_point Sets inkstitch svg version to 3
Diffstat (limited to 'lib/commands.py')
-rw-r--r--lib/commands.py20
1 files changed, 7 insertions, 13 deletions
diff --git a/lib/commands.py b/lib/commands.py
index 83798f10..a0d81dce 100644
--- a/lib/commands.py
+++ b/lib/commands.py
@@ -24,25 +24,19 @@ from .utils import Point, cache, get_bundled_dir
COMMANDS = {
# L10N command attached to an object
- "fill_start": N_("Fill stitch starting position"),
+ "starting_point": N_("Starting position"),
# L10N command attached to an object
- "fill_end": N_("Fill stitch ending position"),
+ "ending_point": N_("Ending position"),
# L10N command attached to an object
- "ripple_target": N_("Target position"),
+ "target_point": N_("Target position"),
# L10N command attached to an object
- "run_start": N_("Auto-route running stitch starting position"),
+ "autoroute_start": N_("Auto-route starting position"),
# L10N command attached to an object
- "run_end": N_("Auto-route running stitch ending position"),
-
- # L10N command attached to an object
- "satin_start": N_("Auto-route satin stitch starting position"),
-
- # L10N command attached to an object
- "satin_end": N_("Auto-route satin stitch ending position"),
+ "autoroute_end": N_("Auto-route ending position"),
# L10N command attached to an object
"stop": N_("Stop (pause machine) after sewing this object"),
@@ -66,9 +60,9 @@ COMMANDS = {
"stop_position": N_("Jump destination for Stop commands (a.k.a. \"Frame Out position\")."),
}
-OBJECT_COMMANDS = ["fill_start", "fill_end", "ripple_target", "run_start", "run_end", "satin_start", "satin_end",
+OBJECT_COMMANDS = ["starting_point", "ending_point", "target_point", "autoroute_start", "autoroute_end",
"stop", "trim", "ignore_object", "satin_cut_point"]
-FREE_MOVEMENT_OBJECT_COMMANDS = ["run_start", "run_end", "satin_start", "satin_end"]
+FREE_MOVEMENT_OBJECT_COMMANDS = ["autoroute_start", "autoroute_end"]
LAYER_COMMANDS = ["ignore_layer"]
GLOBAL_COMMANDS = ["origin", "stop_position"]