summaryrefslogtreecommitdiff
path: root/bin/embroider-remote
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-01-23 20:13:37 -0500
committerGitHub <noreply@github.com>2018-01-23 20:13:37 -0500
commitacaebaa956006a0fa064c2361b47f902a8a50b77 (patch)
treee4278dd088d82bbc9830b9281accc9d813bd8dd8 /bin/embroider-remote
parent462bf0bdbeed8b4a631d2ce6d68df7842a86e5c6 (diff)
add params for "TRIM after" and "STOP after" (#29)
* adds new options to Params: "TRIM after" and "STOP after" * adds tooltip support to Params * inkstitch now includes libembroidery and can directly output any supported file type * this avoids the need for `libembroidery-convert` and compiling embroidermodder! * TRIM support for DST format (inserts 3 JUMPs) * STOP command supported as an extra color change that the operator can assign to code C00 * TRIMs cause the following jump stitch not to be displayed in the Embroidery layer
Diffstat (limited to 'bin/embroider-remote')
-rwxr-xr-xbin/embroider-remote27
1 files changed, 0 insertions, 27 deletions
diff --git a/bin/embroider-remote b/bin/embroider-remote
deleted file mode 100755
index 2b943fe5..00000000
--- a/bin/embroider-remote
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-# This tool converts a .CSV file to a .PES file and uploads it to my embroidery
-# machine, which is connected to my home server. This way, I can embroider from my
-# laptop over my wifi without having to connect the sewing machine to my laptop every
-# time.
-
-# /etc/fstab entry: /dev/disk/by-id/usb-B-EMB_USB_RAM_Disk_INST_0-0:0-part1 /mnt/embroidery vfat user,uid=1000,gid=1000,nobootwait,noauto 0 0
-
-HOST=myhomeserver.local
-
-set -e
-
-if [[ "$1" == *.csv ]]; then
- pes=$(mktemp /tmp/XXXXXXXXXXX.pes)
- libembroidery-convert "$1" "$pes"
- file="$pes"
-else
- file="$1"
-fi
-
-cat "$file" | ssh $HOST "
- mount /mnt/embroidery &&
- rm -f /mnt/embroidery/* &&
- cat > /mnt/embroidery/embroidery.pes &&
- umount /mnt/embroidery" \
- || echo 'failed to upload embroidery :('