Skip to main content
Participating Frequently
July 27, 2022
Question

Simplest way to stack lines and style individually

  • July 27, 2022
  • 2 replies
  • 755 views

Hi,

I am making a map and have several trails that follow the same route.

I want to automate stacking these lines together, and be able to style them independantly of each other.

I have taken the following approach, but there is likely a much better idea since I am not an illustartor expert.

 

I have the main trail drawn in illustrator as a path.

I then use Effect>Path Offset to get the path repilcated.

Then I use Object>Outline Path.

This gives me basically 3 copies which is all I need.

I want to be able to style the 2 black and 1 white lines individually but I don't know how to do this.

Ideally they would adjust together as a manipulate them, but I need to be able to style them independently.

Heres an example:

On the left is the trail path styled with a 1mm stroke.

On the right I have taken the previous outlined steps, and I consider the object to have 2 black and 1white copy of the path I want.

I am hoping someone can steer me in the right direction.

Thanks.

This topic has been closed for replies.

2 replies

Doug A Roberts
Community Expert
Community Expert
July 27, 2022

What do you need to do exactly when you say 'style them indepedently'? Style in what way?

You can use two strokes on the same path and keep your effect live:

 

map1Author
Participating Frequently
July 27, 2022

Hi,

thanks Anubhav Majumder, that video opened my eyes to multiple strokes which I didn't know about.

Thanks Doug as well, although I'm still not sure how to get my desired effect.

I'm trying to get 3 or more lines all stacked correctly with the ability to manipulte each one's style:

(I've manully stacked them here, poorly...)

Thanks.

 

Doug A Roberts
Community Expert
Community Expert
July 27, 2022

Please be specific about what you mean by 'style'. Is that exactly what you want to do or just an example?

This uses some strokes with an offset width profile. There are other ways:

 

Anubhav M
Community Manager
Community Manager
July 27, 2022

Hello @map1,

 

Thanks for reaching out. I would request you try the steps shared in this tutorial (https://www.youtube.com/watch?v=Pd5kdkSChFg) and check if it helps.

 

Looking forward to your response.

 

Thanks,

Anubhav