STIC:Data visualization with machine embroidery

The educational technology and digital learning wiki
Jump to navigation Jump to search
PR1050X and me @ Geneva book fair 2018

This page contains a copy (access restricted) of a 2h workshop given at the Seminar on Data Physicalization October 28 – November 2 , 2018.

Program

  • Motivation and perspectives
  • Workflow(s) of computerized embroidery )
  • Typology of embroidery stitch types
  • Physical embroidery constraints (resolution, layers, tissue, size, etc.)
  • Hands-on InkStitch tutorial

Motivation for using embroidery in education

(5m)

2018 Geneva Science Fair

Affordances (for me)

  • Medium to teach: programming (Brady, 2017), vector drawing, mathematics, art, environmental issues, etc. (STEAM)
  • "Doing" stimulates problem solving, planning, cooperation, and develops metacognitive skills (Blikstein, 2013).
  • There is a demand for design thinking, design skills (Barlex, 2011).
  • Teachers (maybe) can create or adapt constructionist learning objects (Zuckerman, 2006, Schneider et al, 2017).
  • It motivates because it leads to a product (Kostakis, 2015)
  • It is an expressive medium for conveying ideas (e.g. data physicalisation)
hand drawing and its digitzed version

Practical reasons

  • Machine embroidery is working technology (since the 19th century)
  • It does not pollute much
  • People like it and seem to like learning it. Data from a science faire outreach event:
    N=78 (M_age=18.10, SD_age=14.18, 47 F).
    On a 7-point scale, mean interest of embroidery activity = 6,91 SD=0.29.

My experience so far

Prior to the workshop / downloads

  • Participants should install beforehand:
    1. Inkscape (an open source drawing program)
    2. the InkStitch Extension. Warning. Make very sure to unzip the InkStitch archive into the extensions folder. Inkscape->Edit->Preferences->System will tell you where it is on your machine.

Installation prior to the workshop is particularly recommended for Mac users, since the installation of Inkscape is a bit more difficult, i.e. you may have to install X. Make very sure to read the instructions at the bottom of this download page after you confirmed downloading InkScape. Do not install it, before you installed XQuartz (an X Windows implementation for the Mac).

Workflow(s) of computerized embroidery

(10 min)

A typical "workflow" for creating an embroidery includes the following steps.

  • Create a drawing (by hand or with a drawing software) or download an image
  • Import the drawing into an embroidery software
  • Convert to editable vector drawing format, if the drawing is in raster format
  • Adapt the drawing to the constraints of the embroidery (eliminate the fine details, reduce the colors)
  • Transform the drawing into "embroidery objects". An embroidery object defines an area for which embroidery stitches will be generated, according to various parameters
  • Adjust / re-adjust these embroidery objects (embroidery types, stitch density, patterns, embroidery order, etc.)
  • Convert to executable format for a machine brand (.pes, .art, .jef, .dst etc.)
  • Stabilize and hoop the fabric.
  • Stitch the design (load it into a machine)
Simple workflow model of machine embroidery design

Typology of embroidery stitch types

(5min)

We could distinguish five main stitch types:

  1. Manual stitches, mostly used to fix some automatically generated stitches
  2. Running stitches, mostly used for stitching lines or outlines
  3. Satin stitches are used to stitch wider lines and so-called columns (narrow areas). Typically, a dense zigzag stitch is used.
  4. Fill stitches, based on a regular pattern are used to fill in larger areas, i.e. polygons that may have holes
  5. Programmable or specialty stitches can define any sort of imaginable filling strategy, e.g. cross-stitches, radial stitches, little stars...
Basic stitch types and variants in machine embroidery
Basic stitch types in machine embroidery - simulation of the above

In addition there some auxiliary stitches:

  • Jump stitches (i.e. no stitches), to get from one point to another. Those can be manually cut away once the machine has embroidered the pattern.
  • Lock stitches should be used at the end of all elements (in particular columns and fills)
Elna 8300 (Geneva Health Forum)

Embroidery machines and physical constraints (resolution, layers, tissue, size, etc.)

(5 min)

  • A tissue is fixed within a frame that moves in X/Y direction while a needle goes up and down (same needle mechanism as a sewing machine)
  • Size of embroidery is limited to size of embroidery frames, e.g. 14.0 x 20.0 cm on a smaller machine. Semi-professional machines can do more, e.g. 36.0 x 20.0cm, but large embroidery is very time-consuming and tricky.
  • Smallest resolution is about 1/4 mm, i.e. a typical sating stitch or fill pattern uses 4-5 threads / mm.
  • Tiny letters are ugly
  • Most fabrics need to be stabilized during embroidery
  • T-shirts and other elastic tissues are difficult (need a permanent stabilizer)
  • You should not stitch more than three layers. Even two layers is too much most of the times.
  • You cannot fill large surfaces. Use some programmable stitch for that.

