Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Toggle paths Python plugin

Thu Jan 31, 2019 12:43 pm

Recently, I often play with paths.

I needed a tool to switch visibility / chains in a large number of paths - so I wrote a simple plugin in two versions (they do the same - but the version without displaying is probably a bit faster).

I invite You to test.

Re: Toggle paths Python plugin

Sat Feb 02, 2019 2:37 am

I introduced a cosmetic change in the menu for "Switch_paths_noUI.py" and one more small addition: plugin to delete paths (all visible or invisible - for time saving) in "Remove all paths.py".

Re: Toggle paths Python plugin

Sun Feb 24, 2019 12:38 pm

One more small trick.

In the Gimp menu, "Raise Path" and "Lower Path" are in two places.
There are no options: "Raise Path to Top" and "Raise Path to Bottom" .
This can be changed by editing (while maintaining a backup) the vectors-menu.xml file (located in GIMP 2\share\gimp\2.0\ menus).

Code:
    <separator />
    <menuitem action="vectors-new" />
    <menuitem action="vectors-raise" />
    <menuitem action="vectors-raise-to-top" />   
    <menuitem action="vectors-lower" />
    <menuitem action="vectors-lower-to-bottom" />   
    <menuitem action="vectors-duplicate" />
    <menuitem action="vectors-delete" />
    <menuitem action="vectors-merge-visible" />
    <separator />
Post a reply