GIMP Chat http://gimpchat.com/ |
|
Shape-Grid zip http://gimpchat.com/viewtopic.php?f=9&t=1593 |
Page 1 of 3 |
Author: | Rod [ Sat Apr 23, 2011 9:21 am ] | ||
Post subject: | Shape-Grid zip | ||
Here you go guys 4 scripts that all create different shapes on grids. Hexagon Octagon Rectangle Diamonds The zip is attached with the scm and the png example files. Thanks Rob and Sam ![]() You will find the scripts here
|
Author: | PhotoComix [ Sat Apr 23, 2011 9:48 am ] |
Post subject: | Re: Shape-Grid zip |
Thank Rod! |
Author: | Rod [ Sat Apr 23, 2011 10:07 am ] |
Post subject: | Re: Shape-Grid zip |
You are very welcome PC. ![]() |
Author: | Lianam [ Sat Apr 23, 2011 12:41 pm ] |
Post subject: | Re: Shape-Grid zip |
Thanks Rod. Got them and will play now. ![]() Liana |
Author: | Oregonian [ Sun Apr 24, 2011 11:47 am ] |
Post subject: | Re: Shape-Grid zip |
Thanks, Rod, for taking the time to do that and sharing your results. ![]() ![]() |
Author: | dd [ Sun Apr 24, 2011 1:44 pm ] |
Post subject: | Re: Shape-Grid zip |
Rod, do you mind if I combine these 4 into a single python script? I don't like cluttering the menus... |
Author: | PhotoComix [ Sun Apr 24, 2011 3:02 pm ] |
Post subject: | Re: Shape-Grid zip |
It seems a great idea. Maybe if is not too much complex, you may combine also those 2 (yes 1 link but 2 scripts there) http://registry.gimp.org/node/25206 ...and there is also http://registry.gimp.org/node/15852 ...maybe not all may be integrated but the more the better (argh ...my spell checker stopped to work, this doesn't sound as good english) |
Author: | PhotoComix [ Sun Apr 24, 2011 5:48 pm ] |
Post subject: | Re: Shape-Grid zip |
@DD please if you may combine easily that 4 or 5 scripts, don't care too much to integrate others if that add too much complexity (here i think also to complexity for the GUI, gimp scripts don't offer much options for the GUI) and BTW i forgot that there is even another and somehow similar grid script http://registry.gimp.org/node/25244 |
Author: | Rod [ Sun Apr 24, 2011 6:57 pm ] |
Post subject: | Re: Shape-Grid zip |
dd wrote: Rod, do you mind if I combine these 4 into a single python script? I don't like cluttering the menus... Not at all. I'd like just one myself if it's possible. ![]() |
Author: | cecilia [ Sun Apr 24, 2011 8:03 pm ] |
Post subject: | Re: Shape-Grid zip |
dd wrote: Rod, do you mind if I combine these 4 into a single python script? I don't like cluttering the menus... that sounds fabulous to me......having a billion scripts all over the place always confuses me ![]() |
Author: | dd [ Mon Apr 25, 2011 12:56 am ] |
Post subject: | Re: Shape-Grid zip |
Ok, I'll start working on it... PC, I'll combine these 4 and the circular one for now, I'll see later if there's some functionality I can add. |
Author: | mahvin [ Mon Apr 25, 2011 1:23 am ] |
Post subject: | Re: Shape-Grid zip |
dd: As they work now, you cannot create secondary layers of different sizes (the single scripts offered by Rod). The only way to obtain secondary layers, at the moment, is to grow or shrink the selections and create a new layer. Sam did update the circles grid script to add layers, but I was thinking how cool it would be to use any shape, of any size, on additional layers. Just a thought. |
Author: | dd [ Mon Apr 25, 2011 5:32 am ] |
Post subject: | Re: Shape-Grid zip |
Ok, here it is - all 5 shapes in one python plugin. It installs to filters/render/shaped grid. I kinda disliked the whole creating-a-new-image-each-time-it-runs thing, so I made it so that it instead creates a new layer to the active image and resizes the image if the layer doesn't fit (doesn't resize other layers, just changes the canvas size of the image). On another note... I have some ideas how to make the script slightly faster, I'll have to experiment with this a bit later. Here it is, folks, the new shape grid script: http://www.fileden.com/files/2010/2/7/2 ... apegrid.py |
Author: | mahvin [ Mon Apr 25, 2011 5:45 am ] |
Post subject: | Re: Shape-Grid zip |
/.gimp-2.6/plug-ins/shapegrid.py", line 38, in shapegrid pdb.gimp_image_resize(theImage, max(inWidth, img.Width), max(inHeight, img.Height), 0, 0) AttributeError: 'gimp.Image' object has no attribute 'Width' |
Author: | dd [ Mon Apr 25, 2011 5:48 am ] |
Post subject: | Re: Shape-Grid zip |
Oops! Should be fixed now, reload the file. I also removed the background colour selection and made it so that the background is always transparent - it seems a bit more useful that way, to me. |
Author: | mahvin [ Mon Apr 25, 2011 5:57 am ] |
Post subject: | Re: Shape-Grid zip |
Still throwing the same error. Have you updated the file in the link? |
Author: | dd [ Mon Apr 25, 2011 6:01 am ] |
Post subject: | Re: Shape-Grid zip |
Well, I uploaded it once more and made sure it's the right file, so try downloading it now... Just in case, here's another link http://www.fileden.com/files/2010/2/7/2 ... apegrid.py ... oh, and remember to restart gimp after you update the script. |
Author: | mahvin [ Mon Apr 25, 2011 6:05 am ] |
Post subject: | Re: Shape-Grid zip |
Second link worked. ![]() |
Author: | dd [ Mon Apr 25, 2011 7:38 am ] |
Post subject: | Re: Shape-Grid zip |
mahvin wrote: Second link worked. ![]() Yeah, I thought it might... you probably still had the other link in browser cache. |
Author: | Rod [ Mon Apr 25, 2011 8:52 am ] |
Post subject: | Re: Shape-Grid zip |
Thanks dd. ![]() |
Page 1 of 3 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |