It is currently Thu Jul 04, 2024 5:12 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Toggle paths Python plugin
PostPosted: Thu Jan 31, 2019 12:43 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 5017 times ]
Switching paths.zip [939 Bytes]
Downloaded 202 times
Switch_paths_noUI.zip [891 Bytes]
Downloaded 201 times

_________________
Image

Slava
Ukraini!
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Toggle paths Python plugin
PostPosted: Sat Feb 02, 2019 2:37 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 4932 times ]
Switch_paths_noUI_v2.zip [1 KiB]
Downloaded 186 times
Remowe all paths.zip [668 Bytes]
Downloaded 187 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Toggle paths Python plugin
PostPosted: Sun Feb 24, 2019 12:38 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 4770 times ]

_________________
Image

Slava
Ukraini!
Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Convert GIMP plugin from Python 2 to Python 3

4

No new posts Help with the option param TOGGLE (Solved)

1

No new posts Attachment(s) Macbook User and Python plugin

14

No new posts Unable to get simple python plugin to show up

8

No new posts Get a mouse click or select a pixel in an image in a python plugin?

3



* Login  



Powered by phpBB3 © phpBB Group