Smooth Path (new)

This plugin will take the active path and smooth it, using a Bezier
interpolation algorithm. If you've ever wanted to define a bunch of
points, and then have the GIMP draw a smooth path through them, this
plugin is for you. There is the option to smooth corners between a
range of angles.

Settings include:

  • Smooth only specified corners: If checked,
    only corners whose interior angles lie between the two settings below
    will be smoothed.
  • Minimum angle: Corners blunter (greater) than
    this angle will be smoothed.
  • Maximum angle: Corners sharper (less) than this
    angle will be smoothed.

This plugin creates a new entry in the Paths dialog right-click menu.

For details of the algorithm used in this plugin, see here:

http://www.math.ucla.edu/~baker/java/hoefer/Spline.htm

Be sure to read the readme.txt file for installation and user help.

Thanks to Rob Antonishen for his valuable contributions.

AttachmentSize
smooth-path.zip16.76 KB
smooth_demo.png15.42 KB
smooth_settings.png100.85 KB
0
Average: 4 (2 votes)

Comments

Smooth only some points - new feature?

Hi

Great tool, works really quick.

I'd like to suggest a feature that I should be able to smooth only a selection of points on the current path.

Is that possible some how?

Paul

Windows binary Gimp 64 bits

http://www.aljacom.com/~gimp/smooth-path_1-64bits.zip

Tests : Gimp GIMP 2.6.9 (http://sourceforge.net) 64 bits & Gimp 2.7.2 - Gimp 2.7.3 64 bits (Partha http://partha.com) / Windows7 64 bits

Work on a mac?

Hi, Does this work on a Mac (Snow Leapord)?

You have the C source code to

You have the C source code to my plugin. So you need to compile it. I suspect that you can only do that if you installed the GIMP from source, which is probably a tedious process, described here:

http://darwingimp.sourceforge.net/buildgimp.html

And see here:

http://gimper.net/viewtopic.php?f=17&t=777

But once you have done that, then you simply run the following command on my source code like so:

gimptool-2.0 --install smooth-path.c

and that should install the plugin.

If I owned a Mac I would have made it much easier for you. :-)

Update

i had to add a line of text (that..hem...may looks a bit self-contradictory )to make the edit accepted

problems

Hi,
I could not get this to work on windows with Gimp 2.6.7
or 2.6.3.
And I made sure the plugin was in the right place.

Works for me. Please

Works for me.

Please describe the steps you've done so far, and tell what happens and what doesn't happen.

Confused

This is pretty confusing for me as well as some of my fellow commentors. I found this plug-in not working in windows, i would be glad to know more in detail and the cause of problem for not working in windows. Moreover, What is the purpose of this plug-in?

If you do the following

If you "right click" a path inside the Path dialog, you'll get the context menu for Paths, and if your smooth path plugin is loaded, the Smooth path option will show there.

I use Smooth Path extensively to quickly round out my paths instead of having to manipulate every single node instance to smooth out my lines/corners/curves.

Oops

It works, I didn't have the paths-dialog open and was right clicking on the image instead of in the paths-dialog.

Thank you very much, ijontichy!

Syndicate content