Edges to Stitches
Edges to Stitches User Guide
Edges to Stitches is a Geometry Nodes modifier that adds 3D thread along a guide on a mesh surface. You can draw the guide with loose edges (edges that belong to no face) or select existing edges using a vertex group.
Blender requirements
The minimum verified version is Blender 4.5.1 LTS, which was used to save Edges_To_Stitches.blend. The asset was also verified in Blender 5.0.1, 5.2.1 LTS, and 5.3.0. Load the .blend directly in Blender.
Open the examples
Open Edges_To_Stitches.blend and select either mesh. The flat example has open and closed loose-edge guides. The curved example has parallel guides and uses a vertex group named Group. Both examples use the Stitch Thread material. In the Modifiers tab, you can change Stitch Pattern or choose a different Thread Material.
Add the modifier to your project
- Choose File > Append and open
Edges_To_Stitches.blend. - Open NodeTree, select
P2_Edges_To_Stitches, and click Append. - Select the target mesh. In the Modifiers tab, add a Geometry Nodes modifier and choose
P2_Edges_To_Stitchesin its node group selector. - Set up a guide using one of the methods below. Adjust Pitch, Gap, and Thread Radius to suit the scale of the mesh.
You can also place the file in a registered Blender Asset Library and find P2_Edges_To_Stitches in the Asset Browser.
Define a stitch guide
Draw loose edges
In Edit Mode, create a connected chain of loose edges in the same mesh object, using vertices separate from the surface faces. Place the chain close to the surface where the seam should appear. Use an open chain or join the ends for a closed loop. With Guide Vertex Group empty, the modifier uses loose edges as its guides.
Use existing mesh edges
In Edit Mode, select the vertices along the seam and assign them to a vertex group with positive weight. Enter the group's exact name in Guide Vertex Group. An edge qualifies when both of its vertices have positive weight in that group. Check nearby edges that connect two selected vertices. Loose edges in the same mesh can supply additional guides alongside the vertex group.
Modifier controls
Distances below are expressed for a scene unit scale of 1.
| Control | Default | What it does |
|---|---|---|
| Pitch | 7 mm | Sets the target spacing along the guide. |
| Gap | 2 mm | Sets the nominal gap between stitch tips. |
| Thread Material | Unassigned | Assigns a material to the generated thread. |
| Thread Radius | 0.42 mm | Sets the radius at the widest part of the thread and affects how far the thread sits above the surface. |
| Stitch Pattern | Straight | Selects Straight, Slanted, Zigzag, Parallel 2 Rows, or Cross. |
| Stitch Angle | 20° | Rotates the stitches in Slanted, Zigzag, and Cross. |
| Row Spacing | 3 mm | Sets the center-to-center distance in Parallel 2 Rows. |
| Guide Vertex Group | Empty | Adds edges whose endpoints have positive weight in the named group. |
Shade the thread
Assign a material under Thread Material. For UV-based thread shading, add a UV Map node to that material, select Stitch UV, and connect the UV output to the texture input. The modifier generates this map on the thread.
Check the fit on your mesh
- Keep the guide near the intended side of the surface, especially where thin layers or folds come close together.
- Check the surface normals where stitches appear on the wrong side. Choose stitch dimensions to suit the mesh scale.
- The modifier passes through the base faces and adds separate thread geometry. Use it to model the visible seam.
Discover more products like this
stitches geometry nodes procedural modeling clothing sewing loose edges leather Stitching thread footwear seams