Skip to content

Open Source Hardware - From Fibers to Fabric

1. Objective

weekly assignment
  • Research and document existing fabrication methods, machines and industries, add references, tutorials and sketches of the hardware you will make
  • Document the process of designing the files for your machine/machine-hack/tool and its fabrication including the assembly process
  • Document the schematic and the software source code (if any)
  • Document the parts and how to make your tool or machine
  • Document your BOM (Bill of materials): electronics, materials, their amount, etcetera (with references of the components)
  • Upload your 3D model and CAM files (if any)
  • Design, create and document a final outcome, a sample project of your process
  • Make a small video of the machine

2. References, research & inspiration

2.1 Inspirations - Chevalier Masson

Chevalier Masson is a textile design duo founded in Brussels in 2006 by Anne Masson (Switzerland) and Éric Chevalier (France). Both are professors at the La Cambre art school in Brussels and place materiality at the very core of their creative process.

• An experimental approach. The duo works "without preconceived ideas about the outcome." Direct manipulation of the material and technical constraints dictate the final form of the object.
• Bridging art, craft, and industry. Their hybrid practice frequently combines industrial processes with traditional artisanal gestures within a single piece.
• A diverse playground. They design everything from one-off pieces, garments, and accessories (such as their famous tong-socks) to monumental installations in collaboration with architects and choreographers.
• Upcycling offcuts. They regularly repurpose salvaged materials or industrial production leftovers to give them a second life.

describe what you see in this image

credit: Chevalier Masson

The project "Drawing with Yarn" (Dessiner avec le fil)

For Chevalier Masson, weaving or knitting is literally a way of drawing with yarn. Rather than applying a pattern to the surface of a finished fabric (through printing or embroidery), they embed the drawing directly into the yarn itself before fabrication even begins.

• Encoding color. They prepare the yarn upstream of production. They tie together strands of wool in different shades (often sourced from offcuts) or selectively dye skeins to create a pre-programmed color sequence.

describe what you see in this image

credit: Chevalier Masson

• Rhythm and unpredictability. During knitting or weaving, this chromatic sequence automatically generates patterns, stripes, and rhythms across the textile surface. This method embraces chance and "unforeseen elements," giving each piece a unique, human vibration.
• Extension through Laend. This ongoing research into chromatic sequencing and drawing with yarn directly inspired Laend, a textile project and label they co-founded in 2014 with designer Diane Steverlynck.

credit: Chevalier Masson

2.2 Previous project

Our project is a continuation of the project carried out at La Green Fabric during Fabricademy 2024.

Here is a summary of the project in 2024:

  • Objectives: The project aims to design an open-source machine capable of printing patterns directly onto yarn before it is knitted, drawing inspiration from the traditional Kasuri and Ikat dyeing techniques.

describe what you see in this image

Objective: Create a pattern while knitting
  • Method: The idea is to color a white string using a marker. When the marker touches the string, that part of the string turns black. By carefully choosing where the string turns black, you can create a pattern.

Marker up - thread remains white

Marker down - thread is colored

  • Implementation: The team repurposed a Prusa 3D printer equipped with a permanent marker and controlled by a Python script that generates G-code from an image, while feeding the yarn using an electric winder. Initial tests revealed pattern misalignments caused by irregularities in the winder’s speed, the natural distortion of knitted stitches, and marking limited to only one side of the yarn.

describe what you see in this image

results
  • Next steps: Future improvements will involve building a custom winder to ensure a constant speed, designing a 3D-printed double-sided dyeing system, and adapting the Python code to automatically resize any image.

3. Tools

4. Process and workflow

The project therefore involves drawing on the thread to create patterns on the fabric made from that thread.

Here is a schematic description of the process:

describe what you see in this image

Here is a summary of how we organized our work during these different days:

Day # Objectives Description
1 Objectives / Means / Manual test Read documentation, choose your tools, do some tests by hand, try out different techniques
2 First machine test Write G-code, perform an initial machine test, learn knitting machine
3 Improvements Create a holder for the marker , code a loop
4 Improvements Improve yarn feeding (create yarn guiding elements, improve Hilo spinner, knitting test)

4.1 Choose tools

The machines

To continue the work started in 2024, we will use the same machines:

  • a 3D printer to move the marker up or down: Ender 3D printer
  • an electric winding machine to unwind the thread to be dyed: Hilo Spinner

Dye method

Just like in 2024, we'll use a black marker to color the white thread. The marker used to dye the thread must be chosen carefully. Ideally, we need to find a marker that:

  • dyes the thread a vibrant color that contrasts sharply with white
  • dyes evenly
  • dries quickly
  • dyes the entire surface of the marker (not just the top)

describe what you see in this image

Ink test using different markers

Conclusions

The selected marker is the coversall signal black 660PI


4.2 Choose fabric technic

The goal here is to see the results that can be achieved with yarn partially dyed using a marker.

By hand, we dyed about 10 meters of yarn using the chosen marker. We tried different types of yarn and different pattern repeats.

describe what you see in this image

Dye thread manually

describe what you see in this image

results with 2/2cm and 6/6cm patterns

We used the yarn to experiment with weaving, crocheting, and machine knitting.

results with machine knitting technic

results with crochet technic

describe what you see in this image

results with weaving technic

Conclusions

  • The technique chosen is machine knitting because it is easy and fast.
  • The yarn chosen is white cotton yarn, which is easy to machine knit and does not break when the carriage passes over it.

