TECHNIQUE: Stitching Lines for Apparel

One of the things that I really love about Illustrator is that it's used across such a diverse professional spectrum. One of the really exciting creative fields that has always drawn my attention is that of fashion and apparel design. Before I even joined Adobe, I spent several years training fashion designers in NYC. And since then, I've had the pleasure of working with folks at places like Cabelas, Reebok, Victoria's Secret, Hurley International, the GAP, and more. It's one thing to design a cool brochure and flip through the pages when it's printed. It's an entirely different experience when you design something and then when it's done, you actually put it on and wear it :)

I should probably write up more stuff on apparel design only because Illustrator has so much to offer in that field. So for now, we'll start with this one. A good friend of mine recently got a job at Nike in Europe and was lamenting how difficult it was to draw certain kinds of stitching lines. We all know that Illustrator's Stroke attribute can be used to simulate a stitching line by using the dash setting. I'm sure you're all familiar with it, but just in case, you can turn on the Dash setting for any stroke and then assign a Dash setting (the length of each dash segment) and a Gap setting (the length of the space that appears between each dash). There are actually 3 sets of dashes and gaps (meaning you can specify a long dash followed by a short dash, etc.) and you can also use Illustrator's various Cap and Join settings to further customize the appearance of your strokes. If you have the Real World Illustrator CS3 book, there's good information on all of these Stroke settings on pages 48-51.

The question that my friend at Nike was struggling with was creating double-stitching. Obviously, you want to be able to create stitching lines that are easy to create and easy to edit and manipulate. Knowing how often apparel designs change, and how newer designs evolve from existing designs, it becomes increasingly important to work with objects that can easily be edited. If one had to draw two paths to simulate a double-stitched line, that would make it twice as more difficult to make edits.

Anyone who knows me, can probably guess that my answer will involve the Appearance panel, right? Well, most people are probably smart enough to know that you can create a single path and add two stroke attributes to that path. If you were to create a heavy black stroke with a dash setting and then add a thinner white stroke with no dash setting on top of it, you'd get a perfect double-stitched line, correct?



One problem. If the apparel you're designing isn't colored white, you'll have a white area in between your two stitch lines.



You COULD set the entire path to the Multiply blend mode, which will make the white go away, but if your stitch lines aren't colored black (for example, you're using green or red thread), that color will also multiply. If your thread is white, the whole stitch will disappear altogether. What you REALLY want is a way to make the middle area between the two stitch lines become truly transparent. And the good news is, the steps are pretty much the same, and at the end of the day, you can define a Graphic Style so that you can apply double-stitched lines with a single click. In reality, if you are an apparel designer, you should have an entire Graphic Style library of stitching lines alone.

KNOCKOUT GROUP TO THE RESCUE

The secret to making this work is a teeny little checkbox in the Transparency panel called Knockout Group. It's a setting that most people ignore. Few people even know what it does. Let's first learn what it does, and then we'll see how it will allow us to create quick and perfect double-stitched lines (or really anything else for that matter).

We already know that you can adjust the opacity of an object, right? So if you have two objects, say a blue circle and a red bar running across it, you can set the opacity of the red bar to 50%. The result would be 50% of red on the parts of the bar that extend beyond the circle. But the part of the bar that appears directly over the blue circle would appear as purple – or more specifically, a mix of blue and 50% red, correct? After all, that’s what transparency does – it allows you to see “through” the top object and see the object beneath it.

If I were to the now group the two objects together, I’d be able to move them around the screen, and as expected, I’d see purple in the middle area, and whatever was beneath the logo would appear through the ends of the red bar. If you look at the Transparency panel (fully expanded), you’ll see that the Knockout Group option appears with a line through it. This indicates a “neutral” position, which allows transparent objects within a group to be visible through each other. That’s how we can see the purple area where both the red bar and the blue circle overlap. As expected. This is the default behavior.

Below, the Knockout Group setting in the Neutral setting, the On setting, and the Off setting.



But let’s say I wanted the red bar to be 50% transparent so that it would interact with objects beneath it, but NOT with objects that were in its own group. That would mean I’d want to see 50% red in the area where the red and blue overlapped, not purple. By selecting the group and checking Knockout Group, I’m instructing Illustrator to knockout (or remove) the parts of the group that appear beneath transparent effects.

In the illustration below, the group on the left is set to the default neutral knockout group setting, while the group on the right is set to knockout group turned on.



