InkStitch: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 64: Line 64:
* [[Embroidery glossary]] and [[Concepts of computerized embroidery]]
* [[Embroidery glossary]] and [[Concepts of computerized embroidery]]
* [[Computerized embroidery in education]]
* [[Computerized embroidery in education]]
== Installation ==
This extension software was tested with Ubuntu 16x and Windows 10 on May 3 2018. We managed to produce embroidery files for both Linux and Windows. Since 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 ===
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 May 2018 it was 0.92.3. So, before installing Ink/Stitch, '''upgrade''' your Inkscape first.
'''Download link (Windows, Mac, some Linux)'''
* https://inkscape.org/en/ (home page of Inkscape, follow the download links)
==== Windows ====
Take the desktop version, not the app store version, i.e. 64-bit-architecture
If you got a high resolution screen, then use the two following strategies:
* Within Inkscape, use <code>Edit->Preferences->Interface</code> to set icon sizes. I use "large"
* Also, in the same settings, adjust the zoom correction factor to make the display wysiwyg. I use 147. If you look at a drawing with 1:1 zoom, the dimensions in mm should be correct if you measure it with a ruler.
In '''addition''', for smaller screens (13 to 77'' as opposed to 32''), you may have to fix InkScape Properties through Windows
* Right-click on the InkScape shortcut on your desktop, and select <code>Properties</code>
* Select Compatibility TAB and click on <code>Change high DPI settings</code>. Then, play with the settings. I use the following ones for my little DELL XPS 15 that has a 4K screen.
[[file:Inkscape-high-DPI-setting.png|thumb|600px|none|Fixing DPI resolution of the GUI on Windows 4K laptops]]
This can help with other programs too.
==== Ubuntu ====
Ubuntu users may have to use Inkscape's official Personal Package Archive (PPA). E.g., by default, Ubuntu 16.04LTS distributes an old 0.91 version that lacks the object browser. So, open a terminal and add the repository, then upgrade
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt upgrade
==== Mac ====
Installation on a Mac is more difficult since it requires installation of the Unix/Linux graphics layer X that Mac no longer supports by default.....
For example, read the [https://inkscape.org/release/inkscape-0.92.2/mac-os-x/107/dmg/dl/ instructions] for the 0.92 download. As of Jan 2019, version 0.93 is not yet supported.
=== First time Ink/Stitch base installation ===
Ink/Stitch is the embroidery platform that you must install as Inkscape extension.
'''Download the Ink/Stitch extension files'''
* Download the [https://github.com/lexelby/inkstitch/releases/latest latest release]
* De-archive in the personal extension folder of Inkscape. Make sure that the files extract into the extensions folder, e.g. you should see some *.inx files, inkstitch.py, plus an inkstitch directory.
'''Installation under Ubuntu'''
* Extract files to <code> ~/.config/inkscape/extensions</code>
cd ~/.config/inkscape/extensions
tar zxf ~/Downloads/inkstitch-v1.0.0-Linux-x86_64.tar.gz
'''Installation under Win 10'''
* Unhide the AppData directory (go to c:\users\__your_home__\, e.g. c:\users\janet
* Unzip in c:\users\__you__\AppData\Roaming\inkscape\extensions
If this does not work, check where the extension folder is in <code>Inkscape: Edit->Preferences->System</code>. You also can change the directory, e.g. if you have trouble making the AppData directory visible or if Windows Defender makes your life difficult.
Once you installed the extension, restart Inkscape.
If you use a very 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"
=== Ink/Stitch add-ons installation (do not forget!) ===
There are some add-ons, e.g. installing trim/stop commands, color palettes and visualization of embroidery commands that require copying files. Read more in the [https://inkstitch.org/docs/addons/ official manual].
* Go to <code>Extensions > Embroidery > Install add-ons for Inkscape</code>
* Click <code>Install</code>
* Restart Inkscape
=== Upgrades ===
You may have to delete the old extension files first. The download page will tell you so if needed. Go to the extension directory and kill each embroidery* and inkstitch* file. Then, proceed as above. But normally, we repeat, you will not have to do that. Just unzip the archive to extension folder again.
=== Mediawiki compatibility ===
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 [https://phabricator.wikimedia.org/T197595 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 <code>./includes/upload/UploadBase.php</code> around line 1360, add the namespace, eg.
'http://creativecommons.org/ns#',
'http://inkstitch.org/namespace',
'http://inkscape.sourceforge.net/dtd/sodipodi-0.dtd',
I will try to have this included in future mediawiki versions - [[User:Daniel K. Schneider|Daniel K. Schneider]] ([[User talk:Daniel K. Schneider|talk]]) 11:22, 14 June 2018 (CEST)


== Copyright modification ==
== Copyright modification ==

Revision as of 17:34, 13 June 2019

Machine embroidery
Module: InkStitch
▬▶
to improve beginner
2019/06/13 ⚒⚒ 2018/06/05
Objectives
  • Understand the purpose of InkStitch
  • Install InkStitch
  • Run a InkStitch annotated SVG file
See also
  • [[Computerized embroidery InkStitch - basic use]]

Objectives

  • Understand the purpose of InkStitch
  • Install InkStitch
  • Run a InkStitch annotated SVG file

See also

  • [[Computerized embroidery InkStitch - basic use]]
  • Quality: to improve
  • Difficulty: beginner



 Property "See also" (as page type) with input value "Computerized embroidery</br>InkStitch - basic use" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

Introduction

Ink/Stitch is an Inkscape extension for designing machine embroidery patterns and machine embroidery files. Ink/Stitch is in our opinion the best open source and free embroidery digitizing software. It offers good basic functionality and can be used in schools to teach both vector graphics and design. - Daniel K. Schneider 20 July 2018

According to the extension page, “Select objects that you want to apply embroidery properties and using the extension, set the parameters for the desired object(s). Once all desired objects have embroidery properties, use the extension to generate the necessary stitch file.”

According to the project page, “Ink/Stitch aims to be a full-fledged embroidery digitizing platform based entirely on free, open source software. Our goal is to be approachable for hobbyists while also providing the power needed by professional digitizers.”

List of tutorials

You also can use the navigation menu to the right

Print version

Warnings and disclaimers:

  • This page is not associated with the InkStitch project. Please also read the documentation (including tutorials) in the official site. We just made a little tutorial while we were learning and testing this extension.
  • Some screenshots were made from early versions. Since the project took off during late sprint/summer 2018, changes were made to the interface and others may follow. Please take this into account. Over time, we will adapt most of the documentation...

Features

As far as we can tell, the Ink/Stitch extension is the first usable open source program that allows creating embroidery files within an open source drawing tool. Summarizing:

  • Ink/Stitch allows creating stitch files from particular SVG drawings, i.e. so-called path. Any SVG object can be translated into a path object.
  • SVG fills can translate to filled stitch areas (i.e. tatami stitches), SVG strokes can translate to zigzag (simple satin) and lines. Finally, there is a mechanism to create satin columns from paths that include two sub-path lines.
  • SVG path objects can be parametrized for all of these four stitch types (filled areas, simple zigzags, complex satin zigzags, or lines). Various underlays can be configured, e.g. satin stitches can have three sorts (a center line, border lines or a zigzag).
  • Most embroidery formats can be imported, reused and adapted using Inkscape's path tool (F2).
  • InkStitch also supports thread color and project management.

As of December 16, 2018 the latest release was 1.21.0. We strongly encourage using the latest version and checking regularly for updates.

See also:

Copyright modification

Contents of this page including pictures and SVG files are also available under the GNU Free Documentation License and the Attribution 4.0 International (CC BY 4.0) license.

The Inkstitch project can use any element (text fragments, SVG files, pictures) for the project's official docs without giving attribution (just copy and paste).