Difference between revisions of "InkStitch - installation"
|Line 19:||Line 19:|
== Installation ==
== Installation ==
This extension software was first tested with Ubuntu 16x and Windows 10 on May 3 2018. We managed to produce embroidery files for both Linux and Windows.
This extension software was first tested with Ubuntu 16x and Windows 10 on May 3 2018. We managed to produce embroidery files for both Linux and Windows. Ink/Stitch is an extension of the [[Inkscape]] drawing program, you will have to install a recent version of Inkscape. See the next item.
=== Inkscape installation ===
=== Inkscape installation ===
Revision as of 15:30, 20 April 2022
This extension software was first tested with Ubuntu 16x and Windows 10 on May 3 2018. We managed to produce embroidery files for both Linux and Windows. As of 2022 Ink/Stitch has come a long way and can be used for a large variety of high-quality embroidery projects. Because Ink/Stitch is an extension of the Inkscape drawing program, you will have to install a recent version of Inkscape. See the next item.
1.1 Inkscape installation
Install Inkscape if it is not already installed on your computer. This software runs on Windows (all versions), MacOS, and Linux. We also recommend using the latest stable InkScape version, e.g. in October 2020 it was 1.0.1. So, before installing Ink/Stitch, de-install your old Inkscape, then reinstall Inkscape first. Download link (Windows, Mac, some Linux)
- https://inkscape.org/en/ (home page of Inkscape, follow the download links)
Use the installer. For Windows 10/11, we recommend the 64bit exe version.
1.2 First time Ink/Stitch base installation
Follow the instructions at http://inkstitch.org
Once you installed the extension, restart Inkscape.
Windows 10 trouble shooting
If you use a high level of Windows Defender protection, you may run into trouble and you may have to white list the extension directory.
- Go to Start > Settings > Updates & Security > Windows Security > Virus & threat protection > Virus & threat protection settings > Add or remove exclusions.
Alternatively, lower the protection threshold (and then avoid downloading random bullshit). In the windows Defender Security Center:
- Set App&Browser control -> Check apps and files to "Warn"
- Set Virus&threat protection -> Virus & threat protection settings -> Controlled Folder access to "Off"
1.3 Ink/Stitch add-ons installation (do not forget!)
At some point you may want to install color palettes and extra lettering modules.
- Go to
Extensions > Ink/Stitch >
In case you already have an old Ink/Stitch installation (prior to 2022), you will have to uninstall it manually, i.e. remove the files from the inkscape extension directory.
1.5 Language files
For people with system administration skills (only): Let us assume that you contribute to the translation effort at . You can test the translation file by replacing the "*.mo" file in your language directory.
- Get a po file from a recent developer version, e.g. the master branch
- create a *.mo from a *.po file, under Linux do something like.
msgfmt -o inkstitch.mo messages_fr_FR.po
- Backup file inkscape/extensions/inkstitch/bin/locales/fr_FR directory/inkstitch.mo to inkstitch.mo.old
- Copy the file to the inkscape/extensions/inkstitch/bin/locales/fr_FR directory
Language of downloaded Inkstitch files should match language of Inscape and language of OS.
Your can set the language in Inkscape:
Edit -> Preferences -> Interface -
2.2 Show path outlines and directions
In order to create satin columns it is crucial to be able to see the direction of path lines.
To see directions, set
Show path direction on outline in Edit -> Preferences -> Tools -> Node
The official InkStitch documentaiton recommends defining shortcuts as follows:
Open Edit > Preferences. Then select Interface -> Keyboard Shortcuts
- Search for “params”. You will find it under Extensions. To its right, click into the field below the Shortcut column and enter Control + Shift + C.
- Search for “simulate” and enter Control + Shift + L
- Search “Reverse” (under Selection) and enter Control + R
- And finally Page down for “stack down” and Page up for “stack up”. The object at the bottom of the objects list (Object -> Objects) will stitch first.
The XML shortcuts sub page contains an extended list of shortcuts made by Laure Doisneau plus her explanations
2.4 Units and grids
We suggest always working in mm (if you are familiar with metric units)
3 Mediawiki compatibility of SVG files
For now, some InkStitch files (e.g. the ones that include previewing information) cannot be imported into a Mediawiki because Mediawikis only allow whitelisted namespace. I filed a request at the wikimedia phabricator but don't know if it may interest a developer.
There are two workarounds:
(1) Fix the SVG file
- Remove the namespace elements with a text editor from the SVG, i.e. the declaration in the beginning and the section at the end of the metadata
(2) Modify the mediawiki code
- In file
./includes/upload/UploadBase.phparound line 1360, add the namespace, eg.