← Back to team overview

kicad-developers team mailing list archive

Re: PATCH pcbnew half-rotate actions and shortcuts

 

Idea: quick tap of R just does 90. Long press R and it pops open a tiny
dialog with focus to enter a rotation number and then you can hit enter and
it just sets the rotation angle directly on the footprint properties. This
significantly reduces clicking and leaves it flexible for those that don't
want to just half rotate. Who knows, maybe someone has a board where all
the parts need to be rotated by 15 degrees.

However I don't know if KiCad's hotkey system can tolerate timing based
shortcuts.

On Mon, Jun 10, 2019 at 7:19 PM Andrew Lutsenko <anlutsenko@xxxxxxxxx>
wrote:

> In Pcbnew that is already the case, shift+R rotates the other way around.
> Eeschema doesn't have that shortcut.
>
> On Mon, Jun 10, 2019 at 4:15 PM Kevin Cozens <kevin@xxxxxxxxx> wrote:
>
>> On 2019-06-10 6:35 p.m., Andrew Lutsenko wrote:
>> > I like to keep rotation angle set to 90 because that covers 98% of
>> cases and
>> > is it's faster to press R two or three times instead of 4 or 6 times (I
>> > frequently go the wrong way around since unfortunately R in pcbnew
>> rotates
>> > ccw and R in eeschema rotates cw, that is something that should be made
>> > consistent).
>>
>> Hm... I can't say I had really noticed that the rotation directions are
>> opposite between the two. After a quick test I noticed that you can
>> rotate
>> something in the default direction but if you go too far you have to hit
>> R
>> more times to "back up".
>>
>> It would be useful to have R to do rotations in one direction and either
>> Ctrl+R or Shift+R to do rotations in the other.
>>
>> --
>> Cheers!
>>
>> Kevin.
>>
>> http://www.ve3syb.ca/               | "Nerds make the shiny things that
>> https://www.patreon.com/KevinCozens | distract the mouth-breathers, and
>>                                      | that's why we're powerful"
>> Owner of Elecraft K2 #2172          |
>> #include <disclaimer/favourite>     |             --Chris Hardwick
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Mark

Follow ups

References