Skip to main content
Participant
April 24, 2023
Answered

How to join 2 lines to create a shape

  • April 24, 2023
  • 4 replies
  • 3433 views

I have created to lines that will join together to create a shape but I can not figure out how to joins the lines. I want to be able to create a fill for the shape. I have Drawn it out 2 different ways and I still can not figure it out. I have attached the file.

This topic has been closed for replies.
Correct answer Jacob Bugge

muggednyc,

 

As I (mis)understand it, you have two stroked open paths, each having an end Anchor Point on a segment of the other.

 

If that is the case, you can turn them into one stroked closed path with the desired fill in the following simple insane way;

 

1) Select both paths and apply Pathfinder>Divide;

2) Reapply the stroke;

3) Apply the desired fill.

 

You will have more than a wee bit more Anchor Points than you started with.

 

4 replies

kphotopage
Legend
April 25, 2023

Muggednyc, using the shapes with the outline strokes, add a fill rectangle behind.

Next, select and Object>Live Paint>Make.

Recolor as you wish.

Expand Live Paint.

Pathfinder> Unite same colors.

 

K

Jacob Bugge
Community Expert
Jacob BuggeCommunity ExpertCorrect answer
Community Expert
April 24, 2023

muggednyc,

 

As I (mis)understand it, you have two stroked open paths, each having an end Anchor Point on a segment of the other.

 

If that is the case, you can turn them into one stroked closed path with the desired fill in the following simple insane way;

 

1) Select both paths and apply Pathfinder>Divide;

2) Reapply the stroke;

3) Apply the desired fill.

 

You will have more than a wee bit more Anchor Points than you started with.

 

Met1
Legend
April 24, 2023

I can't see your coolS.pdf, says preview not available, so a bit in the dark here, but if you have STROKES (you say lines, I'm not sure how you created them), you can select the end anchor points and select join (ctrl-J on PC [probably Cmd-J on Mac]).

muggednycAuthor
Participant
April 24, 2023

I can send you the file if that helps 

Met1
Legend
April 24, 2023

no thanks. do you have strokes? or do you have a four sided shape (fill) that approximates to a line?

 

Monika Gause
Community Expert
Community Expert
April 24, 2023

If you want to fill the inside, use live paint or the shapebuilder. If you want to have the back as a shape, expand the strokes (Object > Path > Outline stroke) and use the pathfinder panel (top left button)

muggednycAuthor
Participant
April 24, 2023

Thank you for the reply but none of those worked I outlined the stroke in the second shape in the file but when I merge them in pathfinder the merge but I can not change the inner fill color of the shape.

Monika Gause
Community Expert
Community Expert
April 24, 2023

Please show that. Please make a screenshot as a PNG or JPEG (no PDF).