It is currently Mon Oct 23, 2017 7:22 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Guides to Path (scheme script, now python script more advanced).
PostPosted: Sun Sep 18, 2016 8:36 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2870
Location: Tin from Victoria BC Canada
This script is spawned from Rod's thread/request

Rel 2. works on selection bounding box/rectangle. (USE .py instead of .scm).
Attachment:
guides_to_path.scm [5.51 KiB]
Downloaded 83 times


REMOVE .scm above,
Use the .py below it's more advanced (registered under same location)
Release 1.
Attachment:
guides_to_path.zip [1.76 KiB]
Downloaded 127 times


.py features composing sections so that you can easily edit the path.
(as requested by mahvin)
(also defaulting the path to visible requested by Obinbc).
Image

Will be available under /Image/Guides/Guides to path
Image

If there is no selection all guides will turn into path.
If there is a selection, guides within the selection bounding (box/rectangle) will turn into path.

Image

_________________
T.
Image gimplearn.net                                                                           


Last edited by trandoductin on Mon Sep 19, 2016 4:10 pm, edited 3 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Sun Sep 18, 2016 9:02 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2870
Location: Tin from Victoria BC Canada
Just a sample of usage.
Image

1. Created guides to represent the first row (blue).
2. Rectangle select the first row (using Snap to Guides for easy selecting).
3. ran "Guides to path" to create path that represents first row.

4. Modified guides to represent the second row (red).
5. Rectangle select the second row (using Snap to Guides for easy selecting).
6. ran "Guides to path" to create path that represents 2nd row.

7. stroked path created in step 3. with blue.
8. stroked path created in step 6. with red.

_________________
T.
Image gimplearn.net                                                                           


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Sun Sep 18, 2016 9:23 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 2944
Great job, Tin! Works like a charm for me.

_________________
Image


"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Sun Sep 18, 2016 9:40 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Aug 10, 2012
Posts: 9282
Location: Formerly From NYC, Now in Arizona
Sweet script!
Thanks T.
:jumpclap

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image
My YouTube Channel


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Sun Sep 18, 2016 9:54 pm  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2870
Location: Tin from Victoria BC Canada
mahvin & Wallace: :hi5
There isn't a smilies with 3 heads hi5ing :yes

_________________
T.
Image gimplearn.net                                                                           


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Sun Sep 18, 2016 11:07 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
trandoductin wrote:
This script is spawned from Rod's thread/request
How about making the path(s) visible by default? A user without the Path dialog showing or open might not realize the script had run successfully.

BTW, nice job on the script. :bigthup

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Mon Sep 19, 2016 3:01 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 1070
Location: Poland
This is a very useful script. :tyspin
According to me the most practical of all utility published this year.
In conjunction with this "New Guides from Selection: adds a lot of opportunities when working with paths.
This script should enter as canon in the installer GIMP
This is my favorite for the Golden Wilber GimpChat. :bump


Attachments:
Guidestopath.png
Guidestopath.png [ 46.61 KiB | Viewed 1371 times ]
Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Mon Sep 19, 2016 5:01 am  (#8) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 1178
Indeed a useful script, paths from odd spaced guides.

There are as well, from ofnuts
http://sourceforge.net/projects/gimp-pa ... s/scripts/

A plugin for a shaped grid, diamonds, hexagons, etc. path-shaped-grid-0.0.py
Attachment:
ofn-0.jpg
ofn-0.jpg [ 68.47 KiB | Viewed 1354 times ]

A plugin for a grid bounded by a selection path-grid-0.1.py
http://sourceforge.net/projects/gimp-pa ... s/scripts/


Attachments:
ofn-1.jpg
ofn-1.jpg [ 66.73 KiB | Viewed 1354 times ]

_________________
Image
Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Mon Sep 19, 2016 5:58 am  (#9) 
Offline
GimpChat Member

Joined: May 16, 2010
Posts: 13983
Location: USA
trandoductin wrote:
Just a sample of usage.
[ Image ]

1. Created guides to represent the first row (blue).
2. Rectangle select the first row (using Snap to Guides for easy selecting).
3. ran "Guides to path" to create path that represents first row.

4. Modified guides to represent the second row (red).
5. Rectangle select the second row (using Snap to Guides for easy selecting).
6. ran "Guides to path" to create path that represents 2nd row.

7. stroked path created in step 3. with blue.
8. stroked path created in step 6. with red.


Sorry i haven't posted sooner Tran. Been to bed and then work. Just got home and saw you created this new filter. Thank you sir! :)

Image

Exactly what i was looking for! And so quick. Thanks again Tran. :guitrock


Top
 Post subject: Re: Guides to Path (scheme script).
PostPosted: Mon Sep 19, 2016 9:19 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 2944
Tin's guide script is awesome, no denying that. However, I just ran Ofnut's Paths grid feature and I noticed that every cell had intersecting points allowing me to cut paths between cells to convert a row of cells into one cell, etc. So, how could this be obtained (making intersecting points) using the guides script, or is this possible? Tin's script makes shorter work by allowing you to select your area to create the paths. Can the paths be modified to create intersecting nodes?

_________________
Image


"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Python or Scheme script request (selection from guides)

27

No new posts Attachment(s) Select guides surrounding active path points (py. script)

18

No new posts Attachment(s) Create New Gradient Along Path (python fu script).

7

No new posts Attachment(s) Add Guides In Range (.py script). Super simple script

2

No new posts Script and Plugin Menu Placement Points for script-fu and python-fu

8



* Login  



Powered by phpBB3 © phpBB Group