Convert shape to line with a stroke in Illustrator


Example. I drew a line with a pencil, set stroke to 5 px and made a shape using Object->Path->Outline Stroke. Is it possible to convert this shape to line with a stroke again? 100% accuracy isn't necessary.

6/19/2014 3:46:00 PM

Accepted Answer

  1. Select your shape.
  2. Swap the fill back to stroke(shift x).
  3. Use the Scissors tool(C) to cut two end points on your shape (with the Scissors tool selected click on the first anchor point that was created when you used the pencil tool, and then click on the last anchor point that was created when you finished with the pencil tool.
  4. You should now have two paths similar to your original line. You can delete one of them
  5. You might run into trouble if your original pencil line overlapped itself.
6/19/2014 6:29:00 PM

I found a good solution here:

In a nutshell, you need to convert your shape into a stroke, remove caps at the end and apply a "Blend" between those 2 lines, with the following options (Specified Steps, number of steps: 1). So the line you want will be between 2 initial lines which you can remove.

Original path:

enter image description here

Delete segments at the ends:

enter image description here

Object > Blend > Make. Then Object > Blend > Blend Options. Spacing: Specified Steps, number of steps: 1. Then Object > Blend > Expand:

enter image description here