Hands-on: Using InkStitch (a free extension to the free Inscape program)

(40 min)

Basic use

(1) Draw an object, e.g. a circle

(2) Keep either stroke or path (not both).

Menu Object -> Fill and Stroke. Look at the tabs (fill, stroke paint, stroke type)!
If you need both fill and stroke, duplicate the object and keep the fill of one and the stroke of the other

(3) Transform the object to an SVG path object (InkStitch only can deal with <path d=..../>

Menu Path -> Object to Path

(4) Adapt / parametrize the object (see below for details)

Extensions -> Ink/Stitch -> English -> Params

(5) Simulate, print or create a stitch file

Simulation: Menu Extensions -> Ink/Stitch -> English -> Simulate
PDF file with visualisation: Menu Extensions -> Ink/Stitch -> English -> Print
Create a stitch file: Menu Extensions -> Ink/Stitch -> English -> Embroidery. Alternatively, you also can use menu file -> Save a copy
Tip: after using the embroidery command, you will have to unhide drawing layers. In the same way, do not create an InkStitch file from the Stitch Plan

Create running stitches

  • Use or draw a line
  • Make it dotted (Object->Fill and stroke; Stroke style tab -> Dashes)
  • Select this object and parametrize (e.g. multiply the stitches)

Create fills

  • Use any fill area (again: we suggest removing the stroke). Make sure to translate to path.
  • Select this object and parametrize: Extensions -> Ink/Stitch -> English -> Params.
  • Set angle (direction of stitched lines)¨
  • Define an underlay (tick the box in the tab)

Satin stitch principles

Satin stitches are the "essence " of embroidery. Unfortunately a little bit more difficult to do.

  • Default zigzag stitch for fat strokes is ugly. Avoid using it.

A satin column is defined by:

  • A single SVG path, also called rail
  • Containing two sub-path lines that go in the same direction
  • The two sub-paths must have either an identical number of nodes or rungs
Satin column with rungs
Satin column without rungs (even number of nodes)

Getting such a path can be a bit difficult, in particular if you start from a polygon contour. In these cases, convert the stroke to path, remove the fill, adjust stroke size, cut the lines, and reverse the direction of one of the rails. So let's do something simpler, i.e. create a satin stitch from a line.

Create a satin stitch from a line

  • Draw a line that has a good width for satin stitches, e.g. between 2 and 6mm. Also, the line cannot have overlaps. E.g.
Draw freehand line (F6) Icon in the toolbar to the left
Smooth it: CTRL-L
Adapt thickness (Fill and Stroke, Stroke style tab)
  • Select this object (verify that it is a stroke and not a shape with stroke and fills)
  • Use the Extensions->Ink/Stitch->English->Convert line to Satin command.
A simple stroke (before)
A simple satin column
  • Parameterize as satin column: Extensions->Embroidery->Params
    • Select the Satin Column tab
    • Tick Custom satin column
  • If you are not happy with the stitch directions, add some extra rungs: Edit path tool (F2), hold SHIFT key and draw lines that intersect both rails. With the free hand tool: SHFIT click + SHIFT click
Parametrize satin stitch

Tip:

  • The old object will be destroyed.
  • We suggest making a copy of it and putting it in a separate "Artwork" layer.

Create other forms of satin stitches

Just make sure to have a single path with two long lines that

  • do not cross over themselves
  • do go in the same direction
  • have rungs

Tip: Use Path->Combine to combine two lines into a single path,

Examples can be found here

Example code

Hands-on: Generating, importing and adopting appropriate SVG graphics

(30 min)

There are three major resources for SVG graphics

Before importing, understand that:

  • Embroidery resolution is low
  • You cannot stitch more than 2 layers
  • Ink/Stitch cannot handle weird geometry (non polygons like a figure 8)

Some operations that can help:

Menu Object -> Break apart
Various subtractive geometry operations, e.g. Path -> Difference

Highchart examples:

Links

Debriefing

We had about 6 active participants. The session started a bit late, but we managed to cover most aspects.

  • Participants are familiar with the basic workflow of machine embroidery design and understand materials aspects.
  • Participants understand the process of creating an embroidery file.
  • Some participants had good hands-on experience with InkStitch, a new open-source platform. Inkscape was too difficult to install on a Mac.
  • Some participants had trouble accessing the wiki page on the Dagstuhl wiki.
  • All or most participants expressed interest to learn more. This converges with data we collected from outreach events, e.g. the Geneva science fair.
  • Potential of machine embroidery in dataphys should be further explored and should go beyond stitching charts, e.g. make use of traditional or logo design patterns.
  • Embroidery may have good potential for activism and identity building.