To really illustrate what’s happening here, I could use the same color for the objects in my group, and use the opacity settings alone to knockout the overlapping areas. Using the same example, I’ll color both the circle and bar black. And I’ll set the opacity of the bar to 0%. So my group, using the default “neutral” setting would appear as a solid black circle. As expected. But upon turning on the Knockout Group setting, the top object (which is colored black but is set to 0% opacity) will knockout the part of the circle that it overlaps. Since the bar has no opacity, the result is simply a knockout.

In the illustration below, the group on the left is set to the default neutral knockout group setting, while the group on the right is set to knockout group turned on.



USING KNOCKOUT GROUP – WITHOUT A GROUP

Now that we understand what Knockout Group does, we can use it to create our double-stitched lines. The beauty of this technique is that it uses the knockout group setting, but without creating a group. By applying multiple strokes within a single object, we’ll “simulate” a group within our one object.

1. Draw a path with a Fill set to none and a Stroke set to black. Set its weight to 6pt and apply a simple dash setting. I used a dash of 6 and a gap of 4.



2. From the Appearance panel flyout menu, choose Add New Stroke.

3. Keep the stroke black and change its weight to 4pt. Turn off the Dash setting for this stroke and choose the Projecting Cap option in the Stroke panel. This will ensure that the ends of the stroke appear without artifacts of the dash beneath it.



4. Change the opacity of the top-most stroke to 0%.

It’s important to remember that we can’t apply the knockout group to one attribute (as it won’t do anything), so we need to make sure that we apply it to the entire object. So the following step is important:

5. Click on the word “Path” in the Appearance panel. This ensures that you’ve targeted the entire path object and not just one of its stroke attributes.

6. Turn on Knockout Group in the Transparency panel. You’ll actually need to click on this option TWICE: the first time sets the object to the neutral setting, and the second time will turn the knockout setting on.

The result will be a stroke that appears to have a double stitch. The top-most stroke knocks out the bottom one, giving you true transparency in between.



At this point, I think you have all that you need. Now you can tweak the weights of the strokes, the dash settings, and the colors of the strokes as needed. Once you’ve finalized the look of your stitching, drag it to the Graphic Styles panel to save it as a style. Now you simply apply the style to any path and you get instant stitching! Create a variety of different stitching patterns and create styles for them all. Save them as a Graphic Styles library and you’ll suddenly become the most popular person in your design group.

NOTE: If you think I'm so smart that I know all this stuff on my own, think again. I was first "introduced" to the knockout group setting by Pierre Louveaux, and Teri Pettit expanded further upon that. Both Andrew Dashwood (the one who originally asked the question about the double-stitching) and Jean Claude "JC" Tremblay contributed to this article as well.

