It is currently Thu Sep 24, 2026 5:55 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: Curve plugin or script
PostPosted: Sat Mar 31, 2012 5:47 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Intermediate Level



Are there any plugins or scripts available that will draw a perfect curve between three or more points of your choice?


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: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:11 pm  (#2) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
What mean you by "perfect"?

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:20 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
maybe a segment of a circle ?...or a whole circle
Only 1 circle may touch the same 3 points

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:24 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
The arc doesn't need to be circular, for example, the three points may produce a comma when joined up. I want to use it to the same effect as French Curves. Ultimately, I'm trying to produce Celtic knotwork.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:34 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 07, 2010
Posts: 14182
Celtic Knotwork

_________________
Image


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:40 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Sep 06, 2011
Posts: 368
Location: US, Ohio
try the paths tool. It's pretty good for making curves.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 6:52 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Thank you Molly, that's a great find!

tstandiford - The problem with the paths tool is where two sections of a path meet, getting them to look like part of a smooth curve is extremely difficult. You need to line them up perfectly.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 7:02 pm  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
yes

and btw if only 1 circle touch 3 points a infinite number of more generic " curves" does the same, and would be hard for a script define which is "perfect"

EDIT

Somewhere there is a "smooth path" script, i believe was from Ofnuts and maybe was also presented in the script board

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 7:17 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Thanks PC. Sounds like that's what I'm looking for. Your query on fractal forums has been answered.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 7:21 pm  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
thank i am going to check now

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 8:17 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Erisian wrote:
Thank you Molly, that's a great find!

tstandiford - The problem with the paths tool is where two sections of a path meet, getting them to look like part of a smooth curve is extremely difficult. You need to line them up perfectly.
Depress the Shift key when dragging one tangent handles. This enforces the symmetry of the other one, making the curve "flat".

_________________
Image


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 8:24 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Thanks ofnuts, I'll try that. I've also downloaded the smooth paths plugin from the Gimp Plugin Registry so I'll try that as well.


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 9:07 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16174
Windows 32 bit -
I re-compiled the smooth path plugin to work in Gimp-2.6.12, and Gimp-2.7.6 also.
Unzip the folder and place the exe file in your plug-ins folder.
Restart Gimp.
Right click any path layer, and select smooth path.

Example-
Putting 60.00 and 60.00 in both fields for a 300x300 rectangle pixel path will create this-
Image

Attachment:
Smooth-Path.zip [26.9 KiB]
Downloaded 109 times


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sat Mar 31, 2012 9:33 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12846
Yes; smooth path works. Very precise too. :)


Attachments:
strkpth.png
strkpth.png [ 7.46 KiB | Viewed 1891 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Curve plugin or script
PostPosted: Sun Apr 01, 2012 12:27 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Oct 29, 2010
Posts: 711
Location: Netherlands
Works fine in 2.7.5.
Gerard.

_________________
Gentoo Linux always up-to-date.
Kernel-3.17.4 Python-2.7.8/3.3.5
Gimp-2.8.14

I use Linux only.
And Virtualbox with Win 7


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sun Apr 01, 2012 12:44 pm  (#16) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Btw, back to the original problem, using the Path tool:

- click on first point
- click on *last* point, to make a straight segment
- click in the middle of segment, and drag to third point

_________________
Image


Top
 Post subject: Re: Curve plugin or script
PostPosted: Sun Apr 01, 2012 6:40 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Smooth path was exactly what I needed - Thanks all.


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group