florianpircher/Keyboard-Selection-Travel

Feature suggestion: Travelling from on-curve nodes to segment nodes

Closed this issue · 9 comments

This is brilliant! It is such an efficient way of selecting instead of constantly using the mouse/trackpad to drag. I was looking for something like this so I had started a script that would cycle through the nodes along the outline but then ran into difficulty going across outlines. Your approach cuts through all of that.

If I can make a suggestion/wish.
I constantly find myself either selecting a single on-curve node or both the off-curve nodes of a curved segment.
Would it be possible to add a feature that allows for travelling from an on-curve node to segment nodes? I've been trying the multiple selection feature but it doesn't feel as predictable. If this was possible, I could almost drop the use of a trackpad while editing outlines.

Glad you like it! Just to make sure I understand correctly: you want to toggle between on-curve node selected to both of it’s off-curve handles selected.

So, from this:

to this:

and the other way around? Or, to this and back:

I was thinking this.

Screenshot 2021-04-14 at 10 28 56

Screenshot 2021-04-14 at 10 29 02

Not sure if the multiple selection feature would always keep these neatly in sync.

Screenshot 2021-04-14 at 10 29 13

Screenshot 2021-04-14 at 10 29 22

This can go into a script, no plugin needed. I’ll try adding that to my scripts collection. Stay tuned :)

Would you still be able to freely travel across the on-curve nodes and segments like this?

animated

My current idea is to add scripts that you can assign custom shortcuts in preferences. So Keyboard Selection Travel would still work. The scripts would be something like: “Select Handles to the Right/Left/Top/Bottom” and “Select Handles Node to the Right/Left/Top/Bottom”.

Cool. I'll keep my eyes open for those!

The scripts are up! There are four scripts, one for left, right, up, and down.

https://github.com/florianpircher/Glyphs-Scripts/tree/main/Scripts/Selection/Travel

This is what it looks like:

For these scripts to be useful, you’ll need to define shortcuts in the preferences. This my setup:

Installation of the scripts somewhat tricky. If you know what to do, great! If not, I will try to get my scripts collection added to the plugin manager in the following days. That would make the installation a lot easier.

Got the scripts all set-up and working in conjunction with the plugin.
I'll have to share with you how I'm using it once I get a good workflow going.
Thank you, Florian!

The scripts are now downloadable from the Plugin Manager.