Facebook Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
  • DNA
    DNA

    DNA Download

  • The Lovely Sonam Kapoor
    The Lovely Sonam Kapoor

  • Mercedes Benz Wallpapers part 5
    Mercedes Benz Wallpapers part 5

    Mercedes Benz Wallpapers part 5

  • Colour Story - Red & Grey
    Colour Story - Red & Grey

    The holiday period is over but I wanted to use the four red miniature Poinsettia, that I featured in this post, one more time.  I planted all…

  • 30+ Mind Blowing Fall Photos for This Autumn
    30+ Mind Blowing Fall Photos for This Autumn

    30+ Incredible Examples of Fall Photos. Autumn is the season of mists and mellow fruitfulness. The colorful fall foliage or leaves just make the…

  • New Zealand Landscape
    New Zealand Landscape

    Click Here - to see my complete new range of Lightroom 4 Presets and 1hr long Lightroom Video Tutorial. The tutorial is filled with all the…

  • Shruti Sodhi Looks Super Sexy In Tight Jeans and a Blue Figure Hugging Top At Telugu Film ‘Pataas’ Press Meet In Hyderabad
    Shruti Sodhi Looks Super Sexy In Tight Jeans and a Blue Figure Hugging Top At Telugu Film ‘Pataas’ Press Meet In Hyderabad

  • A Peony for Fall
    A Peony for Fall

    Just when I thought I had completed the last peony for awhile, this little cake needed one too. Dusted in shades of peach and pink, and paired with…

  • Things to Come, Part One -- Susan Harbage Page at Flanders Gallery
    Things to Come, Part One -- Susan Harbage Page at Flanders Gallery

    Yes, the days are getting shorter, temperatures have moderated a bit, and there is a hint of autumn cool in the early morning air. That must mean…

  • Water Rails
    Water Rails

    A major project last winter was photographing Water Rails. I have just started processing the many hundreds of images that I now have of them, here…

  • Fabulous Danish and Norwegian magazines.
    Fabulous Danish and Norwegian magazines.

    Fabulous Danish and Norwegian magazines., a photo by Ingrid Henningsson/Of Spring and Summer on Flickr.Some more summer reading for the beach or the…

  • Musical Instrument
    Musical Instrument

    Musical Instrument Download

  • Coffee Bean
    Coffee Bean

    Coffee Bean Download

  • Angelina Jolie Sexy
    Angelina Jolie Sexy

    Angelina Jolie Sexy Download

  • Lightroom Tutorials : Interior Architecture
    Lightroom Tutorials : Interior Architecture

    CLICK HERE to learn more about Adobe Lightroom. To learn more about how I process images check out my Lightroom Tutorial and Lightroom Presets.CLICK…

  • Flowers for the Weekend
    Flowers for the Weekend

    Playing in my "studio" with pink and white stock flowers. I bought the beautiful flowers at the local farmers market.I also folded up a piece of…

  • Audi R8 V10 MansorY
    Audi R8 V10 MansorY

    Audi R8 V10 MansorY Download

  • Parrot
    Parrot

    Parrot Download

  • Sarah Hobbs at Silver Eye Gallery
    Sarah Hobbs at Silver Eye Gallery

    Atlanta-based photographer Sarah Hobbs is having a show of her work at the Silver Eye Center for Photography, at 1015 East Carson Street, in…

  • Priyanka Chorpa Sexiest Cleavage Show Ever At The New York Fashion Week 2016 In NY
    Priyanka Chorpa Sexiest Cleavage Show Ever At The New York Fashion Week 2016 In NY

  • Gohan And Goten Wallpaper
    Gohan And Goten Wallpaper

    Here is Gohan And Goten Wallpaper and images gallery Dragon Ball Wallpaper Gohan - Sparkling Fashion: Dragon Ball Size: 800x600 Dragon Ball Wallpaper…

  • Dream Beach
    Dream Beach

    Dream Beach Download

  • Trx 450 Carb Wallpaper
    Trx 450 Carb Wallpaper

    Here is Trx 450 Carb Wallpaper and images gallery AutoJapan-Magazine: Honda TRX 450R 2012 Size: 1600x1242 AutoJapan-Magazine: Honda TRX 450R 2012.…

  • Mordy Down Under
    Mordy Down Under

    I'm packing my Wacom tablet, my running shoes, and my iPhone (with data services disabled) and I'm heading down to Melbourne this weekend! It will be…

  • Salman Khan Hd Wallpaper
    Salman Khan Hd Wallpaper

    Here is Salman Khan Hd Wallpaper and images gallery Salman Khan HD Wallpapers | HD Wallpapers Size: 1024x768 Salman Khan HD Wallpapers | HD…

  • Madagascar 3
    Madagascar 3

    Madagascar 3 Download

  • Winter White Fall Park
    Winter White Fall Park

    Winter White Fall Park Download

  • Ten Illustrator power moves you MUST know
    Ten Illustrator power moves you MUST know

    In most professions, one goes through intense training—intended to help a person develop the ability to act on instinct—where the body learns to act…

  • Latest Horror And Scary Wallpapers (800x600)
    Latest Horror And Scary Wallpapers (800x600)

    Preview and Download Latest Horror And Scary Wallpapers to your computer absolutely free. We have the Latest Horror And Scary Desktop Wallpapers for…

  • Chalet in Winter
    Chalet in Winter

    Chalet in Winter Download

  • Beach entrance at night. Shot on a Nikon D3 and processed in Lightroom to enhance night lighting.
    Beach entrance at night. Shot on a Nikon D3 and processed in Lightroom to enhance night lighting.

    I decided to use this image as a test case for creating a cinematic night time look, in simple terms I have cooled the color palette down and added…

  • Vintage Flowers by Vic Brotherson
    Vintage Flowers by Vic Brotherson

    The author of Vintage Flowers, Vic Brotherson has been a florist for nearly twenty years. She owns a gorgeous shop in Kensal Rise in North London…