[Kicad-developers] Routing algorithm used in PCB

2017-08-27 Thread Arun Kumar
Hi Team,

Which PCB routing algorithm are used in PCB designing in Kicad?

Thanks
Arun
___
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] Stable release 4.0.7 status.

2017-08-27 Thread Wayne Stambaugh
Thanks everyone for getting this ready.  I will do my best to get the
release announcement done tomorrow unless there is a reason not to.

Cheers,

Wayne

On 8/27/2017 3:30 PM, Piotr Esden-Tempski wrote:
> Hi Adam,
> 
> I have tested the 4.0.7 version from the testing directory. It seems to be 
> working fine for me. I have poked around a bunch and everything seems to be 
> working.
> 
> Platform: Mac OS X (Darwin 16.7.0 x86_64), 64 bit
> 
> Cheers,
> Piotr
> 
> 
>> On Aug 27, 2017, at 6:19 AM, Adam Wolf  wrote:
>>
>> Hi folks,
>>
>> Updated 4.0.7 packages are in osx-staging-stable on the server.  If
>> someone could test that they open up and seem to work OK they're ready
>> to go, otherwise I am unfortunately busy today and will not be able to
>> test them until tomorrow.
>>
>> If someone else tests them and they seem OK they are OK to me.  (They
>> should work--the last 4 or 5 4.0.7 release candidates worked fine, I
>> just don't want to release them without testing the exact files.)
>>
>> Adam
>>
>> On Sat, Aug 26, 2017 at 8:16 AM, Jean-Samuel Reynaud
>>  wrote:
>>> Hi,
>>>
>>> Building is in progress for binaries in PPA. For documentation and i18n it
>>> is also in progress.
>>> A little more work is needed for libs and modules. But I'm working on it.
>>>
>>>
>>> Le 25/08/2017 à 15:10, Nick Østergaard a écrit :
>>>
>>> I have got reports for people just sanity testing it that it seems to work.
>>> So I think we can move it to the stable folder.
>>>
>>> I don't know what the status is for the Macos and PPA builds.
>>>
>>> 2017-08-25 1:03 GMT+02:00 Simon Richter :

 Hi,

 On 25.08.2017 00:48, Wayne Stambaugh wrote:

> Great work everyone!  Lets fire up those package builders.

 http://kiwi.hogyros.de:8080/job/windows-kicad-msys2-stable/11/console

 This will upload to

 http://downloads.kicad-pcb.org/windows/testing/

   Simon


 ___
 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] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread Greg Smith
Tested: kicad-r8452.e3c64f1f0-x86_64.exe 
Great job!
LayerViewSet now works without having to manually change the canvas type.
It has gone back to function similar to 4.0.6 stable, requiring the cursorto 
enter the GLCanvas window to see the layer updates.
In the case of LayerViewSet, pcbnew.UpdateUserInterface() must be called within 
the script after pcbnew.GetBoard().SetVisibleLayers(). And when Ido so, the 
interface flickers (particularly the top tool box "F.Cu (PgUp)"layer 
indicator). Ideally, there'd be a visually cleaner way to do this, but it 
isvery functional at the moment.
When the cursor enters the GLCanvas window, the layers are redrawn. I 
suspectthe issue requires a call to SwapBuffers, but it is a common issue with 
4.0.6 stable.
 

On Sunday, August 27, 2017 1:32 AM, jp charras  
wrote:
 

 Le 23/08/2017 à 16:27, Greg Smith a écrit :
> Better formatting:
> 
> How do you get PCB_EDIT_FRAME functions exposed to python?
> 
> I've been looking around the source code to
> see how to expose them. Specifically, 
> PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions.
> 

In rev a557838c615c9b268830138348c6a8d6a4cc9ba9 I fixed the issue about 
incorrect user interface
update after running a Action Plugin.

When running a Action Plugin, there is no need to update something, the Action 
Plugin manager takes
care of that (manages the undo stack, and updates the GUI and the canvas).



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


[Kicad-developers] [PATCH] PL Editor UI improvements

2017-08-27 Thread Michael Kavanagh
Dear All,
I am a university EEE student looking to start contributing to the KiCad
project. I have little/no experience with such large coding projects so am
starting small. Through my summer internships I have gained some good
experience with "Enterprise Class" EDA tools.
Please find attached my first small patch with some UI improvements for the
page layout editor.
Hopefully this is okay. Please let me know if there is anything I need to
change.
Kind regards,
Michael


0001-PL-Editor-UI-Improvements-Menubar-toolbar-and-hotkey.patch
Description: Binary data
___
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] [RFC] Proof of concept of mathematical expression input for text fields.

2017-08-27 Thread Marco Ciampa
On Sun, Aug 27, 2017 at 04:06:50PM -0400, David Novak wrote:
> On 8/27/2017 11:03 AM, Russell Oliver wrote:
> >Hi all,
> >
> >Attached is a patch that allows for the use of a mathematical expression
> >when editing the value field of components in Eeschema.
> >
> >If editing the value field and the entered string begins with an equals
> >sign "=" as you would when entering a formula into an Excel spreadsheet
> >cell, it is compiled and parsed when the Enter button is pressed while the
> >text entry is in focus.
> >
> >A valid expression is returned as a double value which is then printed
> >with a format to remove trailing zeroes. An invalid expression will not
> >change the text value.
> >
> >The expression parser is simple wrap of the C++ Mathematical Expression
> >Toolkit Library (ExprTk)  written Arash Partow and is under the MIT
> >licence [1].
> >
> >I think this provides a template for other numerical input fields within
> >Kicad.
> >
> >[1] http://www.partow.net/programming/exprtk/index.html
> >
> >Kind Regards
> >Russell
> >
> You might consider muparser.
> 
> David
> 

+1 muparser is already present in many distros:

apt-cache search muparser
libmuparser-dev - fast mathematical expressions parse library (development)
libmuparser-doc - fast mathematical expressions parser library (documentation)
libmuparser2v5 - fast mathematical expressions parser library (runtime)


-- 


Marco Ciampa

I know a joke about UDP, but you might not get it.



 GNU/Linux User #78271
 FSFE fellow #364




___
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] [RFC] Proof of concept of mathematical expression input for text fields.

2017-08-27 Thread David Novak

You might consider muparser.

David


On 8/27/2017 11:03 AM, Russell Oliver wrote:

Hi all,

Attached is a patch that allows for the use of a mathematical 
expression when editing the value field of components in Eeschema.


If editing the value field and the entered string begins with an 
equals sign "=" as you would when entering a formula into an Excel 
spreadsheet cell, it is compiled and parsed when the Enter button is 
pressed while the text entry is in focus.


A valid expression is returned as a double value which is then printed 
with a format to remove trailing zeroes. An invalid expression will 
not change the text value.


The expression parser is simple wrap of the C++ Mathematical 
Expression Toolkit Library (ExprTk)  written Arash Partow and is under 
the MIT licence [1].


I think this provides a template for other numerical input fields 
within Kicad.


[1] http://www.partow.net/programming/exprtk/index.html

Kind Regards
Russell


___
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] Stable release 4.0.7 status.

2017-08-27 Thread Piotr Esden-Tempski
Hi Adam,

I have tested the 4.0.7 version from the testing directory. It seems to be 
working fine for me. I have poked around a bunch and everything seems to be 
working.

Platform: Mac OS X (Darwin 16.7.0 x86_64), 64 bit

Cheers,
Piotr


> On Aug 27, 2017, at 6:19 AM, Adam Wolf  wrote:
> 
> Hi folks,
> 
> Updated 4.0.7 packages are in osx-staging-stable on the server.  If
> someone could test that they open up and seem to work OK they're ready
> to go, otherwise I am unfortunately busy today and will not be able to
> test them until tomorrow.
> 
> If someone else tests them and they seem OK they are OK to me.  (They
> should work--the last 4 or 5 4.0.7 release candidates worked fine, I
> just don't want to release them without testing the exact files.)
> 
> Adam
> 
> On Sat, Aug 26, 2017 at 8:16 AM, Jean-Samuel Reynaud
>  wrote:
>> Hi,
>> 
>> Building is in progress for binaries in PPA. For documentation and i18n it
>> is also in progress.
>> A little more work is needed for libs and modules. But I'm working on it.
>> 
>> 
>> Le 25/08/2017 à 15:10, Nick Østergaard a écrit :
>> 
>> I have got reports for people just sanity testing it that it seems to work.
>> So I think we can move it to the stable folder.
>> 
>> I don't know what the status is for the Macos and PPA builds.
>> 
>> 2017-08-25 1:03 GMT+02:00 Simon Richter :
>>> 
>>> Hi,
>>> 
>>> On 25.08.2017 00:48, Wayne Stambaugh wrote:
>>> 
 Great work everyone!  Lets fire up those package builders.
>>> 
>>> http://kiwi.hogyros.de:8080/job/windows-kicad-msys2-stable/11/console
>>> 
>>> This will upload to
>>> 
>>> http://downloads.kicad-pcb.org/windows/testing/
>>> 
>>>   Simon
>>> 
>>> 
>>> ___
>>> 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] Stable release 4.0.7 status.

2017-08-27 Thread Nick Østergaard
It copied it to http://downloads.kicad-pcb.org/osx/testing/ such that
people can try to grab it.

2017-08-27 15:19 GMT+02:00 Adam Wolf :

