Shape Paths

This is a collection of Script-Fus that create Paths in the form of geometric shapes. Squares, rectangles, rounded rectangles, circles, ellipses, ovals, polygons, stars, flowers, gears, triangle waves, square waves, and sine waves are currently supported.

Version 0.91 is updated for GIMP 2.4.x! It now supports automatic stroking and filling!

How to install:

  1. Right-click on the link below that says "shape-path-0.91.scm". A pop-up menu should appear. Click "Save Target As..." or "Save Link As..." or whatever the equivalent option in your browser is.
  2. Save the file "shape-path-0.91.scm" in your scripts folder. If you're not sure where your scripts folder is, you can check by opening GIMP and going to <Toolbox>/File/Preferences -> Folders -> Scripts. If more than one folder is shown, then any one of them will work.
  3. Once you have saved the file in your scripts folder, if you are already running GIMP, either click <Toolbox>/Xtns/Script-Fu/Refresh Scripts, or just close and reopen GIMP.
  4. If you have done this correctly, the scripts will appear in the menu under <Image>/Script-Fu/Shape Paths. If this menu is not there, try clicking <Toolbox>/Xtns/Script-Fu/Refresh Scripts. If it's still not there, make sure the file is in your scripts folder and that the filename ends with ".scm", not ".txt" or ".scm.txt" or something.
Average: 5 (4 votes)
AttachmentSize
shape-path-0.91.scm38.19 KB
shape-path-0.7.scm48.29 KB

Comments

Love it, Blogged

Wonderful plugin! I have been using it for a few months and just wrote a tutorial that lists it as a requirement:
How to make web 2.0 badges WITHOUT your pirated copy of Photoshop
.

Shape to path Script

Hello! I'm pretty new to Gimp and would love to be able to use your script, however, I have no idea what I'm supposed to do with the written text! (smile) Would you let me know? Thanks in advance for your assistance.

How to install

Just save the .scm file in your scripts folder. If you don't know where your scripts folder is, go to <Toolbox>/File/Preferences, click "Folders", then click "Scripts" and you'll see your script folder's path. If it shows more than one folder, then any one of them will work.

If you're still running GIMP when you put the file in the folder, then click <Toolbox>/Xtns/Script-Fu/Refresh Scripts, or just close and reopen GIMP, and you should be able to use the script from <Image>/Script-Fu/Shape Paths.

Call me stupid, but I still

Call me stupid, but I still can't find it. I'm used to scripts that come ready to load, like for gradients, in ggr files and such. These scripts consisting of pages of text and I do not get along! (Laughing)!

If you know where to save

If you know where to save gradient files, then your scripts folder should be in the same folder as the gradients folder. For example, if the gradients folder is (something)/.gimp-2.4/gradients, then the scripts folder should be in (something)/.gimp-2.4/scripts. Just put the .scm file there and you should be good to go.

BUT .....

Maybe I have not explained this clearly. Let me try again. NORMALLY when I have downloaded scripts, I get an actual FILE with the .scm annex. When I click on YOUR link, all I get is the written CODE, not a file. Now my question is, do I need to SAVE the CODE to an SCM file myself, or just put the 6 pages of code in there under a .txt file???

Thanks!

You just save the code to a

You just save the code to a .scm file. (NOT .txt!) You should be able to just right-click the link and click "Save Link As..." or "Save Target As..." (or something similar, depending on your browser).

Right. I've figured that out with the help of a friend.

I did want to mention one thing, though. I've noticed that most of you who post these scripts and such assume that EVERYONE will know what to do with them. That is not the case. That description you just gave would have alleviated the problem of our going back and forth. I'm not technically inclined, and a good percentage of Gimp users are not. It would be nice if you guys would keep that in mind. Now if you have a legal question, than I'm your gal. Thanks for sharing the script.

.txt extension

I'd be interested to know where the .txt-extension comes from. It should not happen and when I click on the .scms on this page, I get the code, not text. Could you elaborate a little on what you did?

txt.extension

that happen on windows.
windows offer only 2 options to save something as a script.

the only visible to most user is save as .txt, but that is a dropdown menu that has another less visible option
"save as all files".

But even less may imagine that "save as all files" means in windows OS "save as is do not change file extension"

then is another horror for windows user, a dumb default option to "hide extension for commune files".

Effect is that many save a script as example "layer-tricks.scm" as "layer-trick.scm.txt" but since "txt" is a commune file tipe, the extension is hided

so windows user may only see "layer-trick.scm" , that will seem correct and they will never understand why it dooesn't work, (till they don't correct that dumb option )

Hi, Thanks for an excellent

Hi,

Thanks for an excellent script.

In my Windows XP system, I had to change all the maximum value for the numeric variables from 4294967296 to 65536 to make the scripts work.

S. Rathinagiri.

Alright

I changed it to 65536 in version 0.91.

Good script

Yes, I have this problem, I change these vaules with -2147483647 and 2147483647.