Re: [Kicad-developers] What are dx and dy?

2016-05-11 Thread Эльдар Хайруллин
 I think it will be good if one can to see like:
[vector coordinates] (abs coord) (relative coord)
where [] - context visible field (drawing a graphic primitive),
() - visible always.
Or do like:
[vector coordinates] (A: abs coord | R: relative coord)
where ( | ) - switchable with the hotkey.
PS: I think the abs or rel coordinates should be visible always.
>Среда, 11 мая 2016, 0:04 +03:00 от Clemens Koller :
>
>Hi!
>
>I would see the following information on the UI quite useful:
>
>1. absolute (world) coordinates x,y
>2. relative coordinates dx,dy,dphi,ds to the last object coordinate (i.e. last 
>polygone corner/click) to place objects of a certain size.
>3. relative coordinates dx,dy,dphi,ds to the i.e. space-settable-origin to 
>place multiple objects relative to the origin.
>
>Priorities are as shown: 1->2->3.
>With the current screen real-estate it shouldn't harm to add 1+2+3 or use a
>function key to toggle the display in between 1+2 to 1+3.
>
>
>I would love to see the spacebar getting a way more important function assigned
>than placing the user origin. It seems that many users didn't even know that 
>the
>spacebar is doing that.
>What if the spacebar would fully duplicate the left mouse button because of:
>https://en.wikipedia.org/wiki/Repetitive_strain_injury
>
>I am very serious here as I am doing big designs and klicking some thousand
>times / day for many month a year is definitely worth some optimization.
>(I've tried working with keyboard reassignments, touchpads, graphic tablets,
>foot-mice, bluetooth buttons...)
>
>Regards,
>
>Clemens
>
>
>On 2016-05-10 18:20, Эльдар Хайруллин wrote:
>> Hello. I think he want to see additional fields with delta_x and delta_y 
>> (and maybe distance) relative of latest start point of drawing graphic 
>> primitive (like line) but he doesn't want to reset the user origin.
>> 
>> 
>> Вторник, 10 мая 2016, 17:25 +03:00 от Wayne Stambaugh < 
>> stambau...@gmail.com >:
>> 
>> I don't like the idea of a "smart" origin either. When I set the user
>> origin, it's typically to place multiple objects on a given x or y
>> coordinate. I don't want kicad thinking it's smarter than I am and
>> reset the user origin relative to where I started drawing some object.
>> To me that would be more annoying than useful.
>> 
>> On 5/10/2016 10:19 AM, Chris Pavlina wrote:
>> > Because that's only useful once in the entire session using pcbnew. 
>> Once you've
>> > set an origin once you can't use that anymore. What's the point?
>> > 
>> > I quite like the simplicity of the tool as it is. It's a ruler that 
>> you can
>> > move around. Why do you need a ruler that's smart and picks itself up 
>> once in a
>> > while? That just seems confusing.
>> > 
>> > On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
>> >> I can see how this is useful once you know to press space bar. But 
>> what if
>> >> it assumes an implicit origin in the following case:
>> >> - no explicit origin has been set
>> >> - the user is drawing a shape
>> >> On May 10, 2016 12:39 AM, "Nick Østergaard" < oe.n...@gmail.com 
>> > wrote:
>> >>
>> >>>  
>> http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
>> >>>
>> >>> 2016-05-09 22:44 GMT+02:00 Collin Anderson < metacol...@electropi.mp 
>> >:
>>  Hit space bar, it will set the origin for dx and dy.  It's useful 
>> for
>> >>> seeing where the cursor is relative to the most recent 'origin' set 
>> with
>> >>> the spacebar.  I use it all the time :).
>>  --
>>  "Violence is the last refuge of the incompetent." - Isaac Asimov
>> 
>> > On May 9, 2016, at 2:39 PM, Duane Johnson < 
>> duane.john...@gmail.com >
>> >>> wrote:
>> >
>> > When I create a rectangle, or line, I frequently want to know what 
>> the
>> >>> size of the rectangle is (width and height). I would have assumed 
>> that's
>> >>> what "dx" and "dy" in the footer/status bar are for; however, it 
>> seems like
>> >>> in all cases, they simply reflect the same values as "X" and "Y". Am 
>> I
>> >>> missing something, or is this something to be fixed?
>> >
>> > Thanks,
>> > Duane
>> > > >>> .37.18.png>___
>> > Mailing list:  https://launchpad.net/~kicad-developers
>> > Post to :  kicad-developers@lists.launchpad.net > kicad-developers@lists.launchpad.net >
>> > Unsubscribe :  https://launchpad.net/~kicad-developers
>> > More help   :  https://help.launchpad.net/ListHelp
>> 
>> 
>>  ___
>>  Mailing list:  https://launchpad.net/~kicad-developers
>>  Post to :  kicad-developers@lists.launchpad.net > kicad-developers@lists.launchpad.net >
>>  Unsubscribe :  

Re: [Kicad-developers] What are dx and dy?

2016-05-11 Thread Chris Pavlina
Yup, I wasn't going to leave the function exactly as is. Hotkey should be
pulled from config. I also don't like the way it checks whether an origin has
been set.

On Wed, May 11, 2016 at 09:12:36AM +0200, jp charras wrote:
> Le 11/05/2016 à 00:25, Chris Pavlina a écrit :
> > Ooh, I like! I'll test and merge this tonight if nobody else complains. I 
> > have
> > no problem with showing a hint when no origin has been set.
> > 
> > Note for the future, use _() instead of wxT() to make a string that can be
> > translated - and a couple bits don't follow the defined coding style. I'll 
> > just
> > fix it myself this time though, NBD :)
> 
> About the hint, [space] is not always the right hotkey, because it is 
> editable by the hotkey editor.
> 
> 
> > 
> > On Wed, May 11, 2016 at 12:16:51AM +0200, Martin d'Allens wrote:
> >> I think that the current ruler feature works great. Unfortunately
> >> people don't discover it easily.
> >> There are frequent questions on the user forum that we just answer by
> >> mentioning the space hotkey and how it works.
> >>
> >> Here is a patch that could solve this problem:
> >> https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
> >> The patch needs improvements to show the current shortcut if "space"
> >> was changed.
> >>
> >> The idea is to show a hint about the space shortcut instead of the DX
> >> DY values until the key has been pressed.
> >> There is no disadvantage since the DX and DY values will be redundant
> >> with the X and Y until the key has been pressed.
> >>
> 
> 
> 
> -- 
> Jean-Pierre CHARRAS
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-11 Thread Martin d'Allens
Yes, the patch needs improvements to show the current shortcut if
"space" was changed.

Another little improvement that may be useful is to show the local
coordinates origin with some kind of crosshair.

On Wed, May 11, 2016 at 9:12 AM, jp charras  wrote:
> Le 11/05/2016 à 00:25, Chris Pavlina a écrit :
>> Ooh, I like! I'll test and merge this tonight if nobody else complains. I 
>> have
>> no problem with showing a hint when no origin has been set.
>>
>> Note for the future, use _() instead of wxT() to make a string that can be
>> translated - and a couple bits don't follow the defined coding style. I'll 
>> just
>> fix it myself this time though, NBD :)
>
> About the hint, [space] is not always the right hotkey, because it is 
> editable by the hotkey editor.
>
>
>>
>> On Wed, May 11, 2016 at 12:16:51AM +0200, Martin d'Allens wrote:
>>> I think that the current ruler feature works great. Unfortunately
>>> people don't discover it easily.
>>> There are frequent questions on the user forum that we just answer by
>>> mentioning the space hotkey and how it works.
>>>
>>> Here is a patch that could solve this problem:
>>> https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
>>> The patch needs improvements to show the current shortcut if "space"
>>> was changed.
>>>
>>> The idea is to show a hint about the space shortcut instead of the DX
>>> DY values until the key has been pressed.
>>> There is no disadvantage since the DX and DY values will be redundant
>>> with the X and Y until the key has been pressed.
>>>
>
>
>
> --
> Jean-Pierre CHARRAS
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-11 Thread jp charras
Le 11/05/2016 à 00:25, Chris Pavlina a écrit :
> Ooh, I like! I'll test and merge this tonight if nobody else complains. I have
> no problem with showing a hint when no origin has been set.
> 
> Note for the future, use _() instead of wxT() to make a string that can be
> translated - and a couple bits don't follow the defined coding style. I'll 
> just
> fix it myself this time though, NBD :)

About the hint, [space] is not always the right hotkey, because it is editable 
by the hotkey editor.


> 
> On Wed, May 11, 2016 at 12:16:51AM +0200, Martin d'Allens wrote:
>> I think that the current ruler feature works great. Unfortunately
>> people don't discover it easily.
>> There are frequent questions on the user forum that we just answer by
>> mentioning the space hotkey and how it works.
>>
>> Here is a patch that could solve this problem:
>> https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
>> The patch needs improvements to show the current shortcut if "space"
>> was changed.
>>
>> The idea is to show a hint about the space shortcut instead of the DX
>> DY values until the key has been pressed.
>> There is no disadvantage since the DX and DY values will be redundant
>> with the X and Y until the key has been pressed.
>>



-- 
Jean-Pierre CHARRAS

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Duane Johnson
Perfect, this would have helped my past self immensely :)

Thanks.

On Tue, May 10, 2016 at 4:16 PM, Martin d'Allens 
wrote:

> I think that the current ruler feature works great. Unfortunately
> people don't discover it easily.
> There are frequent questions on the user forum that we just answer by
> mentioning the space hotkey and how it works.
>
> Here is a patch that could solve this problem:
>
> https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
> The patch needs improvements to show the current shortcut if "space"
> was changed.
>
> The idea is to show a hint about the space shortcut instead of the DX
> DY values until the key has been pressed.
> There is no disadvantage since the DX and DY values will be redundant
> with the X and Y until the key has been pressed.
>
>
> On Tue, May 10, 2016 at 6:20 PM, Эльдар Хайруллин
>  wrote:
> > Hello. I think he want to see additional fields with delta_x and delta_y
> > (and maybe distance) relative of latest start point of drawing graphic
> > primitive (like line) but he doesn't want to reset the user origin.
> >
> >
> > Вторник, 10 мая 2016, 17:25 +03:00 от Wayne Stambaugh
> > :
> >
> >
> > I don't like the idea of a "smart" origin either. When I set the user
> > origin, it's typically to place multiple objects on a given x or y
> > coordinate. I don't want kicad thinking it's smarter than I am and
> > reset the user origin relative to where I started drawing some object.
> > To me that would be more annoying than useful.
> >
> > On 5/10/2016 10:19 AM, Chris Pavlina wrote:
> >> Because that's only useful once in the entire session using pcbnew. Once
> >> you've
> >> set an origin once you can't use that anymore. What's the point?
> >>
> >> I quite like the simplicity of the tool as it is. It's a ruler that you
> >> can
> >> move around. Why do you need a ruler that's smart and picks itself up
> once
> >> in a
> >> while? That just seems confusing.
> >>
> >> On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
> >>> I can see how this is useful once you know to press space bar. But what
> >>> if
> >>> it assumes an implicit origin in the following case:
> >>> - no explicit origin has been set
> >>> - the user is drawing a shape
> >>> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
> >>>
> 
> http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
> 
>  2016-05-09 22:44 GMT+02:00 Collin Anderson :
> > Hit space bar, it will set the origin for dx and dy. It's useful for
>  seeing where the cursor is relative to the most recent 'origin' set
> with
>  the spacebar. I use it all the time :).
> > --
> > "Violence is the last refuge of the incompetent." - Isaac Asimov
> >
> >> On May 9, 2016, at 2:39 PM, Duane Johnson 
>  wrote:
> >>
> >> When I create a rectangle, or line, I frequently want to know what
> the
>  size of the rectangle is (width and height). I would have assumed
> that's
>  what "dx" and "dy" in the footer/status bar are for; however, it seems
>  like
>  in all cases, they simply reflect the same values as "X" and "Y". Am I
>  missing something, or is this something to be fixed?
> >>
> >> Thanks,
> >> Duane
> >>   .37.18.png>___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> 
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> >>
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> >
> >
> >
> > С уважением,
> > Эльдар Хайруллин
> > eldar.khayrul...@mail.ru
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> 

Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Chris Pavlina
Ooh, I like! I'll test and merge this tonight if nobody else complains. I have
no problem with showing a hint when no origin has been set.

Note for the future, use _() instead of wxT() to make a string that can be
translated - and a couple bits don't follow the defined coding style. I'll just
fix it myself this time though, NBD :)

On Wed, May 11, 2016 at 12:16:51AM +0200, Martin d'Allens wrote:
> I think that the current ruler feature works great. Unfortunately
> people don't discover it easily.
> There are frequent questions on the user forum that we just answer by
> mentioning the space hotkey and how it works.
> 
> Here is a patch that could solve this problem:
> https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
> The patch needs improvements to show the current shortcut if "space"
> was changed.
> 
> The idea is to show a hint about the space shortcut instead of the DX
> DY values until the key has been pressed.
> There is no disadvantage since the DX and DY values will be redundant
> with the X and Y until the key has been pressed.
> 
> 
> On Tue, May 10, 2016 at 6:20 PM, Эльдар Хайруллин
>  wrote:
> > Hello. I think he want to see additional fields with delta_x and delta_y
> > (and maybe distance) relative of latest start point of drawing graphic
> > primitive (like line) but he doesn't want to reset the user origin.
> >
> >
> > Вторник, 10 мая 2016, 17:25 +03:00 от Wayne Stambaugh
> > :
> >
> >
> > I don't like the idea of a "smart" origin either. When I set the user
> > origin, it's typically to place multiple objects on a given x or y
> > coordinate. I don't want kicad thinking it's smarter than I am and
> > reset the user origin relative to where I started drawing some object.
> > To me that would be more annoying than useful.
> >
> > On 5/10/2016 10:19 AM, Chris Pavlina wrote:
> >> Because that's only useful once in the entire session using pcbnew. Once
> >> you've
> >> set an origin once you can't use that anymore. What's the point?
> >>
> >> I quite like the simplicity of the tool as it is. It's a ruler that you
> >> can
> >> move around. Why do you need a ruler that's smart and picks itself up once
> >> in a
> >> while? That just seems confusing.
> >>
> >> On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
> >>> I can see how this is useful once you know to press space bar. But what
> >>> if
> >>> it assumes an implicit origin in the following case:
> >>> - no explicit origin has been set
> >>> - the user is drawing a shape
> >>> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
> >>>
>  http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
> 
>  2016-05-09 22:44 GMT+02:00 Collin Anderson :
> > Hit space bar, it will set the origin for dx and dy. It's useful for
>  seeing where the cursor is relative to the most recent 'origin' set with
>  the spacebar. I use it all the time :).
> > --
> > "Violence is the last refuge of the incompetent." - Isaac Asimov
> >
> >> On May 9, 2016, at 2:39 PM, Duane Johnson 
>  wrote:
> >>
> >> When I create a rectangle, or line, I frequently want to know what the
>  size of the rectangle is (width and height). I would have assumed that's
>  what "dx" and "dy" in the footer/status bar are for; however, it seems
>  like
>  in all cases, they simply reflect the same values as "X" and "Y". Am I
>  missing something, or is this something to be fixed?
> >>
> >> Thanks,
> >> Duane
> >>   .37.18.png>___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> 
> >>
> >>
> >> ___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help : https://help.launchpad.net/ListHelp
> >>
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> >
> >
> >
> > С уважением,
> > Эльдар Хайруллин
> > eldar.khayrul...@mail.ru
> >
> > ___
> > Mailing list: 

Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Martin d'Allens
I think that the current ruler feature works great. Unfortunately
people don't discover it easily.
There are frequent questions on the user forum that we just answer by
mentioning the space hotkey and how it works.

Here is a patch that could solve this problem:
https://github.com/KiCad/kicad-source-mirror/compare/master...Caerbannog:master.patch
The patch needs improvements to show the current shortcut if "space"
was changed.

The idea is to show a hint about the space shortcut instead of the DX
DY values until the key has been pressed.
There is no disadvantage since the DX and DY values will be redundant
with the X and Y until the key has been pressed.


On Tue, May 10, 2016 at 6:20 PM, Эльдар Хайруллин
 wrote:
> Hello. I think he want to see additional fields with delta_x and delta_y
> (and maybe distance) relative of latest start point of drawing graphic
> primitive (like line) but he doesn't want to reset the user origin.
>
>
> Вторник, 10 мая 2016, 17:25 +03:00 от Wayne Stambaugh
> :
>
>
> I don't like the idea of a "smart" origin either. When I set the user
> origin, it's typically to place multiple objects on a given x or y
> coordinate. I don't want kicad thinking it's smarter than I am and
> reset the user origin relative to where I started drawing some object.
> To me that would be more annoying than useful.
>
> On 5/10/2016 10:19 AM, Chris Pavlina wrote:
>> Because that's only useful once in the entire session using pcbnew. Once
>> you've
>> set an origin once you can't use that anymore. What's the point?
>>
>> I quite like the simplicity of the tool as it is. It's a ruler that you
>> can
>> move around. Why do you need a ruler that's smart and picks itself up once
>> in a
>> while? That just seems confusing.
>>
>> On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
>>> I can see how this is useful once you know to press space bar. But what
>>> if
>>> it assumes an implicit origin in the following case:
>>> - no explicit origin has been set
>>> - the user is drawing a shape
>>> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
>>>
 http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates

 2016-05-09 22:44 GMT+02:00 Collin Anderson :
> Hit space bar, it will set the origin for dx and dy. It's useful for
 seeing where the cursor is relative to the most recent 'origin' set with
 the spacebar. I use it all the time :).
> --
> "Violence is the last refuge of the incompetent." - Isaac Asimov
>
>> On May 9, 2016, at 2:39 PM, Duane Johnson 
 wrote:
>>
>> When I create a rectangle, or line, I frequently want to know what the
 size of the rectangle is (width and height). I would have assumed that's
 what "dx" and "dy" in the footer/status bar are for; however, it seems
 like
 in all cases, they simply reflect the same values as "X" and "Y". Am I
 missing something, or is this something to be fixed?
>>
>> Thanks,
>> Duane
>> >>> .37.18.png>___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp

>>
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>>
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
>
>
> С уважением,
> Эльдар Хайруллин
> eldar.khayrul...@mail.ru
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
From c5e03bf091258251b8c82da935e8539945da6f32 Mon Sep 17 00:00:00 2001
From: Martin d'Allens 
Date: Wed, 11 May 2016 00:03:14 +0200
Subject: [PATCH] Show hint to use ruler function

---
 pcbnew/basepcbframe.cpp | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/pcbnew/basepcbframe.cpp b/pcbnew/basepcbframe.cpp
index ff212cc..d33d4ae 100644
--- a/pcbnew/basepcbframe.cpp
+++ 

Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Эльдар Хайруллин
 Hello. I think he want to see additional fields with delta_x and delta_y (and 
maybe distance) relative of latest start point of drawing graphic primitive 
(like line) but he doesn't want to reset the user origin.


>Вторник, 10 мая 2016, 17:25 +03:00 от Wayne Stambaugh :
>
>I don't like the idea of a "smart" origin either.  When I set the user
>origin, it's typically to place multiple objects on a given x or y
>coordinate.  I don't want kicad thinking it's smarter than I am and
>reset the user origin relative to where I started drawing some object.
>To me that would be more annoying than useful.
>
>On 5/10/2016 10:19 AM, Chris Pavlina wrote:
>> Because that's only useful once in the entire session using pcbnew. Once 
>> you've
>> set an origin once you can't use that anymore. What's the point?
>> 
>> I quite like the simplicity of the tool as it is. It's a ruler that you can
>> move around. Why do you need a ruler that's smart and picks itself up once 
>> in a
>> while? That just seems confusing.
>> 
>> On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
>>> I can see how this is useful once you know to press space bar. But what if
>>> it assumes an implicit origin in the following case:
>>> - no explicit origin has been set
>>> - the user is drawing a shape
>>> On May 10, 2016 12:39 AM, "Nick Østergaard" < oe.n...@gmail.com > wrote:
>>>
  http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates

 2016-05-09 22:44 GMT+02:00 Collin Anderson < metacol...@electropi.mp >:
> Hit space bar, it will set the origin for dx and dy.  It's useful for
 seeing where the cursor is relative to the most recent 'origin' set with
 the spacebar.  I use it all the time :).
> --
> "Violence is the last refuge of the incompetent." - Isaac Asimov
>
>> On May 9, 2016, at 2:39 PM, Duane Johnson < duane.john...@gmail.com >
 wrote:
>>
>> When I create a rectangle, or line, I frequently want to know what the
 size of the rectangle is (width and height). I would have assumed that's
 what "dx" and "dy" in the footer/status bar are for; however, it seems like
 in all cases, they simply reflect the same values as "X" and "Y". Am I
 missing something, or is this something to be fixed?
>>
>> Thanks,
>> Duane
>> >>> .37.18.png>___
>> Mailing list:  https://launchpad.net/~kicad-developers
>> Post to :  kicad-developers@lists.launchpad.net
>> Unsubscribe :  https://launchpad.net/~kicad-developers
>> More help   :  https://help.launchpad.net/ListHelp
>
>
> ___
> Mailing list:  https://launchpad.net/~kicad-developers
> Post to :  kicad-developers@lists.launchpad.net
> Unsubscribe :  https://launchpad.net/~kicad-developers
> More help   :  https://help.launchpad.net/ListHelp

>> 
>> 
>> ___
>> Mailing list:  https://launchpad.net/~kicad-developers
>> Post to :  kicad-developers@lists.launchpad.net
>> Unsubscribe :  https://launchpad.net/~kicad-developers
>> More help   :  https://help.launchpad.net/ListHelp
>> 
>
>___
>Mailing list:  https://launchpad.net/~kicad-developers
>Post to :  kicad-developers@lists.launchpad.net
>Unsubscribe :  https://launchpad.net/~kicad-developers
>More help   :  https://help.launchpad.net/ListHelp


С уважением,
Эльдар Хайруллин
eldar.khayrul...@mail.ru
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Duane Johnson
Well, I've stared at that dx and dy for countless sessions of pcbnew,
trying to figure out how to make it useful based on looking at the UI. I
couldn't.

What if we replace the (IMO useless) mimicking of X and Y with a message to
press 'space' to measure?

Otherwise, there is no UI hint as to how to make the visible numbers useful.

On Tue, May 10, 2016 at 8:25 AM, Wayne Stambaugh 
wrote:

> I don't like the idea of a "smart" origin either.  When I set the user
> origin, it's typically to place multiple objects on a given x or y
> coordinate.  I don't want kicad thinking it's smarter than I am and
> reset the user origin relative to where I started drawing some object.
> To me that would be more annoying than useful.
>
> On 5/10/2016 10:19 AM, Chris Pavlina wrote:
> > Because that's only useful once in the entire session using pcbnew. Once
> you've
> > set an origin once you can't use that anymore. What's the point?
> >
> > I quite like the simplicity of the tool as it is. It's a ruler that you
> can
> > move around. Why do you need a ruler that's smart and picks itself up
> once in a
> > while? That just seems confusing.
> >
> > On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
> >> I can see how this is useful once you know to press space bar. But what
> if
> >> it assumes an implicit origin in the following case:
> >> - no explicit origin has been set
> >> - the user is drawing a shape
> >> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
> >>
> >>>
> http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
> >>>
> >>> 2016-05-09 22:44 GMT+02:00 Collin Anderson :
>  Hit space bar, it will set the origin for dx and dy.  It's useful for
> >>> seeing where the cursor is relative to the most recent 'origin' set
> with
> >>> the spacebar.  I use it all the time :).
>  --
>  "Violence is the last refuge of the incompetent." - Isaac Asimov
> 
> > On May 9, 2016, at 2:39 PM, Duane Johnson 
> >>> wrote:
> >
> > When I create a rectangle, or line, I frequently want to know what
> the
> >>> size of the rectangle is (width and height). I would have assumed
> that's
> >>> what "dx" and "dy" in the footer/status bar are for; however, it seems
> like
> >>> in all cases, they simply reflect the same values as "X" and "Y". Am I
> >>> missing something, or is this something to be fixed?
> >
> > Thanks,
> > Duane
> >  >>> .37.18.png>___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> 
> 
>  ___
>  Mailing list: https://launchpad.net/~kicad-developers
>  Post to : kicad-developers@lists.launchpad.net
>  Unsubscribe : https://launchpad.net/~kicad-developers
>  More help   : https://help.launchpad.net/ListHelp
> >>>
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
> >
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Wayne Stambaugh
I don't like the idea of a "smart" origin either.  When I set the user
origin, it's typically to place multiple objects on a given x or y
coordinate.  I don't want kicad thinking it's smarter than I am and
reset the user origin relative to where I started drawing some object.
To me that would be more annoying than useful.

On 5/10/2016 10:19 AM, Chris Pavlina wrote:
> Because that's only useful once in the entire session using pcbnew. Once 
> you've
> set an origin once you can't use that anymore. What's the point?
> 
> I quite like the simplicity of the tool as it is. It's a ruler that you can
> move around. Why do you need a ruler that's smart and picks itself up once in 
> a
> while? That just seems confusing.
> 
> On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
>> I can see how this is useful once you know to press space bar. But what if
>> it assumes an implicit origin in the following case:
>> - no explicit origin has been set
>> - the user is drawing a shape
>> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
>>
>>> http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
>>>
>>> 2016-05-09 22:44 GMT+02:00 Collin Anderson :
 Hit space bar, it will set the origin for dx and dy.  It's useful for
>>> seeing where the cursor is relative to the most recent 'origin' set with
>>> the spacebar.  I use it all the time :).
 --
 "Violence is the last refuge of the incompetent." - Isaac Asimov

> On May 9, 2016, at 2:39 PM, Duane Johnson 
>>> wrote:
>
> When I create a rectangle, or line, I frequently want to know what the
>>> size of the rectangle is (width and height). I would have assumed that's
>>> what "dx" and "dy" in the footer/status bar are for; however, it seems like
>>> in all cases, they simply reflect the same values as "X" and "Y". Am I
>>> missing something, or is this something to be fixed?
>
> Thanks,
> Duane
> >> .37.18.png>___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~kicad-developers
 Post to : kicad-developers@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~kicad-developers
 More help   : https://help.launchpad.net/ListHelp
>>>
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Duane Johnson
I can see how this is useful once you know to press space bar. But what if
it assumes an implicit origin in the following case:
- no explicit origin has been set
- the user is drawing a shape
On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:

> http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
>
> 2016-05-09 22:44 GMT+02:00 Collin Anderson :
> > Hit space bar, it will set the origin for dx and dy.  It's useful for
> seeing where the cursor is relative to the most recent 'origin' set with
> the spacebar.  I use it all the time :).
> > --
> > "Violence is the last refuge of the incompetent." - Isaac Asimov
> >
> >> On May 9, 2016, at 2:39 PM, Duane Johnson 
> wrote:
> >>
> >> When I create a rectangle, or line, I frequently want to know what the
> size of the rectangle is (width and height). I would have assumed that's
> what "dx" and "dy" in the footer/status bar are for; however, it seems like
> in all cases, they simply reflect the same values as "X" and "Y". Am I
> missing something, or is this something to be fixed?
> >>
> >> Thanks,
> >> Duane
> >>  .37.18.png>___
> >> Mailing list: https://launchpad.net/~kicad-developers
> >> Post to : kicad-developers@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~kicad-developers
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-10 Thread Chris Pavlina
Because that's only useful once in the entire session using pcbnew. Once you've
set an origin once you can't use that anymore. What's the point?

I quite like the simplicity of the tool as it is. It's a ruler that you can
move around. Why do you need a ruler that's smart and picks itself up once in a
while? That just seems confusing.

On Tue, May 10, 2016 at 08:15:52AM -0600, Duane Johnson wrote:
> I can see how this is useful once you know to press space bar. But what if
> it assumes an implicit origin in the following case:
> - no explicit origin has been set
> - the user is drawing a shape
> On May 10, 2016 12:39 AM, "Nick Østergaard"  wrote:
> 
> > http://docs.kicad-pcb.org/en/pcbnew.html#_displaying_cursor_coordinates
> >
> > 2016-05-09 22:44 GMT+02:00 Collin Anderson :
> > > Hit space bar, it will set the origin for dx and dy.  It's useful for
> > seeing where the cursor is relative to the most recent 'origin' set with
> > the spacebar.  I use it all the time :).
> > > --
> > > "Violence is the last refuge of the incompetent." - Isaac Asimov
> > >
> > >> On May 9, 2016, at 2:39 PM, Duane Johnson 
> > wrote:
> > >>
> > >> When I create a rectangle, or line, I frequently want to know what the
> > size of the rectangle is (width and height). I would have assumed that's
> > what "dx" and "dy" in the footer/status bar are for; however, it seems like
> > in all cases, they simply reflect the same values as "X" and "Y". Am I
> > missing something, or is this something to be fixed?
> > >>
> > >> Thanks,
> > >> Duane
> > >>  > .37.18.png>___
> > >> Mailing list: https://launchpad.net/~kicad-developers
> > >> Post to : kicad-developers@lists.launchpad.net
> > >> Unsubscribe : https://launchpad.net/~kicad-developers
> > >> More help   : https://help.launchpad.net/ListHelp
> > >
> > >
> > > ___
> > > Mailing list: https://launchpad.net/~kicad-developers
> > > Post to : kicad-developers@lists.launchpad.net
> > > Unsubscribe : https://launchpad.net/~kicad-developers
> > > More help   : https://help.launchpad.net/ListHelp
> >


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] What are dx and dy?

2016-05-09 Thread Collin Anderson
Hit space bar, it will set the origin for dx and dy.  It's useful for seeing 
where the cursor is relative to the most recent 'origin' set with the spacebar. 
 I use it all the time :).
-- 
"Violence is the last refuge of the incompetent." - Isaac Asimov

> On May 9, 2016, at 2:39 PM, Duane Johnson  wrote:
> 
> When I create a rectangle, or line, I frequently want to know what the size 
> of the rectangle is (width and height). I would have assumed that's what "dx" 
> and "dy" in the footer/status bar are for; however, it seems like in all 
> cases, they simply reflect the same values as "X" and "Y". Am I missing 
> something, or is this something to be fixed?
> 
> Thanks,
> Duane
>  14.37.18.png>___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp