Modify Crosshairs Script - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions) +---- Thread: Modify Crosshairs Script (/Thread-Modify-Crosshairs-Script) |
Modify Crosshairs Script - akovia - 04-02-2020 Could this script be modified to work on the image and not the active layer? I have a shortcut already for crosshairs per layer, but would like to add a shortcut modifier to work on the image and not the layer. I poked it with a stick for a while and couldn't get it to work. RE: Modify Crosshairs Script - rich2005 - 04-03-2020 Surely the point of Greggs Crosshairs is that it is immediate - no dialogue - no options. Otherwise the grid-guides.scm does center lines based on either layer or canvas. I will throw this in since I am no good at scripting. An additional script that registers alongside Greggs Crosshairs Puts center line guides based on the canvas. RE: Modify Crosshairs Script - akovia - 04-03-2020 (04-03-2020, 09:34 AM)rich2005 Wrote: Surely the point of Greggs Crosshairs is that it is immediate - no dialogue - no options. Otherwise the grid-guides.scm does center lines based on either layer or canvas. Fantastic! No dialogs is exactly the point, and now I can finally have a shortcut for crosshairs on the canvas and not just for layers. Thank you rich. RE: Modify Crosshairs Script - Ofnuts - 04-03-2020 Also , ofn-preset-guides lets you defines menu entries/shortcuts for about any guide combination you want. (cross-hair, margins, equal slices, ...) RE: Modify Crosshairs Script - akovia - 04-03-2020 (04-03-2020, 08:36 PM)Ofnuts Wrote: Also , ofn-preset-guides lets you defines menu entries/shortcuts for about any guide combination you want. (cross-hair, margins, equal slices, ...) I didn't know that. It would certainly be much cleaner to use one plugin, and I like the idea of custom shortcut presets. I just downloaded it but didn't see a way to define guides on layers vs canvas. Could this be done? RE: Modify Crosshairs Script - Ofnuts - 04-04-2020 It can be done now, just updated the plugin: [attachment=4176]
Enjoy (discussion can continue in https://www.gimp-forum.net/Thread-ofn-preset-guides if necessary) RE: Modify Crosshairs Script - akovia - 04-04-2020 Just perfect! |