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