GIMP Chat
http://gimpchat.com/

where to find ...
http://gimpchat.com/viewtopic.php?f=8&t=17740
Page 1 of 1

Author:  PKHG [ Sat Oct 12, 2019 5:46 am ]
Post subject:  where to find ...

GIMP Version:
Operating System: Mac OS
GIMP Experience: Experienced User



Hallo, where can I find this plugin:
pdb.python_fu_plugin_simple_shapes_centered

Used years ago in my guides_lab_paint plugin,
trying to use it again works for several parts
but not all , the above pub plugin is missing
at my Macbook ;-(

Author:  rich2005 [ Sat Oct 12, 2019 6:50 am ]
Post subject:  Re: where to find ...

Maybe this one

viewtopic.php?f=9&t=14742#p204099

you are in there as well ;)

viewtopic.php?f=9&t=14742&start=100#p207162

Author:  PKHG [ Sun Oct 13, 2019 10:01 am ]
Post subject:  Re: where to find ...

Yes (I was there long ago) and looked there too.

I am on the way with following (time conumed work)

Macbook with my favourite editor Emacs ==> creating *.py~ files after editing and 2.10 uses more often then not the ~file (to be seen in pluginrc) and took a lot of time to find out that behaviour on my PC (Emacs config may play a role)

Next and MORE important:
the Python parser (my PC etc) gave a lot of errors in old *.py files
with respect to wrong indentation grrrrr took 2-3 days to realise and
repair ...

Now I have a file (oct13_simple_path_shapes_centered)
making this working: plugin_simple_shapes_centered(image, layer, 1, 4, 10, 20, 50, 50, 30, 30, 30, 30, 40, 40, 1, 'Walnut',1, (23,255,24) , 1)

by copying most of the content into a Python Console of gimp
(takes some time with an rainbow-wheel rotating ;-) ). two Enter and
the functions seems to work

How to show here the xcd file??? or a picture?
(forgotten, too long ago, and already 75+ hi hi)
ha ha, was not the full editor

Attachments:
jippiegot centerdedfilledshapes.xcf [2.4 MiB]
Downloaded 135 times

Author:  rich2005 [ Sun Oct 13, 2019 11:20 am ]
Post subject:  Re: where to find ...

Your files from https://github.com/PKHG/guidelab_paint work OK here in Linux (kubuntu 18.040 and Gimp 2.10.12

Attachment:
lab.jpg
lab.jpg [ 146.68 KiB | Viewed 3035 times ]


What does not work in guidelab_paint is Simple path shapes.py version 1.1 (size 114,638 B) although it works on its own.

That weird malformed circle? There is a post about it somewhere, a Gimp 2.10 bug, but I can not find it ;)

Just for information arakne-shape-path-8 has a fixed for Gimp 2.10 version see:
viewtopic.php?f=9&t=17044&start=20#p238555

Does shape-path-8 work with OSX ? I do not know.

Author:  PKHG [ Sun Oct 13, 2019 11:37 am ]
Post subject:  Re: where to find ...

Just checked the arakne-shape-path-8

But I am sorry
the source has to be handled ...
see
self.rotate(math.radians(rot),cX,cY)
... return self
...
>>> def skew(self,rotX,rotY,cX=0.0,cY=0.0):
File "<input>", line 1
def skew(self,rotX,rotY,cX=0.0,cY=0.0):
^
IndentationError: unexpected indent
>>> #P' = (x + (y – py)tanT, y + (x – px)tanF)
>>> x,y=(self.x + (self.y-cY)*math.tan(math.radians(rotX)), self.y + (self.x-cX)*math.tan(math.radians(rotY)))
File "<input>", line 1
x,y=(self.x + (self.y-cY)*math.tan(math.radians(rotX)), self.y + (self.x-cX)*math.tan(math.radians(rotY)))
^
IndentationError: unexpected indent
>>> self.x=x
File "<input>", line 1
self.x=x

Author:  rich2005 [ Sun Oct 13, 2019 11:49 am ]
Post subject:  Re: where to find ...

Are you running from the menu? Filters -> Path -> path shape creator

Works here in linux:

Attachment:
shapes8.jpg
shapes8.jpg [ 126.79 KiB | Viewed 3028 times ]


Must be an OSX issue.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/