It is currently 27 Jan 2020, 13:02


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Lined Paths Plug-in

Share your Python Fu Scripts/plug-ins for GIMP here
Post Reply
tim
GL Blogger

Lined Paths Plug-in

Post#1 by tim » 03 Jan 2019, 14:07


This plug-in will read from 2 paths/vectors and criss-cross between them with number of lines.
lined_paths.py
Tested in GIMP 2.10
(2.69 KiB) Downloaded 80 times
lined_paths.py
verion 2. use Paintbrush_default instead of Pencil for smoother lines
(2.77 KiB) Downloaded 62 times
lined_paths.py
verion 3. allow using colors from gradient like skinnyhouse suggested.
(3.16 KiB) Downloaded 76 times
lined_paths.py
verion 4. "Create paths instead of drawing" option requested MareroQ on GC.
(3.56 KiB) Downloaded 75 times
lined_paths.py
version 5. Experimental version that uses 'control 1' and 'control 2' paths as bezier control points for when Creating paths instead of drawing.
(4.45 KiB) Downloaded 146 times
Plug-in Menu Location: Python-Fu/Lined Paths...

Instructions:
1. Open up a new image. Draw a path.
2. Draw another path (has to be on a separate vector/path layer).
3. Run Plug-in (Python-Fu/Lined Paths...). Select Number of lines to draw, size and color.
4. Click OK to run Plug-in and that's it.
5. (Optional) For an example on how to use the plug-in, you may want to check out Ella's Drawing a flower with Line-Paths plug-in Tutorial
Instructions for (use control points option):
1. Open up a new image, draw a path
2. Draw another path (has to be on a separate vector/path layer).
3. Draw another path, name it 'control 1' to be used as bezier control points for points on first path.
4. Draw another path, name it 'control 2' to be used as bezier control points for points on second path.
5. Run Plug-in (Python-Fu/Lined Paths...). Select number of lines to draw, say Yes to Create Path instead of drawing, Say Yes to use control points.
6. Click OK to run Plug-in and that's it. (see samples for paths created using 'control 1' and 'control 2' below.



Sample runs:
lined_paths_sample_run.jpg
lined_paths_sample_run.jpg (93.24 KiB) Viewed 1973 times
lined_paths_use_control_points_sample_1.jpg
lined_paths_use_control_points_sample_1.jpg (217.47 KiB) Viewed 1629 times
lined_paths_use_control_points_sample_2.jpg
lined_paths_use_control_points_sample_2.jpg (186.53 KiB) Viewed 1629 times
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

RJKD
Tutorial Creator

Post#2 by RJKD » 03 Jan 2019, 18:03


Thankyou T, rather fun...
lined_paths_1st+ex.jpg
lined_paths_1st+ex.jpg (26.28 KiB) Viewed 1950 times
2

skinnyhouse
Script Coder

Post#3 by skinnyhouse » 04 Jan 2019, 16:13


Agree with RJKD - good fun.
String pictures revisited perhaps - taking colour from along a gradient would be a rather nice new option.
0

tim
GL Blogger

Post#4 by tim » 04 Jan 2019, 17:17


Thanks skinnyhouse,
version 3 allows gradient colors usage. not sure why it takes so long to run though now.
lined_paths_bw_gradient.jpg
lined_paths_bw_gradient.jpg (26.08 KiB) Viewed 1914 times
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
1

skinnyhouse
Script Coder

Post#5 by skinnyhouse » 04 Jan 2019, 18:02


Excellent
0

oldmangrumpy
Tutorial Creator

Post#6 by oldmangrumpy » 04 Jan 2019, 18:41


Terrific filter TIN, thank you - made the one below last night before the gradients upgrade, but the plug-in has tremendous potential.
Attachments
tin_filter_lined_paths.png
tin_filter_lined_paths.png (513.31 KiB) Viewed 1905 times
Senior's moments are just part of a lifelong learning experience - never stop learning
OMG's: Downunder Art Thread | Gold Ring Addiction
3

tim
GL Blogger

Post#7 by tim » 05 Jan 2019, 03:00


Image
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
1

oldmangrumpy
Tutorial Creator

Post#8 by oldmangrumpy » 05 Jan 2019, 06:42


Tin - needed this plug-in during my gold rings addiction :lol:

Also checked it out - works with any brush plus brush dynamics. Thanks again!
Attachments
tin_lined_paths_goldring.png
tin_lined_paths_goldring.png (564.68 KiB) Viewed 1866 times
Senior's moments are just part of a lifelong learning experience - never stop learning
OMG's: Downunder Art Thread | Gold Ring Addiction
3

tim
GL Blogger

Post#9 by tim » 05 Jan 2019, 14:56


The great golden wheel...
would make a nice Buddha's halo
aka Tin
:tree_02:
Tin's: Favorite Index | Simple Art === fb4yt video search | fb4yt recent video views report
Lottery numbers from image | Interested Members in TLF
Paying for hosting is to support my hobby, and donating money made from ads to The Red Cross.
         
0

Pat625
Tutorial Creator

Post#10 by Pat625 » 06 Jan 2019, 01:03


I really like the golden ring! So Shiny.
0


GIMP/GL:  Tutorials | Tips | Questions | Interests | Script Requests
Recommendations:  Index | Top 10
Resources:  🡆 Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

Who is online

Users browsing this forum: No registered users and 12 guests