Single Path: Image Tracing

New Here ,
Feb 21, 2019 Feb 21, 2019

Copy link to clipboard

Copied

Hi all,

I need need help tracing an image to be a single path (as opposed to a compound path). See image below for context, it's a trail system map image traced from a map (also below). I am trying to import the .ai file into After Effects to animate it using trim paths (which essentially makes the line disappear along its length).  I have tried the Join tool, but it creates strange straight lines, compromising the image (see below).  I tried manually joining each line, but it takes an eternity and also won't join more that two segments at any given point. Is there a way to combine paths/ image trace to create a single open path? Thanks in advance.

Screen Shot 2019-02-19 at 12.05.29 PM.jpgScreen Shot 2019-02-19 at 3.10.22 PM.pngScreen Shot 2019-02-19 at 3.12.47 PM.png

Views

839

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 21, 2019 Feb 21, 2019

Copy link to clipboard

Copied

Whoo boy! This one's challenging. Image trace isn't perfect, nor is it really made for what you're wanting - but you've come close. The way to do the blending of multiple paths into on, WOULD be the join option, but as you mention, that's not effective for this purpose. In fact, I kind of think that any automation further than where you've gone will take longer than what I'd suggest. I'd be happy if others have a better idea. Here goes:

With the Trace completed, go to the Layers panel and lock that layer - you may even want to double click the layer and tell it to be a "tracing layer" in the resulting dialog box (that will make it more translucent, if that helps you for the next step). Then, on a layer above your trace, trace this AS a single path. Use the pen tool, if you're proficient with it, or even use the pencil tool (which will create WAY too many vector points, but will allow you to draw "by hand"). The resulting layer will contain exactly what you need for your AE trim paths, and although it's cumbersome, it's likely the quickest available way to end up with the result you want.

Otherwise, I know of no other commands or plugins that'll do specifically what you need.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Feb 21, 2019 Feb 21, 2019

Copy link to clipboard

Copied

Claire,

You may wish to simplify the structure of the traced paths by removing bits, such as one in the double curved part to the left.

As you have found, you can only have two segments meeting in each Anchor Point.

The only way to have a single open path running along all the present paths is to run over some of them twice forwards and then backwards (you can create a copy and then join them at the farthest/end Anchor Point) to get back to the starting Anchor Point (creating what corresponds to an invisible loop), thereby ending with another coinciding one on top that you can go on from.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Feb 22, 2019 Feb 22, 2019

Copy link to clipboard

Copied

You can use Animate CC to make it one path. Import your Illustrator file into Animate with Place objects at original position selected. Use Modify > Break Apart (Ctrl + B) to convert the drawing objects into paths. With snapping turned on, drag an endpoint of a segment to snap to the path where you want it to connect. You're still manually connected these, but I find it faster in Animate with snapping on and you can connect multiple segments. When it's connected, it will be one object. You'll know it's all connected if when you click on a portion of the path, all of it shows that it's selected. Save it out as an SVG. Then import the SVG into Illustrator to save it out as an .ai file so that you can import it into After Effects.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 28, 2021 Feb 28, 2021

Copy link to clipboard

Copied

No ability to save in SVG

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines