This is an experimentation script.
I was doing hatching of photographs and what i did was converted the photograph to have less colors using Image->Mode->Indexed and specified the number of colors (for example 3 colors) with no dithering.
Then selected a single color using "Select by color tool" and hatch it.
This script is to help me hatch just the selection.
So you
Have to have a selection before you can run this script.
What the script does:
it saves your selection into a path called "Selection" and renames the path later so that if you run the script again it won't confuse it with the new path selection (I couldn't get it to delete the path for some reason).
it then creates a new image based on specified parameters to copy into clipboard.
then creates the new layer of double the size of your image in order to rotate freely and fills this layer with the pattern from clipboard and rotates to specified angle and then re-selects your selection, invert and cut so you're left with your selection with the specified hatch pattern.
1 thing to remember when running this script:You must have brush opacity set to 100
Other than that it helps with the labor of hatching an image....now you're left with the fun part figuring out what colors, rotate angle and hatch width(percentage) to hatch with....
Hope you have a lot of fun.
Attachment:
HatchSelectionLayer.scm [7.98 KiB]
Downloaded 407 times
It'll be available under Script-Fu/Create New/Hatch Selection Layer
preview settings screen
UPDATED preview with added "Hatch with rectangle" option.
UPDATED preview with changed Option between "Lines","Squares","Circles"
Oh yeah and after it creates the layer with hatched pattern...it leaves the new image created for the hatch laying around, you can close/discard it if you like... don't be thrown off, just click back to your original image and it's all good, i didn't look into closing these images yet... or know how to set it so that the active view is on your original image hence experimentation script