Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path autocurves plugin (G2 continuity) for Gimp3.0.6
#6
(12-13-2025, 05:35 PM)InquisitiveAsHell Wrote: The simplify plugin is a bit longer and has a few more API calls from what I see. You are much more experienced writing plugins than me but if I can be of any help just give me a shout.

On a related note (as I saw you also use a call to "image.get_selected_paths()" in one of your scripts), do you have any idea how to add the path to the procedure arguments (like the gimp2 script did)? I've tried to use "add_path_argument(...)" but the variable always comes through as "None" on the other side. The official documentation feels somewhat lacking on how that functionality is supposed to work.

I'm not sure I'm more experienced than you, I just spent a lot of time (like: a lot!) trying to figure things out. :-)

For your question, is your aim to be able to select the path from the plugin dialog, or to be able to call the plugin from another while passing the path?

In the second scenario, I guess I would use Gimp.Image.set_selected_paths() in the calling script and still use Gimp.Image.get_selected_paths() in the base one. Otherwise, I have no ide, maybe someone more knowledgeable could help.
Reply


Messages In This Thread
RE: Path autocurves plugin (G2 continuity) for Gimp3.0.6 - by Scallact - Yesterday, 11:03 AM

Forum Jump: