Embroidery with Grasshopper

Hello, i use a tool called Embroidery Gcode Generator to generate gcode than i extract points from the code.
I don’t find a plugin which can read gcode directly, this will better to extract points faster and the real colors.
Steps:

  • Create dst file with Embroidery software.
  • Convert dst file to gcode with Embroidery Gcode Generator; sadly the tool is very old and can’t save the gcode ,so i need to copy it manually.
  • Extract points with Grasshopper, the animation is possible but it need long time.

19 Likes
3 Likes

Update
Grasshopper can read gcode file (*.GC) like any text file with Read File component

2 Likes

Animation with colors

2 Likes

Embroidery needle animation

3 Likes

Needle moved, Needle fixed

7 Likes

This is awesome! I love how you also included the z-height of the thread in the most recent animation :heart_eyes:

1 Like

Thank you very much :slight_smile:
this work will be better with you addon

1 Like

Embroidery with robot

2 Likes

can you recommend a Embroidery software?

This is awesome!!!
What do you use to generate the thickness with that amount of lines?

There are many softwares and many of them looks similar and are very expensive.
If you buy a machine use the software included.

I use mesh pipe with low settings

1 Like

Which one do you use?

I use Chroma

1 Like

Chroma have a free version which i used, and embroidery softwares have more tools and designed to work with embroidery machines, we can’t do that with grasshopper.
As you see in the videos i used grasshopper to create animation, not for create embroidery designs from images.

Thanks for sharing your workflow! You’re right—working with G-code manually can be time-consuming, especially when converting and extracting points for animation in Grasshopper. Since the Embroidery Gcode Generator can’t save the file directly, you might consider using a script or small utility to automate copying and parsing the G-code into a format that Grasshopper can process faster.

Alternatively, while there’s no native Grasshopper plugin that directly reads embroidery G-code or DST files with colour info, a custom parser or using something like RhinoScript/Python inside Grasshopper could help streamline your extraction and make animation more efficient.