Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GEGL kaleidoscope
#2
(Yesterday, 01:24 AM)trandoductin Wrote: I looked at the gegl command.py
and I have no clue how to make it so that I can call kaleidoscope... from python fu for GIMP 2.10
any help available?

I've used the kaleidoscope fine with gegl command in 2.10.

The command is called mirrors.
You can see the parameters it takes and their types here:
https://gegl.org/operations/gegl-mirrors.html

You make a string something like this (this example hasn't got all the parameters but their types are all straightforward double / int / boolean):
    mirrors n-segs=6 input-scale=100.00 o-x=0.04 clip=true

However when I did it some time ago I thought  offset and centre were mixed up. It may not be the case anymore but worth keeping a lookout for. The above link says:

Offset X name: c-x
Offset Y name: c-y
Center X name: o-x
Center Y name: o-y

You call gegl command with parameters image, layer, gegl_string.
Reply


Messages In This Thread
GEGL kaleidoscope - by trandoductin - Yesterday, 01:24 AM
RE: GEGL kaleidoscope - by teapot - Yesterday, 04:19 AM
RE: GEGL kaleidoscope - by trandoductin - Yesterday, 07:36 AM
RE: GEGL kaleidoscope - by teapot - Yesterday, 09:29 AM
RE: GEGL kaleidoscope - by trandoductin - Yesterday, 12:19 PM
RE: GEGL kaleidoscope - by rich2005 - Yesterday, 12:49 PM
RE: GEGL kaleidoscope - by trandoductin - Yesterday, 01:28 PM
RE: GEGL kaleidoscope - by teapot - 11 hours ago

Forum Jump: