← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Measurement tool for GAL

 

Ctrl is already used for angle snap.

I think there should be a generic way to turn grid snap on and off in
all GAL modes. Then it stays on or off until you toggle it again.

This is a little bit tricky to do as a global action due to how the
GAL tool manager keeps VIEW_CONTROL state for each tool. This is why
grid snapping in selection mode (for which there are several issues on
LP) is harder than it looks.

Having a loads of "else if (evt->IsAction( ToggleGridAction)) "
statements in every GAL event loop would be a pain.

On Thu, Mar 30, 2017 at 9:12 PM, Fabrizio Tappero
<fabrizio.tappero@xxxxxxxxx> wrote:
> I second this
>
> Regards
> Fabrizio
>
>
> On Wed, Mar 29, 2017 at 2:23 AM, Andrey Kuznetsov <kandrey89@xxxxxxxxx>
> wrote:
>>
>> Good point Kevin.
>>
>> Can we have "hold down CTRL" to disable snap to grip feature? That would
>> cover the caliper and other myriad of uses when snap to grid is unwanted.
>>
>> On Tue, Mar 28, 2017 at 7:07 AM, Kevin Cozens <kevin@xxxxxxxxx> wrote:
>>>
>>> On 2017-03-28 03:25 AM, Fabrizio Tappero wrote:
>>>>
>>>> this ruler (caliper icon) does look really good.
>>>
>>> [snip]
>>>>
>>>> It is often a good idea to have a way to measure footprint size.
>>>
>>>
>>> The caliper tool is a useful addition to Kicad. The only one thing I've
>>> noticed about it is it only lets you measure distances from one grid point
>>> to another. If you need to measure starting from the edge of a pad (for
>>> example) to some other point you can't unless you change the grid spacing.
>>>
>>> If there is a way to tell the caliper to not snap to grid points when you
>>> are using it to make a measurement I haven't figured out how to do that.
>>>
>>> --
>>> Cheers!
>>>
>>> Kevin.
>>>
>>> http://www.ve3syb.ca/           |"Nerds make the shiny things that
>>> distract
>>> Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why
>>> we're
>>>                                 | powerful!"
>>> #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
>>
>>
>>
>>
>> --
>> Remember The Past, Live The Present, Change The Future
>> Those who look only to the past or the present are certain to miss the
>> future [JFK]
>>
>> kandrey89@xxxxxxxxx
>> Live Long and Prosper,
>> Andrey
>>
>> _______________________________________________
>> 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
>


Follow ups

References