Switch to full style
Ask all general Gimp related questions here
Post a reply

where to find ...

Sat Oct 12, 2019 5:46 am

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 ;-(

Re: where to find ...

Sat Oct 12, 2019 6:50 am

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

Re: where to find ...

Sun Oct 13, 2019 10:01 am

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

Re: where to find ...

Sun Oct 13, 2019 11:20 am

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

lab.jpg
lab.jpg (146.68 KiB) Viewed 3029 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.

Re: where to find ...

Sun Oct 13, 2019 11:37 am

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

Re: where to find ...

Sun Oct 13, 2019 11:49 am

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

Works here in linux:

shapes8.jpg
shapes8.jpg (126.79 KiB) Viewed 3022 times


Must be an OSX issue.
Post a reply