Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting Line Segments to Path 1

Status
Not open for further replies.

8974ab

Technical User
Sep 14, 2006
1
FR
I am using Illustrator 10 and have just traced a fairly simple picture of an "L" shaped metal angle using a combination of straight line segments and arc segments. The end result is that I have a 3D isometric angle made up of arcs and straight lines which meet at the ends but are not really joined as one path.

I now want to shade / fill the different faces of the angle with colour.
I was hoping that it would be easy to join all the segments together into one path, and then simply "fill" each area as required but unfortunately I cannot seem to join these elements to form "fillable" paths.

Any ideas on how I should proceed? Or is it impossible and should have I traced with a different tool that allows me to create closed paths?
 
ab:

Unfortunately, Illustrator 10 does not have the Live Paint feature, which would have been perfect for your particular needs.

Fortunately, there IS a workaround. Here's one of several variants:

1. On a new layer, draw a rectangle that's a bit larger than your entire drawing. Give it a fill, no stroke;

2. Copy your l-shape, lock the layer it's on, then paste the l-shape onto the new layer with the rectangle. Line it up so the entire shape is within the bounds of the rectangle;

3. Select both the rectangle and the shape, and on the Pathfinder palette, find the "divide" button (I don't remember the exact position of this button in ai10, in CS it's the bottom left one) and hit it;

4. Deselect everything, and with the group select tool click on the rectangle (be careful to ONLY select the outline, none of the contents), delete it;

5. You should now have filled panels for all surfaces of your shape.

Let me know if this doesn't work (it will give you trouble if some of the paths don't quite touch at the ends), then we can explore one or two other ways.

HTH

Bert

 
...have you tried selecting two end nodes with the direct select tool and using the command/apple + J (either drag over two end points or shift select them), this joins endpoints together.

Using the pen tool may also work, select an endpoint and hover over to another endpoint which you want to join together,the cursor icon should change, then click...

andrew
 
Andrew:

I suspect it will cause trouble if he/she tries that, because on an isometric shape there are going to be at least several paths that are shared by different surfaces.

Bert

 
...yes, very valid point itchbug...

andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top