4.3 Choose Pattern

After reading the 2024 documentation, conducting our own hand-knitting tests, and discussing the matter with Stéphanie, we decided that it is too complicated to create predefined shapes (such as a circle or a square) using machine knitting. In fact, even when knitting by hand, no one is able to reproduce even a simple shape. Our goal, therefore, is to create a two-tone yarn with equal parts white and black. In fact, we saw from the Chevalier Masson samples that the patterns created with a simple two-tone yarn are beautiful.

describe what you see in this image

2-color yarn - 50/50 ratio

4.4 Control the 3D printer (G-code)

Learn G-code & First tests

Important functions in GCode:

G0 = initialize position
G1 = movement
G2, G3 = arc movements
G4 = Pause the machine for a period of time.
G4 [ P | S ]
Parameters
P:Time to wait, in milliseconds
S: Time to wait, in seconds
G10 - Retract G10: Retract
G20 / G21 = unit selection (21 = mm, 20 = inches)
G91 - Switch on relative mode i.e., Relative Positioning All coordinates from now on are relative to the last position. E axis is left intact. -e.g., Z10 means move up 10 not move to coordinate Z10
G90 - Switch off relative mode G90: Set to Absolute Positioning
e.g., Z10 means move to coordinate Z10, this could be move 0 if already at 10
Parameter F (for G code) = The feedrate per minute of the move between the starting point and ending point (if supplied)


We started with this code to test

G21 F100 ; This says set units to mm  and sets the speed/feedrate to 100 mm/minute

G91 ; relative mode.
G1 X0 Y0 Z+10 ; move up 10mm (in the air)
G4 S2 ; wait 5 seconds 
G1 X0 Y0 Z-10 ; move back up 10mm (on the tray)
G4 S2 ; wait 5 seconds

G1 X20 Y0 Z0 ; make a square part1
G1 X0 Y20 Z0 ; make a square part2
G1 X-20 Y0 Z0 ; make a square part3
G1 X0 Y-20 Z0 ; make a square part4
G4 S5 ; wait 5 seconds

G91 ; Mode relatif
G2 X20 Y0 I10 J0 F1500 ; Premier demi-cercle (va 20 mm à droite)
G2 X-20 Y0 I-10 J0 ; Deuxième demi-cercle (revient 20 mm à gauche au départ)
G4 S5 ; Pause de 5 secondes // wait for a second
Here is a video showing the result on the 3D printer:

G-code to dye yarn

Now that we understand how to write G-code and how it’s used to control the 3D printer, we’re going to write a G-code to color a white filament so that, in the end, we have a filament with equal parts white and black.

Here is the G-code:

G21 F100 ; This says set units to mm  and sets the speed/feedrate to 100 mm/minute
G90 ; absolute mode in case we want to test


G91 ; relative mode.
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds
G1 X0 Y0 Z-10 ; move down 10mm (towards plate)
G4 S1 ; wait 3 seconds
G1 X0 Y0 Z10 ; move up 10mm
G4 S1 ; wait 1 seconds

Here is a scheme and a video to betterunderstand the process:

Improve the black-to-white ratio to achieve 50/50

We can see that the white portion is much larger than the black portion. We're going to adjust three parameters to get as close as possible to a 50/50 ratio:

  • the speed at which the marker moves up and down
  • the height of the marker at the top
  • the time spent at the top versus the time spent at the bottom

We made several attempts:

describe what you see in this image

2-color yarn trials

The G-code for the 50/50 ratio is:

G21 F100 ; This says set units to mm  and sets the speed/feedrate to 1000 mm/minute
G90 ; absolute mode in case we want to test


G91 ; relative mode.
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm
G4 P200 ; wait 0.4 seconds
G1 X0 Y0 Z-5 ; move down 5mm (towards plate)
G4 S1 ; wait 1 second
G1 X0 Y0 Z5 ; move up 5mm

Final parameters in G-Code for 50/50 colored yarn

  • Speed on maximum: 1000mm/min
  • Height of the pen in upper position: 5mm
  • Duration in upper position: 0.4s
  • Duration in lower position: 1s

Create a loop in G-Code (with Python)

xxx ...


5. Results

Results & documentation
  • Don’t forget to document the outcome including:
  • Final result
  • Photos from different stages
  • Videos of movement or interaction, show how a material moves, something was assembled or the interactive
  • Include measurements or a reference object to give a sense of size
  • Describe the (material) properties or what you made
  • Comparison between attempts, if you did multiple experiments or generated multiple files before fabricating / deploying. You can use a table as shown in week 4

5.1 BoM

Qty Description Price Link Notes
1 Material one 22.00 $ http://amazon.com/test order now
1 Material two 22.00 $ http://amazon.com/test find alternative
1 Material three 22.00 $ http://amazon.com/test

5.2 Code

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

6. Weekly reflection & critical thinking

  • What did I learn? What did I personally find interesting or surprised me?
  • What would I do differently? If something "failed" do I know how else to tackle it now?"
  • How does this connect to my final project or my learning trajectory?
  • What are implications and possible applications, think also from the ethical or environmental aspect, how it could connect to your practice and project?

NuEval — final step

Go to NuEval and fill in the checklist, when not complete notify your instructor.


7. Fabrication files & References


  1. File: Code 1 ↩

  2. File: Laser cut matrix ↩

  3. Reference: Author; Title; Source; year ↩