What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Pen paths (brush stoke) filled with color only on selection...


shadowsandlights

New Member
Messages
4
Likes
0
Hey guys,

This is what I'm trying to make...

Untitled-1.jpg

The black lines would be the pen paths (curved shapes) with a brush stroke, but then I would like to select an area of all those pen paths lines (like you for example do when using marquee tool) (in the example green color) and fill the path lines with for example green only on that selected area and the rest stays black in this case and only the lines would be filled, so not the white space between. I kind of did it in Illustrator using scissor tool, but cutting all the paths takes a lot of time and precision so I thought there might be a better, easier, more precise way to do this in photoshop.

Any ideas how to accomplish something like that?
 
Hi S&L,

This is easy. I will reference your example and it's colors.

BLACK LINES.
Create your Pen paths with brush strokes on separate layers.

When your done with creating the paths and stokes and you have them positioned where you want them, highlight each of these layers in the layers panel, duplicate them (comd + J), merge them (comd + E).

Leave this new merged layer active(on) and deactivate (turn off) the the separate layers. I save these just in case I mess up. You can put them into a group so you don't have to look at them.

GREEN LINES.
Create your green line or lines on their own layer(s). I you have multiple green lines created from paths, use the same technique described above. (note: it doesn't really matter what color these lines are, you will add the color in the last step.)

Edit: This is Hawkeye's suggestion. Create the lines that are to be green on their own layer. Make sure this layer is at the top. Stroke or fill with the desired color (green).

FINAL PRODUCT.
When you have your two sets of lines ready on their own layers. Create a new layer at the top of the group and make sure it's highlighted.

With your mouse, hold the command key down and click the BLACK line groups thumbnail. This will give you a marching ant selection.

With your mouse again, simultaneously hold the shift key, the option key, and the command key down and click the GREEN line groups thumbnail. This will give you a modified marching ant selection that only includes the areas where the two line groups intersect.

Fill this new selection with the color of choice...........in your case green.

Edit: Hawkeye's suggestion. Now right click on the GREEN lines layer and choose, Create Clipping Mask.

Example.
PathOptions_01.png

edit: Now you know two ways to do this!
 
Last edited:
That works great as well Hawkeye! Thanks!

You always remind me there are many ways to accomplish things and sometimes simpler!
 
Claraby said:
Select layers to be merged (without duplicating them one by one) and copy merge, keyboard shortcut: cmd/ctl + alt + E.

Yes..............old habits die hard!

Thanks!
 
This is what I done...

Lines_zps64b4fde7.png
  • Draw one line and duplicate the layer for as many lines as you need.
  • Move the layers until spaced as you wish.
  • Merge the layers.
  • Select the black lines and either delete the background or just place them on their own layer.
  • With the black lines selected delete the parts of the selection you want to stay black.
  • Choose your foreground colour (Green) and hit Alt + Backspace to fill with green.
My lines are not very tidy...but you get the picture.
 

Back
Top