Table des matières

Inkscape embroidery & Embroider-modder

Une des solutions permettant de créer des fichier de broderies avec des logiciels libres est d'utiliser le plugin inkscape-embroidery poud définir les tracés et les points, puis d'utiliser embroider-modder pour convertir la sortie du plugin au format PES utilisé par la machine.

Le plugin inkscape-embroidery n'ets plus maintenenu et est maintenant remplacé par Ink/Stitch, qui ne nécessite plus l'utilisation d'embroider-modder

Embroidermodder

Si vous souhaitez installer le logiciel sur Windows, télécharger l'installeur à l'adresse suivante : http://embroidermodder.org/downloads.html

Installation du logiciel libre Embroidermodder permettant de créer des fichiers de broderie numérique.

Installation des dépendances

sudo apt-get install git build-essential qt4-dev-tools libqt4-opengl-dev kdelibs5-dev valgrind

Clonage du dépôt git :

cd /tmp
git clone git@github.com:Embroidermodder/Embroidermodder.git

Compilation et installation :

plus de détail sur la doc: Compiling-parts-of-the-project

Installation complète

Cela installe tous les éléments du logiciel pas forcement nécessaire, mais cela permet aussi de prévisualiser les fichiers .pes.

cd Embroidermodder/project-files/qmake
qmake
make
sudo make install
Installation de libembroidery-convert uniquement

Installe seulement le commande libembroidery-convert qui permet de convertir les format de fichier de broderie.

cd Embroidermodder/libembroidery-convert
qmake
make
sudo make install

Quick Use

Les unités n'ont pas l'air claires, j'ai utilisé Inkscape 0.92 qui est en 96dpi, mon fichier etant configuré en mm, pour ce premier test j'ai donc indiqué 96/25.400=3.78 dans “Pixels per milimeters” . Après les premiers tests cela semble être correct.

Pistes à explorer :

Plugin Inkscape

Installation effectuée sous linux Mint 18.1

Installation du plugin inkscape-embroidery (le fork).

- Sous Windows:

Extraire les fichiers sur votre ordinateur à l'adresse suivante : C:\Program Files\Inkscape\share\extesions

- Sous Linux :

sudo apt-get install python-shapely python-appdirs
sudo pip install backports.functools_lru_cache

Clonage du dépôt :

cd /tmp
git clone https://github.com/lexelby/inkscape-embroidery

Copie des fichiers vers le répertoire de plugin inkscape :

cp inkscape-embroidery/*.py ~/.config/inkscape/extensions/
cp inkscape-embroidery/*.inx ~/.config/inkscape/extensions/

Le plugin utilise le nom du fichier, s'assurer donc que le fichier dans lequel on travaille a bien été enregistré au moins une fois avant de lancer l'extension

Pistes à explorer

Autres pistes à explorer

Quelques Exemples

Fig. 1: Petit trisquel, fichier .pes généré a l'aide d'inkscape-embroidery et libembroidery-convert(emboider-modder). Fig. 2: Logo fablab avec 3 couleurs, fichier .pes généré a l'aide d'inkscape-embroidery et libembroidery-convert(emboider-modder). Fig. 3: Bourdond d'environs 10x10cm, fichier .pes généré a l'aide d'inkscape-embroidery et libembroidery-convert(emboider-modder).

Logo Fablab

Essais d'un petit logo Fablab monochrome :

Fig. 4: Logo Fablab monochrome à broder Fig. 5: Broderie générée dans Inkscape Fig. 6: Prévisualisation du fichier.pes dans embroidermodder2 Fig. 7: Premier test de broderie, la tentions du fil était mal réglée (on voit le fil blanc de la canette), mais le fichier pes était correct \o/ Fig. 8: Test avec un fichier à trois couleurs, cela fonctionne aussi !

Notes

"#","General Notes:"
"#","This file can be read by Excel or LibreOffice as CSV (Comma Separated Value) or with a text editor."
"#","Lines beginning with # are comments."
"#","Lines beginning with > are variables: [VAR_NAME], [VAR_VALUE]"
"#","Lines beginning with $ are threads: [THREAD_NUMBER], [RED], [GREEN], [BLUE], [DESCRIPTION], [CATALOG_NUMBER]"
"#","Lines beginning with * are stitch entries: [STITCH_TYPE], [X], [Y]"

"#","Stitch Entry Notes:"
"#","STITCH instructs the machine to move to the position [X][Y] and then make a stitch."
"#","JUMP instructs the machine to move to the position [X][Y] without making a stitch."
"#","TRIM instructs the machine to cut the thread before moving to the position [X][Y] without making a stitch."
"#","COLOR instructs the machine to stop temporarily so that the user can change to a different color thread before resuming."
"#","END instructs the machine that the design is completed and there are no further instructions."
"#","UNKNOWN encompasses instructions that may not be supported currently."
"#","[X] and [Y] are absolute coordinates in millimeters (mm)."

"#","[VAR_NAME]","[VAR_VALUE]"
">","STITCH_COUNT:","3"
">","THREAD_COUNT:","65535"
">","EXTENTS_LEFT:","-0.100000"
">","EXTENTS_TOP:","-0.000000"
">","EXTENTS_RIGHT:","0.000000"
">","EXTENTS_BOTTOM:","0.100000"
">","EXTENTS_WIDTH:","0.100000"
">","EXTENTS_HEIGHT:","0.100000"