> Hi folks,
>
> Updated 4.0.7 packages are in osx-staging-stable on the server.  If
> someone could test that they open up and seem to work OK they're ready
> to go, otherwise I am unfortunately busy today and will not be able to
> test them until tomorrow.
>
> If someone else tests them and they seem OK they are OK to me.  (They
> should work--the last 4 or 5 4.0.7 release candidates worked fine, I
> just don't want to release them without testing the exact files.)
>
> Adam
>
> On Sat, Aug 26, 2017 at 8:16 AM, Jean-Samuel Reynaud
>  wrote:
> > Hi,
> >
> > Building is in progress for binaries in PPA. For documentation and i18n
> it
> > is also in progress.
> > A little more work is needed for libs and modules. But I'm working on it.
> >
> >
> > Le 25/08/2017 à 15:10, Nick Østergaard a écrit :
> >
> > I have got reports for people just sanity testing it that it seems to
> work.
> > So I think we can move it to the stable folder.
> >
> > I don't know what the status is for the Macos and PPA builds.
> >
> > 2017-08-25 1:03 GMT+02:00 Simon Richter :
> >>
> >> Hi,
> >>
> >> On 25.08.2017 00:48, Wayne Stambaugh wrote:
> >>
> >> > Great work everyone!  Lets fire up those package builders.
> >>
> >> http://kiwi.hogyros.de:8080/job/windows-kicad-msys2-stable/11/console
> >>
> >> This will upload to
> >>
> >> http://downloads.kicad-pcb.org/windows/testing/
> >>
> >>Simon
> >>
> >>
> >> ___
> >> 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] [RFC] Proof of concept of mathematical expression input for text fields.

2017-08-27 Thread Greg Smith
Anyone know how to expose this to python? Maybe incorporate
https://pypi.python.org/pypi/cexprtk/0.2.0
?

Greg S.

> On Aug 27, 2017, at 10:03 AM, Russell Oliver  wrote:
> 
> ExprTk
___
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] [RFC] Proof of concept of mathematical expression input for text fields.

2017-08-27 Thread Marcos Chaparro
I don't see myself using it in eeschema, but having this in the footprint
editor or pcbnew would be awesome. Calculating the (x,y) of a pad often
requires some simple math. Freecad has this kind of math parser, very
useful.

Marcos

On Sun, Aug 27, 2017 at 12:03 PM, Russell Oliver 
wrote:

> Hi all,
>
> Attached is a patch that allows for the use of a mathematical expression
> when editing the value field of components in Eeschema.
>
> If editing the value field and the entered string begins with an equals
> sign "=" as you would when entering a formula into an Excel spreadsheet
> cell, it is compiled and parsed when the Enter button is pressed while the
> text entry is in focus.
>
> A valid expression is returned as a double value which is then printed
> with a format to remove trailing zeroes. An invalid expression will not
> change the text value.
>
> The expression parser is simple wrap of the C++ Mathematical Expression
> Toolkit Library (ExprTk)  written Arash Partow and is under the MIT licence
> [1].
>
> I think this provides a template for other numerical input fields within
> Kicad.
>
> [1] http://www.partow.net/programming/exprtk/index.html
>
> Kind Regards
> Russell
>
> ___
> 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] Stable release 4.0.7 status.

2017-08-27 Thread Adam Wolf
Hi folks,

Updated 4.0.7 packages are in osx-staging-stable on the server.  If
someone could test that they open up and seem to work OK they're ready
to go, otherwise I am unfortunately busy today and will not be able to
test them until tomorrow.

If someone else tests them and they seem OK they are OK to me.  (They
should work--the last 4 or 5 4.0.7 release candidates worked fine, I
just don't want to release them without testing the exact files.)

Adam

On Sat, Aug 26, 2017 at 8:16 AM, Jean-Samuel Reynaud
 wrote:
> Hi,
>
> Building is in progress for binaries in PPA. For documentation and i18n it
> is also in progress.
> A little more work is needed for libs and modules. But I'm working on it.
>
>
> Le 25/08/2017 à 15:10, Nick Østergaard a écrit :
>
> I have got reports for people just sanity testing it that it seems to work.
> So I think we can move it to the stable folder.
>
> I don't know what the status is for the Macos and PPA builds.
>
> 2017-08-25 1:03 GMT+02:00 Simon Richter :
>>
>> Hi,
>>
>> On 25.08.2017 00:48, Wayne Stambaugh wrote:
>>
>> > Great work everyone!  Lets fire up those package builders.
>>
>> http://kiwi.hogyros.de:8080/job/windows-kicad-msys2-stable/11/console
>>
>> This will upload to
>>
>> http://downloads.kicad-pcb.org/windows/testing/
>>
>>Simon
>>
>>
>> ___
>> 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


[Kicad-developers] [PATCH] PcbNew Eagle Plugin: Remove layer restriction on some graphic items, fix undrawn items and place values on fabrication layers.

2017-08-27 Thread Russell Oliver
Hi All,

Attached is a patch that does some minor code changes in the PcbNew Eagle
plugin which solves a few issues I encountered while testing the eagle
schematic plugin and project import feature.

The first was that some footprints such as Wifi trace antennas use graphic
lines to form the footprint, but the plugin restricted the import of lines
and other items to non-copper layers. I think that if you are prepared to
import Eagle boards into Kicad you should be prepared to check all your
footprints for issues and not have the plugin presuppose that lines on
copper layers shouldn't exist.

The second is matching the Eagle tValues and bValues layers with the kicad
Fabrication layers instead of the silkscreen layers, to match current
standard Kicad practive for component values.

The third is that some EDGE_MODULE board items were not being drawn due to
missing calls to EDGE_MODULE::SetDrawCoord().

Kind Regards
Russell


0001-PcbNew-Eagle-Plugin-Remove-layer-restriction-on-some.patch
Description: Binary data
___
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] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread jp charras
Le 27/08/2017 à 08:54, Greg Smith a écrit :
> Thank you!!
> 
> Just curious: yesterday's (aug 26) nightly has the number: db3491f3
> 
> 
> 
> Yet the windows nightly has:
> 
> kicad-r8450.db3491f38-x86_64.exe
> 
> 
> 
> Any idea why the windows nightly has the extra "8" after db3491f3?

In fact, every commit is identified by a SHA-1 key.
For this commit (therefore this build), the full key is 
db3491f3821667ee74f5ef5a8127e20086d1e010

It is frequent, to avoid tedious info messages, to restrict the full key to its 
first digits.

> 
> 
> I'll wait for the Aug 27 nightly build and test it out with my python scripts.
> 
> 
> I appreciate it!
> 
> Greg S.
> 
> On Aug 27, 2017, at 1:32 AM, jp charras  > wrote:
> 
>> Le 23/08/2017 à 16:27, Greg Smith a écrit :
>>> Better formatting:
>>>
>>> How do you get PCB_EDIT_FRAME functions exposed to python?
>>>
>>> I've been looking around the source code to
>>> see how to expose them. Specifically, 
>>> PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions.
>>>
>>
>> In rev a557838c615c9b268830138348c6a8d6a4cc9ba9 I fixed the issue about 
>> incorrect user interface
>> update after running a Action Plugin.
>>
>> When running a Action Plugin, there is no need to update something, the 
>> Action Plugin manager takes
>> care of that (manages the undo stack, and updates the GUI and the canvas).
>>
>>
>>
>> -- 
>> Jean-Pierre CHARRAS


-- 
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] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread Greg Smith
Thank you!!
Just curious: yesterday's (aug 26) nightly has the number: db3491f3

Yet the windows nightly has:
kicad-r8450.db3491f38-x86_64.exe

Any idea why the windows nightly has the extra "8" after db3491f3?

I'll wait for the Aug 27 nightly build and test it out with my python scripts.

I appreciate it!

Greg S.

> On Aug 27, 2017, at 1:32 AM, jp charras  wrote:
> 
>> Le 23/08/2017 à 16:27, Greg Smith a écrit :
>> Better formatting:
>> 
>> How do you get PCB_EDIT_FRAME functions exposed to python?
>> 
>> I've been looking around the source code to
>> see how to expose them. Specifically, 
>> PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions.
>> 
> 
> In rev a557838c615c9b268830138348c6a8d6a4cc9ba9 I fixed the issue about 
> incorrect user interface
> update after running a Action Plugin.
> 
> When running a Action Plugin, there is no need to update something, the 
> Action Plugin manager takes
> care of that (manages the undo stack, and updates the GUI and the canvas).
> 
> 
> 
> -- 
> 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] Calling PCB_DRAW_PANEL_GAL::SyncLayersVisibility from python?

2017-08-27 Thread jp charras
Le 23/08/2017 à 16:27, Greg Smith a écrit :
> Better formatting:
> 
> How do you get PCB_EDIT_FRAME functions exposed to python?
> 
> I've been looking around the source code to
> see how to expose them. Specifically, 
> PCB_EDIT_FRAME::syncLayerVisibilities, and other PCB_EDIT_FRAME functions.
> 

In rev a557838c615c9b268830138348c6a8d6a4cc9ba9 I fixed the issue about 
incorrect user interface
update after running a Action Plugin.

When running a Action Plugin, there is no need to update something, the Action 
Plugin manager takes
care of that (manages the undo stack, and updates the GUI and the canvas).



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