From acaebaa956006a0fa064c2361b47f902a8a50b77 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 23 Jan 2018 20:13:37 -0500 Subject: 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 --- bin/embroider-remote | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 bin/embroider-remote (limited to 'bin/embroider-remote') 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 :(' -- cgit v1.2.3