GIMP Chat
http://gimpchat.com/

Toggle paths Python plugin
http://gimpchat.com/viewtopic.php?f=9&t=17190
Page 1 of 1

Author:  MareroQ [ Thu Jan 31, 2019 12:43 pm ]
Post subject:  Toggle paths Python plugin

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.

Attachments:
Toggle paths two versions.png
Toggle paths two versions.png [ 737.88 KiB | Viewed 5020 times ]
Switching paths.zip [939 Bytes]
Downloaded 202 times
Switch_paths_noUI.zip [891 Bytes]
Downloaded 201 times

Author:  MareroQ [ Sat Feb 02, 2019 2:37 am ]
Post subject:  Re: Toggle paths Python plugin

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

Attachments:
Remove.png
Remove.png [ 50.37 KiB | Viewed 4935 times ]
Switch_paths_noUI_v2.zip [1 KiB]
Downloaded 186 times
Remowe all paths.zip [668 Bytes]
Downloaded 187 times

Author:  MareroQ [ Sun Feb 24, 2019 12:38 pm ]
Post subject:  Re: Toggle paths Python plugin

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

    <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 />


Attachments:
Vectors-menu.png
Vectors-menu.png [ 125.74 KiB | Viewed 4773 times ]

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/