← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Measurement tool for GAL

 

Le 30/03/2017 à 15:34, John Beard a écrit :
> 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.

FYI, temporary turn grid snap off exists in Eeschema (when moving objects): Maj+Ctrl


> 
> 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.


-- 
Jean-Pierre CHARRAS


Follow ups

References