-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve orthogonalization action #5999
Conversation
Also adds a handful of useful vector math functions to geo module
So.. actionOrthogonalize can square lines now! which is #5093 However.. We already use the S keyboard shortcut for straightening lines, so it's kind of a problem having 2 menu commands with the same shortcut. |
(re: 5093, but see comment #5999 (comment))
Could we intelligently choose square instead of straighten for lines when the line "can't be straightened because it bends too much?" I guess there are some instances where both are allowed though, and more importantly the user may mean to do one and get the other. I suggest switching the square shortcut to Q. |
Yeah that would neatly solve the problem, and it's what JOSM uses too .. I'll do it. |
So it doesn't conflict with "Straighten" (sorry in advance for all the disruption this will cause)
I added squaring a single vertex for #2205... It doesn't seem as useful as I thought it would be - just squaring one vertex in isolation of all the other ones - but maybe people will want it. |
This PR fixes several long-standing issues with the orthogonalization action.
maybe use them in some other actions (straighten, etc)(will do after Straighten multiple ways in one operation #5740)