15

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.

9
  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.
  • Thank you. Eventually I came up with the same approach. It's not perfect, cause it's a bit hard to make line with stroke from shape with rounded corners. Length will be different in this case. – user1561346 Jun 19 '14 at 21:25
7

I found a good solution here: https://forums.adobe.com/thread/568045?tstart=0

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

2

I know this is an old question, but I have a simple answer. Select your outlined stroke, fill it with black and rasterize it at 300dpi or more. Then, select the rasterized art and trace it with the "line art" setting. Expand appearance and BOOM! you have a path.

0
  1. Add a stroke to the PATH, up the width until you just see a little bit of inner fill left.
  2. Object > Expand.
  3. You should have three paths now. Use the Direct Selection Tool to select the outer two paths and delete then. THEN USE @user26228 method above.
  4. Split the remaining path at it's tip using the eraser, scissors, direct selection tool, or what ever you preference is.
  5. Delete one of the remaining two paths.
-2

Since it just drawing line stroke, i think you can try using image trace - preset:line art, before that please Rasterize that shape in 72ppi(transparent). it not 100% accuracy but you get drawing line stroke back.

Not the answer you're looking for? Browse other questions tagged or ask your own question.