Re: [Kicad-developers] Fwd: [PATCH] Add actions to linux desktop for start standalone applications from Kicad shortcut

2018-06-30 Thread Eldar Khayrullin


Ping
В Вторник, 12 июн. 2018 в 10:20 Д. П., Eldar Khayrullin 
 написал:



Ping
-- Пересылаемое сообщение --
От: Eldar Khayrullin 
Тема: [PATCH] Add actions to linux desktop for start standalone 
applications from Kicad shortcut

Дата: Sun, 22 Apr 2018 12:39:48 +
Кому: KiCad Developers 

Hello guys.
Look in the theme description.
The patch in attachement.
___
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] Action python plugin: access to sch/net user fields

2018-03-13 Thread Eldar Khayrullin

Hi guys.
I wrote pcbnew action plugin for generating pos files.
This is applicable for Russia now (uses russian transliteration).

It is can easy changed for generating custom report files from pcb and 
sch.

This plugin reads user fields from sch.

https://github.com/KiCad-RU/kicad_plugins

В Воскресенье, 11 мар. 2018 в 2:09 П. П., 
eldar.khayrullin  написал:

Hi guys.
Is it possible to access to schematic user fields from action plugin?
___
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] [PATCH] add helper to selecting graphic grid. Add 40 mils grid (approx. 1mm) to draw graphic items in mm

2017-12-31 Thread Eldar Khayrullin

Update!

В Воскресенье, 24 дек. 2017 в 8:59 П. П., Eldar 
Khayrullin <eldar.khayrul...@mail.ru> написал:

Hello guys.
Is it patch has chance to be merged?

В Суббота, 18 ноя. 2017 в 2:47 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello.
Can you apply my small patch? Description of the patch in mail theme.
___
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] About icons of Sch Library Editor and PCB Library Editor

2017-12-31 Thread Eldar Khayrullin

Hello.
I don't understand why this app icons were changed.
Previous icons were more clear, simple and laconic.
Now icons are hard to perception.
Are any opinion?
___
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] [PATCH] add helper to selecting graphic grid. Add 40 mils grid (approx. 1mm) to draw graphic items in mm

2017-12-24 Thread Eldar Khayrullin

Hello guys.
Is it patch has chance to be merged?

В Суббота, 18 ноя. 2017 в 2:47 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello.
Can you apply my small patch? Description of the patch in mail theme.
___
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] P-Cad patch

2017-12-17 Thread Eldar Khayrullin

Thank you for merging.
In future you can use PCAD2006 Viewer [1] for testing. It is freeware 
software [2].


[1] http://downloads.altium.com/P-CAD/PCAD2006_Viewer_19.02.9660.zip
[2] http://techdocs.altium.com/display/ALEG/Legacy+Downloads+for+P-CAD

В Воскресенье, 17 дек. 2017 в 1:33 П. П., Maciej 
Suminski <maciej.sumin...@cern.ch> написал:

Hi Eldar,

No, you are not in a spam list. Unfortunately, there are times when I
cannot work on KiCad, so it happens that a patch is not merged
instantly. I have never committed a patch without reading and testing 
it

first and it takes time too. Please be patient.

Having said that, I have just read your patches and tested them with a
limited set of P-Cad files I have. I do not have P-Cad to verify the
imported results, so I simply trust you about the changes. Thank you 
for

your contribution, your patches have been merged.

Regards,
Orson

On 12/17/2017 08:09 AM, Eldar Khayrullin wrote:

 Am I in a spam list?

 В Суббота, 16 дек. 2017 в 3:33 П. П., Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:

 Rebased patches.

 В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:
 Thank you for quick tests, I have just pushed both patches to the 
master

 branch. Regarding the previous patches - I checked the bug reports
 tagged 'pcad' and browsed the mailing list, but I could not find 
any

 patch that had not been applied. Would you point me to them?

 Regards,
 Orson

 On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
  Hi. I tested your patch. But found another one warning (see my 
patch).

  What about my previous patches for PCAD import improvement?

  В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej 
Suminski

  <maciej.sumin...@cern.ch> написал:

  Hi Eldar,

  I have an impression that you are one of the main P-Cad 
importer

 users.
  Would you test the attached patch? It fixes a number of 
warnings

 in the
  P-Cad importer plugin, but I do not have any files to verify 
the

 code.

  Thank you,
  Orson




___
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] P-Cad patch

2017-12-16 Thread Eldar Khayrullin

Am I in a spam list?

В Суббота, 16 дек. 2017 в 3:33 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Rebased patches.

В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:
Thank you for quick tests, I have just pushed both patches to the 
master

branch. Regarding the previous patches - I checked the bug reports
tagged 'pcad' and browsed the mailing list, but I could not find any
patch that had not been applied. Would you point me to them?

Regards,
Orson

On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
 Hi. I tested your patch. But found another one warning (see my 
patch).

 What about my previous patches for PCAD import improvement?

 В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:

 Hi Eldar,

 I have an impression that you are one of the main P-Cad importer 
users.
 Would you test the attached patch? It fixes a number of warnings 
in the
 P-Cad importer plugin, but I do not have any files to verify the 
code.


 Thank you,
 Orson


___
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] [PATCH] add helper to selecting graphic grid. Add 40 mils grid (approx. 1mm) to draw graphic items in mm

2017-12-16 Thread Eldar Khayrullin

Are any opinions?

В Суббота, 18 ноя. 2017 в 2:47 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello.
Can you apply my small patch? Description of the patch in mail theme.
___
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] Unlock text orientation flag for Reference/Value

2017-12-16 Thread Eldar Khayrullin

Are any opinion?

В Воскресенье, 10 дек. 2017 в 9:52 Д. П., Eldar 
Khayrullin <eldar.khayrul...@mail.ru> написал:

Hello guys.
I think a having this flag for each instance of Reference/Value is 
useless and not convenient.
This flag should be stored for entirely board as rule for this 
project.


What you say?
___
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] P-Cad patch

2017-12-16 Thread Eldar Khayrullin

Rebased patches.

В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:
Thank you for quick tests, I have just pushed both patches to the 
master

branch. Regarding the previous patches - I checked the bug reports
tagged 'pcad' and browsed the mailing list, but I could not find any
patch that had not been applied. Would you point me to them?

Regards,
Orson

On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
 Hi. I tested your patch. But found another one warning (see my 
patch).

 What about my previous patches for PCAD import improvement?

 В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:

 Hi Eldar,

 I have an impression that you are one of the main P-Cad importer 
users.
 Would you test the attached patch? It fixes a number of warnings 
in the
 P-Cad importer plugin, but I do not have any files to verify the 
code.


 Thank you,
 Orson


>From 0e5377916c3f4c4c23950abc1d7f9c962b0de0bb Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sun, 10 Dec 2017 21:18:21 +0300
Subject: [PATCH 04/10] pcad2kicadpcb_plugin: import circles

---
 pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp | 10 --
 pcbnew/pcad2kicadpcb_plugin/pcb_arc.h   |  3 +++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
index 97ca994fa..38fa914d2 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
@@ -160,7 +160,7 @@ void PCB_ARC::AddToModule( MODULE* aModule )
 {
 if( IsNonCopperLayer( m_KiCadLayer ) )
 {
-EDGE_MODULE* arc = new EDGE_MODULE( aModule, S_ARC );
+EDGE_MODULE* arc = new EDGE_MODULE( aModule, ( IsCircle() ? S_CIRCLE : S_ARC ) );
 aModule->GraphicalItemsList().PushBack( arc );
 
 arc->SetAngle( -m_angle );
@@ -181,7 +181,7 @@ void PCB_ARC::AddToBoard()
 
 m_board->Add( dseg, ADD_APPEND );
 
-dseg->SetShape( S_ARC );
+dseg->SetShape( IsCircle() ? S_CIRCLE : S_ARC );
 dseg->SetTimeStamp( m_timestamp );
 dseg->SetLayer( m_KiCadLayer );
 dseg->SetStart( wxPoint( m_positionX, m_positionY ) );
@@ -190,4 +190,10 @@ void PCB_ARC::AddToBoard()
 dseg->SetWidth( m_width );
 }
 
+
+bool PCB_ARC::IsCircle()
+{
+return ( m_angle == 3600 );
+}
+
 } // namespace PCAD2KICAD
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
index 2b82409e7..9f1022299 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
@@ -54,6 +54,9 @@ public:
 virtual voidFlip() override;
 voidAddToModule( MODULE* aModule ) override;
 voidAddToBoard() override;
+
+private:
+boolIsCircle();
 };
 
 } // namespace PCAD2KICAD
-- 
2.14.1

>From e0763477d98085063a7192d2927ef547392b8557 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sun, 10 Dec 2017 12:21:43 +0300
Subject: [PATCH 03/10] pcad2kicadpcb_plugin: use a valid font properties

Use current selected font (Stroke, TrueType) properties.
Import TrueType Font properties: bold, italic.
---
 pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp | 88 ---
 pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.h   | 12 ++--
 pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp|  2 +
 pcbnew/pcad2kicadpcb_plugin/pcb_text.cpp  |  1 +
 4 files changed, 73 insertions(+), 30 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp b/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp
index e6403434c..39569a51c 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp
@@ -43,6 +43,10 @@ const double TEXT_WIDTH_TO_SIZE_AVERAGE = 0.79;
 // PCAD proportions of stroke font
 const double TEXT_HEIGHT_TO_SIZE = 0.656;
 const double TEXT_WIDTH_TO_SIZE = 0.656;
+// True type font
+const double TRUETYPE_WIDTH_PER_HEIGHT = 0.073;
+const double TRUETYPE_BOLD_WIDTH_MUL = 1.6;
+const long TRUETYPE_BOLD_MIN_WEIGHT = 700;
 
 wxString GetWord( wxString* aStr )
 {
@@ -289,6 +293,7 @@ void SetDoublePrecisionPosition( wxString   aStr,
  aActualConversion );
 }
 
+
 TTEXT_JUSTIFY GetJustifyIdentificator( wxString aJustify )
 {
 TTEXT_JUSTIFY id;
@@ -315,6 +320,7 @@ TTEXT_JUSTIFY GetJustifyIdentificator( wxString aJustify )
 return id;
 }
 
+
 void SetTextParameters( XNODE*  aNode,
 TTEXTVALUE* aTextValue,
 wxStringaDefaultMeasurementUnit,
@@ -382,49 +388,77 @@ void SetFontProperty( XNODE*aNode,
 aNode = aNode->GetParent();
 
 aNode = FindNode( aNode, wxT( "library" ) );
-
 if( aNode )
 aNode = FindNode( aNode, wxT( "textStyleDef" ) );
 
+while( aNode )
+{

Re: [Kicad-developers] P-Cad patch

2017-12-15 Thread Eldar Khayrullin

Are any questions?

В Четверг, 14 дек. 2017 в 9:38 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Link to my previous mail
https://lists.launchpad.net/kicad-developers/msg32410.html

В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:
Thank you for quick tests, I have just pushed both patches to the 
master

branch. Regarding the previous patches - I checked the bug reports
tagged 'pcad' and browsed the mailing list, but I could not find any
patch that had not been applied. Would you point me to them?

Regards,
Orson

On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
 Hi. I tested your patch. But found another one warning (see my 
patch).

 What about my previous patches for PCAD import improvement?

 В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:

 Hi Eldar,

 I have an impression that you are one of the main P-Cad importer 
users.
 Would you test the attached patch? It fixes a number of warnings 
in the
 P-Cad importer plugin, but I do not have any files to verify the 
code.


 Thank you,
 Orson


___
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] P-Cad patch

2017-12-14 Thread Eldar Khayrullin

Link to my previous mail
https://lists.launchpad.net/kicad-developers/msg32410.html

В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:
Thank you for quick tests, I have just pushed both patches to the 
master

branch. Regarding the previous patches - I checked the bug reports
tagged 'pcad' and browsed the mailing list, but I could not find any
patch that had not been applied. Would you point me to them?

Regards,
Orson

On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
 Hi. I tested your patch. But found another one warning (see my 
patch).

 What about my previous patches for PCAD import improvement?

 В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:

 Hi Eldar,

 I have an impression that you are one of the main P-Cad importer 
users.
 Would you test the attached patch? It fixes a number of warnings 
in the
 P-Cad importer plugin, but I do not have any files to verify the 
code.


 Thank you,
 Orson


___
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] P-Cad patch

2017-12-14 Thread Eldar Khayrullin

Repeat of previously sent patches.

В Четверг, 14 дек. 2017 в 9:00 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:
Thank you for quick tests, I have just pushed both patches to the 
master

branch. Regarding the previous patches - I checked the bug reports
tagged 'pcad' and browsed the mailing list, but I could not find any
patch that had not been applied. Would you point me to them?

Regards,
Orson

On 12/14/2017 06:09 PM, Eldar Khayrullin wrote:
 Hi. I tested your patch. But found another one warning (see my 
patch).

 What about my previous patches for PCAD import improvement?

 В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski
 <maciej.sumin...@cern.ch> написал:

 Hi Eldar,

 I have an impression that you are one of the main P-Cad importer 
users.
 Would you test the attached patch? It fixes a number of warnings 
in the
 P-Cad importer plugin, but I do not have any files to verify the 
code.


 Thank you,
 Orson


>From 157b70013011986f6950beeb3f710983a04df7c0 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Wed, 13 Dec 2017 22:14:23 +0300
Subject: [PATCH 10/10] pcad2kicadpcb_plugin: import graphic polygons from
 modules

Fixes: lp:1725931
* https://bugs.launchpad.net/kicad/+bug/1725931
---
 pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp  |  8 
 pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp | 27 +++
 pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h   |  1 +
 3 files changed, 36 insertions(+)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
index f5d96c23b..9634667c9 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
@@ -604,6 +604,13 @@ void PCB_MODULE::AddToBoard()
 m_moduleObjects[i]->AddToModule( module );
 }
 
+// MODULE POLYGONS
+for( i = 0; i < (int) m_moduleObjects.GetCount(); i++ )
+{
+if( m_moduleObjects[i]->m_objType == wxT( 'Z' ) )
+m_moduleObjects[i]->AddToModule( module );
+}
+
 // PADS
 for( i = 0; i < (int) m_moduleObjects.GetCount(); i++ )
 {
@@ -634,6 +641,7 @@ void PCB_MODULE::Flip()
 {
 if( m_moduleObjects[i]->m_objType == wxT( 'L' ) || // lines
 m_moduleObjects[i]->m_objType == wxT( 'A' ) || // arcs
+m_moduleObjects[i]->m_objType == wxT( 'Z' ) || // polygons
 m_moduleObjects[i]->m_objType == wxT( 'P' ) || // pads
 m_moduleObjects[i]->m_objType == wxT( 'V' ) )  // vias
 {
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp
index 9a5f2530b..c120c8bb9 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp
@@ -160,6 +160,25 @@ bool PCB_POLYGON::Parse( XNODE* aNode,
 
 void PCB_POLYGON::AddToModule( MODULE* aModule )
 {
+if( IsNonCopperLayer( m_KiCadLayer ) )
+{
+EDGE_MODULE* dwg = new EDGE_MODULE( aModule, S_POLYGON );
+aModule->GraphicalItemsList().PushBack( dwg );
+
+dwg->SetWidth( 0 );
+dwg->SetLayer( m_KiCadLayer );
+
+auto outline = new std::vector;
+for( auto point : m_outline )
+outline->push_back( wxPoint( point->x, point->y ) );
+
+dwg->SetPolyPoints( *outline );
+dwg->SetStart0( *outline->begin() );
+dwg->SetEnd0( outline->back() );
+dwg->SetDrawCoord();
+
+delete( outline );
+}
 }
 
 
@@ -211,6 +230,14 @@ void PCB_POLYGON::AddToBoard()
 }
 
 
+void PCB_POLYGON::Flip()
+{
+PCB_COMPONENT::Flip();
+
+m_KiCadLayer = FlipLayer( m_KiCadLayer );
+}
+
+
 void PCB_POLYGON::SetPosOffset( int aX_offs, int aY_offs )
 {
 int i, island;
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h b/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h
index a37be8fc5..e3515a81c 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h
@@ -57,6 +57,7 @@ public:
 wxStatusBar*aStatusBar );
 
 virtual voidSetPosOffset( int aX_offs, int aY_offs ) override;
+virtual voidFlip() override;
 voidAddToModule( MODULE* aModule ) override;
 voidAddToBoard() override;
 
-- 
2.14.1

>From 7764594695b53963428045e5118e5b56bf5f3b9b Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Mon, 11 Dec 2017 21:34:50 +0300
Subject: [PATCH 06/10] pcad2kicadpcb_plugin: correct text position with
 arbitrary angle

---
 pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp | 111 +-
 1 file changed, 25 insertions(+), 86 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp b/pcbnew/pcad2kicadpcb_plugin/pcad2kicad_common.cpp
index 39569a51c..8e954ce09 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcad2ki

Re: [Kicad-developers] P-Cad patch

2017-12-14 Thread Eldar Khayrullin

Hi. I tested your patch. But found another one warning (see my patch).
What about my previous patches for PCAD import improvement?

В Четверг, 14 дек. 2017 в 6:11 П. П., Maciej Suminski 
<maciej.sumin...@cern.ch> написал:

Hi Eldar,

I have an impression that you are one of the main P-Cad importer 
users.
Would you test the attached patch? It fixes a number of warnings in 
the

P-Cad importer plugin, but I do not have any files to verify the code.

Thank you,
Orson
>From 83efb4941c08d38f6407fcaa7b55a5f2832125fe Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Thu, 14 Dec 2017 20:05:41 +0300
Subject: [PATCH] pcad2kicadpcb_plugin: fix compiling warning `override`

---
 pcbnew/pcad2kicadpcb_plugin/pcb_keepout.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_keepout.h b/pcbnew/pcad2kicadpcb_plugin/pcb_keepout.h
index d6b951312..fbd1c57a4 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_keepout.h
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_keepout.h
@@ -44,7 +44,7 @@ public:
 
 virtual bool Parse( XNODE*  aNode,
 wxStringaDefaultMeasurementUnit,
-wxStringaActualConversion );
+wxStringaActualConversion ) override;
 };
 
 } // namespace PCAD2KICAD
-- 
2.14.1

>From c7503a43aa6e427b23984bb760ee61363c78858f Mon Sep 17 00:00:00 2001
From: Maciej Suminski <maciej.sumin...@cern.ch>
Date: Thu, 14 Dec 2017 16:09:04 +0100
Subject: [PATCH] Fix P-Cad importer plugin warnings

A few methods differed by the number or type of arguments in derived
classes. They were changed to match the base class method signature and
marked as 'override'.
---
 pcbnew/pcad2kicadpcb_plugin/pcad_plugin.cpp | 2 +-
 pcbnew/pcad2kicadpcb_plugin/pcb.cpp | 2 +-
 pcbnew/pcad2kicadpcb_plugin/pcb.h   | 4 ++--
 pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.cpp | 9 +
 pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.h   | 3 +--
 pcbnew/pcad2kicadpcb_plugin/pcb_cutout.h| 2 +-
 pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp  | 9 +++--
 pcbnew/pcad2kicadpcb_plugin/pcb_pad.h   | 4 
 pcbnew/pcad2kicadpcb_plugin/pcb_plane.cpp   | 5 +
 pcbnew/pcad2kicadpcb_plugin/pcb_plane.h | 3 +--
 pcbnew/pcad2kicadpcb_plugin/pcb_polygon.cpp | 5 +
 pcbnew/pcad2kicadpcb_plugin/pcb_polygon.h   | 3 +--
 12 files changed, 18 insertions(+), 33 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcad_plugin.cpp b/pcbnew/pcad2kicadpcb_plugin/pcad_plugin.cpp
index 0c7c75c97..78338ef9e 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcad_plugin.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcad_plugin.cpp
@@ -84,7 +84,7 @@ BOARD* PCAD_PLUGIN::Load( const wxString& aFileName, BOARD* aAppendToMe, const P
 LOCALE_IO toggle;// toggles on, then off, the C locale.
 
 LoadInputFile( aFileName,  );
-pcb.Parse( NULL, , wxT( "PCB" ) );
+pcb.ParseBoard( NULL, , wxT( "PCB" ) );
 pcb.AddToBoard();
 
 return m_board;
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
index 67a360899..8b9535b66 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
@@ -666,7 +666,7 @@ void PCB::GetBoardOutline( wxXmlDocument* aXmlDoc, wxString aActualConversion )
 }
 }
 
-void PCB::Parse( wxStatusBar* aStatusBar, wxXmlDocument* aXmlDoc, wxString aActualConversion )
+void PCB::ParseBoard( wxStatusBar* aStatusBar, wxXmlDocument* aXmlDoc, wxString aActualConversion )
 {
 XNODE*  aNode;//, *aaNode;
 PCB_NET*net;
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb.h b/pcbnew/pcad2kicadpcb_plugin/pcb.h
index 97f6f98ad..a8cfdf302 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb.h
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb.h
@@ -59,9 +59,9 @@ public:
 int GetNewTimestamp() override;
 int GetNetCode( wxString aNetName ) override;
 
-voidParse( wxStatusBar* aStatusBar,
+voidParseBoard( wxStatusBar* aStatusBar,
wxXmlDocument* aXmlDoc,
-   wxString aActualConversion );
+   wxString aActualConversion );
 
 voidAddToBoard() override;
 
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.cpp
index 16c7c220f..3d60888b0 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_copper_pour.cpp
@@ -52,19 +52,12 @@ PCB_COPPER_POUR::~PCB_COPPER_POUR()
 
 bool PCB_COPPER_POUR::Parse( XNODE* aNode,
  wxString   aDefaultMeasurementUnit,
- wxString   aActualConversion,
- wxStatusBar*   aStatusBar )
+ wxString   aActualConversion )
 {
 XNODE*   

[Kicad-developers] [PATCH] Import PCAD PCB improvements

2017-12-13 Thread Eldar Khayrullin

Hello guys. Can you check fixes of importing PCAD PCB files?


>From 2418e51a94d27d43277297f00c1eba7f23886891 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sun, 10 Dec 2017 21:18:21 +0300
Subject: [PATCH 04/10] pcad2kicadpcb_plugin: import circles

---
 pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp | 10 --
 pcbnew/pcad2kicadpcb_plugin/pcb_arc.h   |  3 +++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
index 97ca994fa..38fa914d2 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.cpp
@@ -160,7 +160,7 @@ void PCB_ARC::AddToModule( MODULE* aModule )
 {
 if( IsNonCopperLayer( m_KiCadLayer ) )
 {
-EDGE_MODULE* arc = new EDGE_MODULE( aModule, S_ARC );
+EDGE_MODULE* arc = new EDGE_MODULE( aModule, ( IsCircle() ? S_CIRCLE : S_ARC ) );
 aModule->GraphicalItemsList().PushBack( arc );
 
 arc->SetAngle( -m_angle );
@@ -181,7 +181,7 @@ void PCB_ARC::AddToBoard()
 
 m_board->Add( dseg, ADD_APPEND );
 
-dseg->SetShape( S_ARC );
+dseg->SetShape( IsCircle() ? S_CIRCLE : S_ARC );
 dseg->SetTimeStamp( m_timestamp );
 dseg->SetLayer( m_KiCadLayer );
 dseg->SetStart( wxPoint( m_positionX, m_positionY ) );
@@ -190,4 +190,10 @@ void PCB_ARC::AddToBoard()
 dseg->SetWidth( m_width );
 }
 
+
+bool PCB_ARC::IsCircle()
+{
+return ( m_angle == 3600 );
+}
+
 } // namespace PCAD2KICAD
diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
index 2b82409e7..9f1022299 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_arc.h
@@ -54,6 +54,9 @@ public:
 virtual voidFlip() override;
 voidAddToModule( MODULE* aModule ) override;
 voidAddToBoard() override;
+
+private:
+boolIsCircle();
 };
 
 } // namespace PCAD2KICAD
-- 
2.14.1

>From 83b02041fdcd1edba4e6b7e1365975144beb44fa Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Mon, 11 Dec 2017 21:35:14 +0300
Subject: [PATCH 07/10] pcad2kicadpcb_plugin: fix import a flipped RefDes

Fixes: lp:1730172
* https://bugs.launchpad.net/kicad/+bug/1730172
---
 pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
index 7120b9dfc..09bd9e562 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb_module.cpp
@@ -545,7 +545,7 @@ void PCB_MODULE::AddToBoard()
 ref_text->SetMirrored( m_name.mirror );
 ref_text->SetVisible( m_name.textIsVisible );
 
-ref_text->SetLayer( m_KiCadLayer );
+ref_text->SetLayer( m_name.mirror ? FlipLayer( m_KiCadLayer ) : m_KiCadLayer );
 
 // Calculate the actual position.
 ref_text->SetDrawCoord();
@@ -569,7 +569,7 @@ void PCB_MODULE::AddToBoard()
 val_text->SetMirrored( m_value.mirror );
 val_text->SetVisible( m_value.textIsVisible );
 
-val_text->SetLayer( m_KiCadLayer );
+val_text->SetLayer( m_value.mirror ? FlipLayer( m_KiCadLayer ) : m_KiCadLayer );
 
 // Calculate the actual position.
 val_text->SetDrawCoord();
@@ -622,9 +622,7 @@ void PCB_MODULE::Flip()
 
 if( m_mirror == 1 )
 {
-// Flipped
-m_KiCadLayer= FlipLayer( m_KiCadLayer );
-m_rotation  = -m_rotation;
+m_rotation = -m_rotation;
 
 for( i = 0; i < (int) m_moduleObjects.GetCount(); i++ )
 {
-- 
2.14.1

>From eba41940774f637fb611e78fc719e98781f161a6 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Wed, 13 Dec 2017 20:47:03 +0300
Subject: [PATCH 09/10] pcad2kicadpcb_plugin: map layers Top/Bot Assy to F/B
 Fab

---
 pcbnew/pcad2kicadpcb_plugin/pcb.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
index 67a360899..3ec71f7fa 100644
--- a/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
+++ b/pcbnew/pcad2kicadpcb_plugin/pcb.cpp
@@ -487,7 +487,7 @@ void PCB::MapLayer( XNODE* aNode )
 lName = lName.MakeUpper();
 
 if( lName == wxT( "TOP ASSY" ) )
-KiCadLayer = Cmts_User;
+KiCadLayer = F_Fab;
 else if( lName == wxT( "TOP SILK" ) )
 KiCadLayer = F_SilkS;
 else if( lName == wxT( "TOP PASTE" ) )
@@ -505,7 +505,7 @@ void PCB::MapLayer( XNODE* aNode )
 else if( lName == wxT( "BOT SILK" ) )
 KiCadLayer = B_SilkS;
 else if( lName == wxT( "BOT ASSY" ) )
-KiCadLayer = Dwgs_User;
+KiCadLayer = B_Fab;
 else if( lName == wxT( "BOARD" ) )
     KiCadLayer = Edge_Cuts;
 else
-- 
2.14.1

>Fr

Re: [Kicad-developers] Unlock text orientation flag for Reference/Value

2017-12-09 Thread Eldar Khayrullin

This is affected Pcbnew.

В Воскресенье, 10 дек. 2017 в 9:52 Д. П., Eldar 
Khayrullin <eldar.khayrul...@mail.ru> написал:

Hello guys.
I think a having this flag for each instance of Reference/Value is 
useless and not convenient.
This flag should be stored for entirely board as rule for this 
project.


What you say?
___
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] Unlock text orientation flag for Reference/Value

2017-12-09 Thread Eldar Khayrullin

Hello guys.
I think a having this flag for each instance of Reference/Value is 
useless and not convenient.

This flag should be stored for entirely board as rule for this project.

What you say?
___
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] snap images

2017-11-27 Thread Eldar Khayrullin

Hello.
You can see snappy issues here:
https://github.com/eldarkg/kicad-snap/issues
At time when I coding this package snappy was very restricted to run 
3rd party app (browser, pdf viewer and etc).

Now it may be is possible.
I haven't time to work with snappy. If you want you may to make patches.
See:
https://github.com/eldarkg/kicad-snap/tree/4.0
https://github.com/eldarkg/kicad-snap

В Понедельник, 27 ноя. 2017 в 10:04 Д. П., Marco 
Ciampa  написал:

Hello devs!
Just a heads up: the snap(py) version of KiCad is still to version:

(Ubuntu  Linux 16.04-64 here...)

Application: kicad
Version: 4.0.4-snap1-stable release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 
1009,GCC 5.4.0,wx containers,compatible with 2.8)

Platform: Linux 4.4.0-101-generic x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.58.0
 USE_WX_GRAPHICS_CONTEXT=OFF
 USE_WX_OVERLAY=OFF
 KICAD_SCRIPTING=ON
 KICAD_SCRIPTING_MODULES=ON
 KICAD_SCRIPTING_WXPYTHON=ON
 USE_FP_LIB_TABLE=HARD_CODED_ON
 BUILD_GITHUB_PLUGIN=ON

and the command:

 snap refresh

gives:

 All snaps up to date.

Is this all right?

PS: it seems to me that there is something weird in its configuration
also... I can't open an external program with the kicad snap version,
meaning any editor, pdf reader or web browser for the manuals.  
Again...

can someone check it if I am wrong? Hint: when I try to open the kicad
manual it gives:

execvp(�, <, 
/snap/kicad-snap/2/usr/share/doc/kicad/help/it/kicad.html) failed 
with error 2!


TIA and
Best regards,

--


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
___
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] [PATCH] Eeschema automatic manage junctions

2017-11-24 Thread Eldar Khayrullin

The related issue
https://bugs.launchpad.net/kicad/+bug/1491052

В Среда, 22 ноя. 2017 в 11:07 П. П., Seth Hillbrand 
 написал:
Updated patchset for this proposal, rebased to master.  I've also 
updated the commit messages to match the CHANGE:/NEW: format and 
added one new bug from launchpad that this addresses.


-Seth

On Wed, Nov 8, 2017 at 3:59 AM, Nick Østergaard  
wrote:
For that specific issue with the junction drawing, there is a patch 
in the thread "[Kicad-developers] [PATCH] Draw junctions last"


2017-11-03 13:12 GMT+01:00 Jon Evans :
I looked at fixing this and some other related things, and decided 
to just wait for the GAL port. There will need to be huge 
refactoring of the eeschema draw code as part of that effort, so 
putting much effort into making the wxDC drawing better seems not 
worth it.


-Jon

On Nov 3, 2017 00:08, "Kevin Cozens"  wrote:

On 2017-11-02 06:31 PM, Seth Hillbrand wrote:
Please let me know if there are any additional issues or 
suggestions for improvement.


How difficult would it be to have junctions draw last on 
schematics? There is a minor negative visual effect when you have 
a component with one end joined to a wire by a junction and you 
replace the component.


When you replace the component the pin of the component is now 
seen extending through the round disc of the junction to the 
center of the junction. I prefer to always see just the full round 
disc of a junction mark even if I have replaced a component since 
placing the junction.


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


___
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] [PATCH] add helper to selecting graphic grid. Add 40 mils grid (approx. 1mm) to draw graphic items in mm

2017-11-21 Thread Eldar Khayrullin

Hello. Anybody can to watch my small patch?

В Суббота, 18 ноя. 2017 в 2:47 П. П., Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello.
Can you apply my small patch? Description of the patch in mail theme.
___
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] add helper to selecting graphic grid. Add 40 mils grid (approx. 1mm) to draw graphic items in mm

2017-11-18 Thread Eldar Khayrullin

Hello.
Can you apply my small patch? Description of the patch in mail theme.
>From 76d8d7e42f66d06a2bd0168cc1b28bdaa6dbbd7a Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sat, 18 Nov 2017 14:41:32 +0300
Subject: [PATCH] eeschema: add a 40 mils grid convenient to draw graphic in
 mm. Add a helper for selecting grid

---
 common/zoom.cpp | 7 +++
 eeschema/sch_screen.cpp | 1 +
 include/id.h| 1 +
 3 files changed, 9 insertions(+)

diff --git a/common/zoom.cpp b/common/zoom.cpp
index 216a4ad92..76a84f664 100644
--- a/common/zoom.cpp
+++ b/common/zoom.cpp
@@ -291,6 +291,13 @@ void EDA_DRAW_FRAME::AddMenuZoomAndGrid( wxMenu* MasterMenu )
 GRID_TYPE& grid = screen->GetGrid( i );
 gridMenu->Append( grid.m_CmdId, gridsList[i], wxEmptyString, wxITEM_CHECK );
 
+if( grid.m_CmdId == ID_POPUP_GRID_LEVEL_50 )
+{
+gridMenu->AppendSeparator();
+gridMenu->Append( wxID_ANY, _( "Graphic item grids:" ) );
+gridMenu->AppendSeparator();
+}
+
 if( (int)i == icurr )
 gridMenu->Check( grid.m_CmdId, true );
 }
diff --git a/eeschema/sch_screen.cpp b/eeschema/sch_screen.cpp
index 2fd507133..56d39f441 100644
--- a/eeschema/sch_screen.cpp
+++ b/eeschema/sch_screen.cpp
@@ -82,6 +82,7 @@ static double SchematicZoomList[] =
 static GRID_TYPE SchematicGridList[] = {
 { ID_POPUP_GRID_LEVEL_100, wxRealPoint( 100, 100 ) },
 { ID_POPUP_GRID_LEVEL_50, wxRealPoint( 50, 50 ) },
+{ ID_POPUP_GRID_LEVEL_40, wxRealPoint( 40, 40 ) },
 { ID_POPUP_GRID_LEVEL_25, wxRealPoint( 25, 25 ) },
 { ID_POPUP_GRID_LEVEL_10, wxRealPoint( 10, 10 ) },
 { ID_POPUP_GRID_LEVEL_5, wxRealPoint( 5, 5 ) },
diff --git a/include/id.h b/include/id.h
index 64411163b..b4acf8386 100644
--- a/include/id.h
+++ b/include/id.h
@@ -207,6 +207,7 @@ enum main_id
 ID_POPUP_GRID_LEVEL_200,
 ID_POPUP_GRID_LEVEL_100,
 ID_POPUP_GRID_LEVEL_50,
+ID_POPUP_GRID_LEVEL_40,
 ID_POPUP_GRID_LEVEL_25,
 ID_POPUP_GRID_LEVEL_20,
 ID_POPUP_GRID_LEVEL_10,
-- 
2.14.1

___
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] Replace WRL with IGES if STEP not found

2017-11-07 Thread Eldar Khayrullin

Hello, Wayne.
As I said early in https://bugs.launchpad.net/kicad/+bug/1720542
extension like .DXF or .dxf are more common (>90%) than other (man 
types).

Maybe we should use this common cases?

В Вторник, 7 ноя. 2017 в 4:23 П. П., Wayne Stambaugh 
 написал:

Oliver,

I'm fine with your patch but as a project we need to be more careful
about file extensions on case sensitive platforms.  There is already a
bug report about this for the GTK+ file dialog.  Your list of step and
iges file extensions is not complete.  If someone uses "Iges", "igeS",
... no matter how unlikely it is, it will fail to find a legitimate
file.  I'll commit this as is but we definitely need to rethink case
sensitive file extension support.  Having a list of every possible
combination of upper and lower case letters for a single file 
extension
is ugly.  Perhaps regular expressions would be helpful in this case.  
I

didn't see anything in wxFileName or wxDir that would allow us to do
this but maybe there is some undocumented way to handle this.  We 
cannot

be the first project to encounter this issue.

Cheers,

Wayne

On 11/7/2017 8:03 AM, Oliver Walters wrote:

 Following on from the STEP / WRL substitution patch earlier today:

 Nick suggested that IGES should be searched for if there are no STEP
 models found.

 This simple patch does that. If no step models are found, it then
 searches for iges.




 ___
 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] File format version increment

2017-09-22 Thread Eldar Khayrullin

Hello.
You should watch to Snappy packages:
http://kicad-pcb.org/download/snappy/
Now need some work to update snappy build script (I have a small time)

В Пятница, 22 сен. 2017 в 5:10 , Strontium 
 написал:

Hi Adam,

Yes, on Linux one has to choose between Nightly/Stable if using the
PPA.  The other option is building KiCad yourself, which I can do, but
many can't/won't.  I was not sure of the situation on other OS's if 
you

can install Nightly/Stable simultaneously on Mac, then its more reason
why the Linux distributions should follow suit.

Steven

On 22/09/17 10:01, Adam Wolf wrote:
> Strontium,
>
> I assume you are talking about linux based on the word PPA, but 
mostly

> for other people on the list, you can do this with the MacOS KiCad.
>
> Adam
>
> On Thu, Sep 21, 2017 at 8:59 PM, Strontium  
wrote:

>> This is a question for the distribution maintainers,
>>
>> Is it possible to change the distribution PPA's (etc) so that one 
can
>> install the nightly and the stable version of kicad, 
simultaneously?

>>
>> When things like file format versions change then people have to 
make a
>> choice, do I run nightly and lose backward compatibility OR do I 
run stable
>> and lose newer features/the ability to test.   It would be handy 
to be able
>> to have Stable installed to do real work, and nightly also 
installed for
>> testing, or for boards where you really want access to a new 
feature early.

>>
>> Steven
>>
>>
>>
>> On 20/09/17 00:38, Maciej Sumiński wrote:
>>
>> For your information: support for long pad and pin names has been 
just
>> merged. As the change affects both eeschema and pcbnew, and may 
result
>> in files that are not loaded correctly with older versions - the 
file

>> format versions had to be incremented.
>>
>> Regards,
>> Orson
>>
>>
>>
>> ___
>> 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] [PATCH] minor icon improvements

2017-08-29 Thread Eldar Khayrullin

Hello.
Maybe it is right to use "Actions" instead "Run" in menu entry.

В Вторник, 29 авг. 2017 в 11:05 , Fabrizio Tappero 
 написал:

Hi Wayne,
it sound good.
I think "Run" should go and I think "Edit Schematic" in place of "Run 
Eeschema" is a great step up.


The considerations about the use of the words "Symbol" and "Table" 
sound good too.


I changed the patch accordingly and resubmitted here. Just as 
reference, this is what I came up with:


-Run Eeschema
+   Edit Schematic

-Run Library Editor
+   Edit Schematic Symbol

-Run Pcbnew
+   Edit PCB

-Run Footprint Editor
+   Edit PCB Footprint

-Run Gerbview
+   View GERBER

-Run Bitmap2Component
+   Convert Bitmap to Footprint

-Run Pcb Calculator
+   Run PCB Calculator

-Run Page Layout Editor
+   Edit Sheet Layout

Wayne, please feel free to change the content of this patch as you 
think it is best.


cheers
Fabrizio





On Mon, Aug 28, 2017 at 9:00 PM, Wayne Stambaugh 
 wrote:

Fabrizio,

I'm fine with the icon changes.  The menu entry changes could use 
some
improvement.  I'm not sure removing "Run" from the KiCad launcher 
menu
entries is a good idea.  Generally (at least in most of the 
applications
that I've looked at), actions are used in menu string when the entry 
is

an action.  I also think it's probably time to get rid of the old
Eeschema/Pcbnew application names.  Since KiCad normally runs in a
single process, better menu entries might be "Edit Schematic" and 
"Edit

Board (or PCB)".  New users aren't going to know what Eeschema and
Pcbnew are.

I would also would not refer to the footprint library "table" either.
The word table seems to confuse users.  I know we refer to it as a 
table

on the developers mailing list but I think users are more comfortable
with "Manage Footprint Libraries".  I am aware that I used table for 
the
symbol library table dialog menus entry but this is temporary.  Once 
I
finish the symbol library table remapping code, this dialog will go 
away

and "Manage Symbol Libraries" will open the symbol library table edit
dialog.

The use of symbol was intentional so I would prefer that it not be
changed.  There was a discussion about this not too long ago and the
consensus was that symbol made the most sense versus component or 
part.
I realize that component (and part) are used in the source code and 
most

of the UI strings but I would prefer that we change the UI strings to
symbol for the stable 5 release rather than continue to use component
and/or part.  I will change the source when I get a chance so that 
the
terminology is coherent between the source and the UI strings.  I 
know
we still have the module/footprint distinction in the Pcbnew source 
but

at least all of the UI strings are "footprint".

Cheers,

Wayne

On 8/22/2017 5:47 PM, Fabrizio Tappero wrote:
> Reminder.
>
> Regards
> Fabrizio
>
>
> On Aug 17, 2017 4:42 PM, "Fabrizio Tappero" 
 > wrote:
>
> Hello,
> the following patch does the following:
> 1) correct few pcbnew and eeschema menu text entries
> 2) add the library table icon (minor look change)
> 3) delete the redundant word "Run" into the KiCad - Tools menu 
entry

>
> cheers
> Fabrzio
>
>
>
> ___
> 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] Ubuntu 16.04 build system cmake configuration error:

2017-08-19 Thread Eldar Khayrullin

Hello.
You should install Boost developer headers and libs:
sudo apt install libboost-all-dev

В Пятница, 18 авг. 2017 в 11:49 , Terry Gray 
 написал:
I am setting up an Ubuntu 16.04 build system for latest git 
development Kicad.  In going through the documentation I thought that 
I understood that Kicad will pull down and compile it's own version 
of the BOOST libs if I don't have BOOST already installed on my 
system.


During the cmake configuration I am getting the following error

CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 
(message):

  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to 
the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory 
containing

  Boost's headers.
Call Stack (most recent call first):
  qa/geometry/CMakeLists.txt:24 (find_package)


CMake Error: The following variables are used in this project, but 
they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the 
CMake files:

Boost_INCLUDE_DIR (ADVANCED)
Am I missing a cmake flag telling cmake to use internal versus 
external BOOST libs?


___
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] pcbnew: ATI video cards low performance in OpenGL GAL mode

2017-08-15 Thread Eldar Khayrullin

Hi.
Can you watch updates of next bugs:
https://bugs.launchpad.net/kicad/+bug/1685335
https://bugs.launchpad.net/kicad/+bug/1683041


___
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] More layer selection options.

2017-07-21 Thread Eldar Khayrullin

Hello.
Maybe it will be good to show Edge Cut always.

В Пятница, 21 июл. 2017 в 6:57 , Kristoffer Ödmark 
 написал:

Added a few more layer selections to the layer sidebar.

Also included two modified versions of the show all layers icon, for 
front and back, but I couldnt find out how to make them into the cpp 
files.


link: https://www.youtube.com/watch?v=148ZMCNWqTw=youtu.be
___
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] [PATCH] cherry-picks related with sheet to stable branch 4.0

2017-05-30 Thread Eldar Khayrullin

Thank you for your patch.
One small problem (or not), I can't reproduce this bug in stable branch 
:).
I automatically thought that this bug related for stable branch too. 
But maybe I was wrong.

Sorry for this.

В Понедельник, 29 май. 2017 в 10:35 , jp charras 
<jp.char...@wanadoo.fr> написал:

Le 29/05/2017 à 19:59, jp charras a écrit :

 Le 29/05/2017 à 19:07, Eldar Khayrullin a écrit :
 /home/eldar/src/kicad/kicad/include/tool/coroutine.h:30:38: fatal 
error: boost/context/fcontext.hpp:

 file haven't found
  #include 

 I use -DKICAD_SKIP_BOOST=ON

 В Понедельник, 29 май. 2017 в 7:33 , jp charras 
<jp.char...@wanadoo.fr> написал:

 Le 29/05/2017 à 17:57, Eldar Khayrullin a écrit :

 Sorry Jean-Pier, I didn't try to build it because I can't to 
build stable branch on my system

 (some library conflicting).

 Well, what is your problem? If it is related to a boost context 
version, I have a patch to fix it.

 --
 Jean-Pierre CHARRAS



 OK, this is the boost context issue.
 Apply this patch, and try to compile the stable version.

 We are reluctant to apply this change to the stable version because 
it needs a c++11 compiler

 (stable version does need it).

  ^ not
Sorry.

--
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] [PATCH] cherry-picks related with sheet to stable branch 4.0

2017-05-29 Thread Eldar Khayrullin
/home/eldar/src/kicad/kicad/include/tool/coroutine.h:30:38: fatal 
error: boost/context/fcontext.hpp: file haven't found

#include 

I use -DKICAD_SKIP_BOOST=ON

В Понедельник, 29 май. 2017 в 7:33 , jp charras 
<jp.char...@wanadoo.fr> написал:

Le 29/05/2017 à 17:57, Eldar Khayrullin a écrit :
 Sorry Jean-Pier, I didn't try to build it because I can't to build 
stable branch on my system (some

 library conflicting).



Well, what is your problem?
If it is related to a boost context version, I have a patch to fix it.


--
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] [PATCH] cherry-picks related with sheet to stable branch 4.0

2017-05-29 Thread Eldar Khayrullin
Sorry Jean-Pier, I didn't try to build it because I can't to build 
stable branch on my system (some library conflicting).


В Понедельник, 29 май. 2017 в 9:27 , jp charras 
<jp.char...@wanadoo.fr> написал:

Le 27/05/2017 à 11:21, Eldar Khayrullin a écrit :

 Hello.
 Wayne or Jean-Pier, can anyone merge these cherry-picks to stable 
branch.





Eldar,
I committed patches 0002 and 0001.
patch 0003 breaks compilation. Have you tried it?

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


[Kicad-developers] [PATCH] cherry-picks related with sheet to stable branch 4.0

2017-05-27 Thread Eldar Khayrullin
k_shapes.cpp
index c7a838578..086d518f4 100644
--- a/common/page_layout/title_block_shapes.cpp
+++ b/common/page_layout/title_block_shapes.cpp
@@ -163,12 +163,12 @@ void WS_DRAW_ITEM_LIST::BuildWorkSheetGraphicList(
 if( jj && ! wsText->IsInsidePage( jj ) )
 continue;
 
-Append( gtext = new WS_DRAW_ITEM_TEXT( wsText, wsText->m_FullText,
-   wsText->GetStartPosUi( jj ),
-   textsize,
-   pensize, color,
-   wsText->IsItalic(),
-   wsText->IsBold() ) );
+gtext = new WS_DRAW_ITEM_TEXT( wsText, wsText->m_FullText,
+   wsText->GetStartPosUi( jj ),
+   textsize, pensize, color,
+   wsText->IsItalic(),
+   wsText->IsBold() );
+Append( gtext );
 gtext->SetMultilineAllowed( multilines );
 wsText->TransfertSetupToGraphicText( gtext );
 
-- 
2.11.0

>From 0abb2fcc236a84c4c7f4faac26197d57d35c28ae Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sat, 10 Sep 2016 18:58:09 +0300
Subject: [PATCH 2/3] Fix style of gost page layouts in accordance with GOST
 2.104-2006.

Fixes reverted commit 16d03fd
---
 template/gost_landscape.kicad_wks | 134 +++---
 template/gost_portrait.kicad_wks  | 134 +++---
 2 files changed, 136 insertions(+), 132 deletions(-)

diff --git a/template/gost_landscape.kicad_wks b/template/gost_landscape.kicad_wks
index 4888afde3..6758ea99a 100644
--- a/template/gost_landscape.kicad_wks
+++ b/template/gost_landscape.kicad_wks
@@ -1,5 +1,5 @@
-( page_layout
-  (setup(textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3)
+(page_layout
+  (setup (textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.25)
   (left_margin 8)(right_margin 5)(top_margin 5)(bottom_margin 5))
   (line (name segm1:Line) (start 0 60 lbcorner) (end 12 60 lbcorner) (linewidth 0.6) (repeat 3) (incry 25))
   (line (name segm2:Line) (start 96 0 ltcorner) (end 96 14 ltcorner) (option page1only) (linewidth 0.6) (repeat 2) (incrx 53))
@@ -17,69 +17,71 @@
   (line (name segm14:Line) (start 185 40) (end 120 40) (option page1only) (repeat 3) (incry 5))
   (line (name segm15:Line) (start 185 30) (end 120 30) (option page1only) (linewidth 0.6) (repeat 2) (incry 5))
   (line (name segm16:Line) (start 185 5) (end 120 5) (option page1only) (repeat 5) (incry 5))
-  (line (name segm17:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
-  (line (name segm18:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
-  (line (name segm19:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
-  (line (name segm20:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
-  (line (name segm21:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
-  (line (name segm22:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
-  (line (name segm23:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
-  (line (name segm24:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
-  (line (name segm25:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
+  (line (name segm17:Line) (start 120 63) (end 0 63) (option page1only) (linewidth 0.6))
+  (line (name segm18:Line) (start 120 55) (end 120 63) (option page1only) (linewidth 0.6))
+  (line (name segm19:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
+  (line (name segm20:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
+  (line (name segm21:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
+  (line (name segm22:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
+  (line (name segm23:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
+  (line (name segm24:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
+  (line (name segm25:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
+  (line (name segm26:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
+  (line (name segm27:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
   (rect (name rect1:Rect) (start 12 0 lbcorner) (end 0 0 rtcorner) (linewidth 0.6))
-  (tbtext Лист (name text1:Text) (pos 173 32.5) (option page1only) (justify center))
-  (tbtext %C2 (name text2:Text) (pos 167.5 22.5)

[Kicad-developers] [PATCH] Fix typo NTPH->NPTH

2017-05-13 Thread Eldar Khayrullin

Hello guys.
Please apply the small typo fix.
>From 480a3bc383594353d536a20aa75771fd6ed512c2 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sat, 13 May 2017 14:05:36 +0300
Subject: [PATCH] Fix typo: NTPH -> NPTH

---
 pcbnew/dialogs/dialog_gendrill_base.cpp | 4 ++--
 pcbnew/dialogs/dialog_gendrill_base.fbp | 2 +-
 pcbnew/dialogs/dialog_gendrill_base.h   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pcbnew/dialogs/dialog_gendrill_base.cpp b/pcbnew/dialogs/dialog_gendrill_base.cpp
index 6c9074e16..a4fd0d67f 100644
--- a/pcbnew/dialogs/dialog_gendrill_base.cpp
+++ b/pcbnew/dialogs/dialog_gendrill_base.cpp
@@ -1,5 +1,5 @@
 ///
-// C++ code generated with wxFormBuilder (version Feb 19 2017)
+// C++ code generated with wxFormBuilder (version Dec 21 2016)
 // http://www.wxformbuilder.org/
 //
 // PLEASE DO "NOT" EDIT THIS FILE!
@@ -105,7 +105,7 @@ DIALOG_GENDRILL_BASE::DIALOG_GENDRILL_BASE( wxWindow* parent, wxWindowID id, con
 	sbExcellonOptSizer->Add( m_Check_Minimal, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
 	
 	m_Check_Merge_PTH_NPTH = new wxCheckBox( sbExcellonOptSizer->GetStaticBox(), wxID_ANY, _("Merge PTH and NPTH holes into one file"), wxDefaultPosition, wxDefaultSize, 0 );
-	m_Check_Merge_PTH_NPTH->SetToolTip( _("Not recommended.\nOnly use for board houses which ask for merged PTH and NTPH into a single file.") );
+	m_Check_Merge_PTH_NPTH->SetToolTip( _("Not recommended.\nOnly use for board houses which ask for merged PTH and NPTH into a single file.") );
 	
 	sbExcellonOptSizer->Add( m_Check_Merge_PTH_NPTH, 0, wxALL, 5 );
 	
diff --git a/pcbnew/dialogs/dialog_gendrill_base.fbp b/pcbnew/dialogs/dialog_gendrill_base.fbp
index 8f098df6c..915392873 100644
--- a/pcbnew/dialogs/dialog_gendrill_base.fbp
+++ b/pcbnew/dialogs/dialog_gendrill_base.fbp
@@ -1114,7 +1114,7 @@
 
 
 0
-Not recommended.Only use for board houses which ask for merged PTH and NTPH into a single file.
+Not recommended.Only use for board houses which ask for merged PTH and NPTH into a single file.
 
 wxFILTER_NONE
 wxDefaultValidator
diff --git a/pcbnew/dialogs/dialog_gendrill_base.h b/pcbnew/dialogs/dialog_gendrill_base.h
index cdc073d42..91b979795 100644
--- a/pcbnew/dialogs/dialog_gendrill_base.h
+++ b/pcbnew/dialogs/dialog_gendrill_base.h
@@ -1,5 +1,5 @@
 ///
-// C++ code generated with wxFormBuilder (version Feb 19 2017)
+// C++ code generated with wxFormBuilder (version Dec 21 2016)
 // http://www.wxformbuilder.org/
 //
 // PLEASE DO "NOT" EDIT THIS FILE!
-- 
2.11.0

___
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] Development workflow

2017-05-07 Thread Eldar Khayrullin

$ make -j2 pcbnew
where -j2 is number threads that should equ your cpu threads or 
processors in system.

Run:
$ ./pcbnew/pcbnew

В Воскресенье, 7 май. 2017 в 1:48 , Thomas Kindler 
 написал:

Hi!

I'm just starting with KiCad development. I got it to compile on both 
MSys2 and

Ubuntu, and did my first patches for practice.

A full compile takes about 35 minutes on my machine. ccache can get 
this down to

~15 minutes, but doesn't help much if I touch a common header file.

Also, I seem to have to do "make install", to actually try out KiCad. 
This will
always build all applications, even if I only want to try out changes 
to Pcbnew.



So - how do you work?

- Is 30 minutes the expected turnaround time for trying out changs?

- Is there a trick to only build, say, Pcbnew, and start it from the 
build

directory without doing make install?

- make install is also a problem if I want to keep multiple binary 
version of
kicad side-by-side. It would be much nicer to just be able to start 
it from a

build directory. But the kicad-launcher isn't able to start the other
applications then.

- Is there some documentation of how to set up Eclipse for rapid kicad
development and debugging? I could figure it all out myself, but 
surely someone

has done it before..


best regards,
thomas

___
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] DXF line plot mode and plot editable text for stable 4.0 branch

2017-05-04 Thread Eldar Khayrullin

@Wayne, as you asked I prepared patches for stable 4.0 branch.

Related message and bug:
https://bugs.launchpad.net/kicad/+bug/1423515
>From 6a597c6f1b01b9ae0763e95deb25cedac988b962 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sun, 16 Apr 2017 20:07:31 +0300
Subject: [PATCH 2/2] Pcbnew: add option to plot DXF editable text

Add option to plot DXF oneline ASCII text as editable text (in non-outline mode)

Fixes: lp:1423515
* https://bugs.launchpad.net/kicad/+bug/1423515
---
 common/common_plotDXF_functions.cpp |  2 +-
 pcbnew/dialogs/dialog_plot.cpp  | 23 ++
 pcbnew/dialogs/dialog_plot.h| 19 
 pcbnew/dialogs/dialog_plot_base.cpp |  8 
 pcbnew/dialogs/dialog_plot_base.fbp | 90 -
 pcbnew/dialogs/dialog_plot_base.h   |  4 +-
 6 files changed, 134 insertions(+), 12 deletions(-)

diff --git a/common/common_plotDXF_functions.cpp b/common/common_plotDXF_functions.cpp
index ecec04fe5..5544ab19f 100644
--- a/common/common_plotDXF_functions.cpp
+++ b/common/common_plotDXF_functions.cpp
@@ -675,7 +675,7 @@ void DXF_PLOTTER::Text( const wxPoint&  aPos,
 if( textAsLines || containsNonAsciiChars( aText ) || aMultilineAllowed )
 {
 // output text as graphics.
-// Perhaps miltiline texts could be handled as DXF text entity
+// Perhaps multiline texts could be handled as DXF text entity
 // but I do not want spend time about this (JPC)
 PLOTTER::Text( aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify,
 aWidth, aItalic, aBold, aMultilineAllowed );
diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp
index a633ea2bb..bab8e73cb 100644
--- a/pcbnew/dialogs/dialog_plot.cpp
+++ b/pcbnew/dialogs/dialog_plot.cpp
@@ -197,6 +197,9 @@ void DIALOG_PLOT::Init_Dialog()
 // Plot outline mode
 m_plotOutlineModeOpt->SetValue( m_plotOpts.GetPlotOutlineMode() );
 
+// Plot text mode
+m_plotTextAsLineOpt->SetValue( m_plotOpts.GetTextMode() == PLOTTEXTMODE_DEFAULT );
+
 // Plot mirror option
 m_plotMirrorOpt->SetValue( m_plotOpts.GetMirror() );
 
@@ -291,6 +294,14 @@ void DIALOG_PLOT::CreateDrillFile( wxCommandEvent& event )
 }
 
 
+void DIALOG_PLOT::OnChangeOutlineMode( wxCommandEvent& event )
+{
+m_plotTextAsLineOpt->Enable( !m_plotOutlineModeOpt->GetValue() );
+if( !m_plotTextAsLineOpt->IsEnabled() )
+m_plotTextAsLineOpt->SetValue( true );
+}
+
+
 void DIALOG_PLOT::OnSetScaleOpt( wxCommandEvent& event )
 {
 /* Disable sheet reference for scale != 1:1 */
@@ -388,6 +399,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->Enable( true );
 m_forcePSA4OutputOpt->Enable( false );
 m_forcePSA4OutputOpt->SetValue( false );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( false );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -418,6 +431,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_PSFineAdjustWidthOpt->Enable( true );
 m_plotPSNegativeOpt->Enable( true );
 m_forcePSA4OutputOpt->Enable( true );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -450,6 +465,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->SetValue( false );
 m_forcePSA4OutputOpt->Enable( false );
 m_forcePSA4OutputOpt->SetValue( false );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Show( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -481,6 +498,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->SetValue( false );
 m_plotPSNegativeOpt->Enable( false );
 m_forcePSA4OutputOpt->Enable( true );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Show( m_HPGLOptionsSizer );
@@ -518,6 +537,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
 m_PlotOptionsSizer->Hide( m_PSOptionsSizer );
+
+OnChangeOutlineMode( event );
 break;
 
 default:
@@ -593,6 +614,8 @@ void DIALOG_PLOT::applyPlotSettings()
 tempOptions.SetPlotMode( m_plotModeOpt->GetSelection() == 1 ? SKETCH : FILLED );
 tempOption

Re: [Kicad-developers] [Patch] pcbnew clipboard support

2017-05-04 Thread Eldar Khayrullin

It will be cool to have this feature. Good work

В Четверг, 4 май. 2017 в 11:41 , Kristoffer Ödmark 
 написал:

Hello all!

Last night I was doing some design that used a PCB antenna. I had 
this antenna design made in zones, It was very frustrating to try to 
copy this between an old design and a new one since I had to use a 
texteditor ( very glad that I could though ).


After this I figured that this should be able to be copy-pasted 
between pcbs.


So I have now implemented a subclass of the PCB_IO, that can format 
an entire board or a selection to the clipboard in textformat, and 
then created a subclass to the PCB_PARSER that parses from the 
clipboard and reuses the "append board" functionality to add them 
back. It also does remove the "path" properties of modules. This 
allows me to copy-paste things between different PCBs in kicad. The 
shortcut keys are ctrl+shift+c and ctrl+shift+v so that people dont 
use this by mistake :)


I think that this might be useful for reusing designs in some manner, 
and if this is in Kicad, my next step would be to start looking into 
some tool to link the pasted modules to symbols in the schematic.


Give me some insight on what you think about this please :)

video: https://youtu.be/4SuUzma0Ua4

(only tested in linux)

- Kristoffer
___
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] [PATCH] plot to DXF an editable text

2017-05-01 Thread Eldar Khayrullin

Can anyone to watch my patch?
https://bugs.launchpad.net/kicad/+bug/1423515

В Среда, 26 апр. 2017 в 7:16 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello.
@Wayne, can you watch my patch to plot DXF an editable text?
See attachment in LP: https://bugs.launchpad.net/kicad/+bug/1423515
>From 92817177d6facb9fa6c87b618bf76f9520b14844 Mon Sep 17 00:00:00 2001
From: Eldar Khayrullin <eldar.khayrul...@mail.ru>
Date: Sun, 16 Apr 2017 20:07:31 +0300
Subject: [PATCH] Pcbnew: add option to plot DXF editable text

Add option to plot DXF oneline ASCII text as editable text (in non-outline mode)

Fixes: lp:1423515
* https://bugs.launchpad.net/kicad/+bug/1423515
---
 common/common_plotDXF_functions.cpp |  2 +-
 pcbnew/dialogs/dialog_plot.cpp  | 23 ++
 pcbnew/dialogs/dialog_plot.h|  3 +-
 pcbnew/dialogs/dialog_plot_base.cpp |  8 
 pcbnew/dialogs/dialog_plot_base.fbp | 90 -
 pcbnew/dialogs/dialog_plot_base.h   |  4 +-
 6 files changed, 126 insertions(+), 4 deletions(-)

diff --git a/common/common_plotDXF_functions.cpp b/common/common_plotDXF_functions.cpp
index c001516cd..fcbe7e8d6 100644
--- a/common/common_plotDXF_functions.cpp
+++ b/common/common_plotDXF_functions.cpp
@@ -741,7 +741,7 @@ void DXF_PLOTTER::Text( const wxPoint&  aPos,
 if( textAsLines || containsNonAsciiChars( aText ) || aMultilineAllowed )
 {
 // output text as graphics.
-// Perhaps miltiline texts could be handled as DXF text entity
+// Perhaps multiline texts could be handled as DXF text entity
 // but I do not want spend time about this (JPC)
 PLOTTER::Text( aPos, aColor, aText, aOrient, aSize, aH_justify, aV_justify,
 aWidth, aItalic, aBold, aMultilineAllowed );
diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp
index bf336c657..b70cdb92e 100644
--- a/pcbnew/dialogs/dialog_plot.cpp
+++ b/pcbnew/dialogs/dialog_plot.cpp
@@ -204,6 +204,9 @@ void DIALOG_PLOT::Init_Dialog()
 // Plot outline mode
 m_plotOutlineModeOpt->SetValue( m_plotOpts.GetPlotOutlineMode() );
 
+// Plot text mode
+m_plotTextAsLineOpt->SetValue( m_plotOpts.GetTextMode() == PLOTTEXTMODE_DEFAULT );
+
 // Plot mirror option
 m_plotMirrorOpt->SetValue( m_plotOpts.GetMirror() );
 
@@ -298,6 +301,14 @@ void DIALOG_PLOT::CreateDrillFile( wxCommandEvent& event )
 }
 
 
+void DIALOG_PLOT::OnChangeOutlineMode( wxCommandEvent& event )
+{
+m_plotTextAsLineOpt->Enable( !m_plotOutlineModeOpt->GetValue() );
+if( !m_plotTextAsLineOpt->IsEnabled() )
+m_plotTextAsLineOpt->SetValue( true );
+}
+
+
 void DIALOG_PLOT::OnSetScaleOpt( wxCommandEvent& event )
 {
 /* Disable sheet reference for scale != 1:1 */
@@ -388,6 +399,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->Enable( true );
 m_forcePSA4OutputOpt->Enable( false );
 m_forcePSA4OutputOpt->SetValue( false );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( false );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -411,6 +424,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_PSFineAdjustWidthOpt->Enable( true );
 m_plotPSNegativeOpt->Enable( true );
 m_forcePSA4OutputOpt->Enable( true );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -439,6 +454,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->SetValue( false );
 m_forcePSA4OutputOpt->Enable( false );
 m_forcePSA4OutputOpt->SetValue( false );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Show( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
@@ -466,6 +483,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_plotPSNegativeOpt->SetValue( false );
 m_plotPSNegativeOpt->Enable( false );
 m_forcePSA4OutputOpt->Enable( true );
+m_plotTextAsLineOpt->Enable( false );
+m_plotTextAsLineOpt->SetValue( true );
 
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Show( m_HPGLOptionsSizer );
@@ -496,6 +515,8 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
 m_PlotOptionsSizer->Hide( m_GerberOptionsSizer );
 m_PlotOptionsSizer->Hide( m_HPGLOptionsSizer );
 m_PlotOptionsSizer->Hide( m_PSOptionsSizer );
+
+OnChangeOutlineMode( event );
   

[Kicad-developers] [PATCH] plot to DXF an editable text

2017-04-26 Thread Eldar Khayrullin

Hello.
@Wayne, can you watch my patch to plot DXF an editable text?
See attachment in LP: https://bugs.launchpad.net/kicad/+bug/1423515
___
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] [FEATURE] Component table viewer

2017-04-01 Thread Eldar Khayrullin

Yes. It is convenient thing

В Суббота, 1 апр. 2017 в 3:53 , Oliver Walters 
 написал:
After a long break on this project I have finally rounded the edges 
off the component table viewer I have been working on.


This is a table/spreadsheet view of all the components in the 
schematic, which allows bulk editing, grouping components, and 
exporting to CSV/TSV/HTML BOM.


Here's some screenshots of it in action:

http://imgur.com/gallery/WUwek

I have tried to limit the complexity as far as possible, so that it's 
not too cumbersome for users.


Any changes you make in the table are highlighted and can be reverted 
(back to the values in the schematic).


When you close the view, all changes are pushed back to the 
schematic, and the bulk-edit is pushed to the undo-stack as a single 
item (meaning that you can easily undo all the changes you just made).


Please let me know of any errors or edge cases!

Patch has been rebased to latest master at time of this email.

Cheers,
Oliver
___
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] Update on component chooser

2017-03-05 Thread Eldar Khayrullin

https://bugs.launchpad.net/kicad/+bug/1670126

В Воскресенье, 5 мар. 2017 в 2:28 , Chris Pavlina 
<pavlina.ch...@gmail.com> написал:
Thanks. Could I have a bit more information so I can reproduce these? 
And it would be nice if they were in the bug tracker, for... tracking.


On Mar 5, 2017 02:17, "Eldar Khayrullin" <eldar.khayrul...@mail.ru> 
wrote:

Hello. You do good work.
I see UI issues:
- the window struct breaks on resize the window
- some components doesn't show symbol
- some components doesn't show fields

kicad@24a9003
Daily PPA.
OS: Ubuntu 16.10

В Суббота, 4 мар. 2017 в 9:38 , Chris Pavlina 
<pavlina.ch...@gmail.com> написал:

Hi,

Just thought I'd provide a quick update on what's going on with the
component chooser. Things have been pretty delayed - I've had more
issues than expected, and I'm trying to work around my school 
schedule
too - but I'm still moving along (and I have almost a full week off 
now,

most of which will be spent on this).

Currently, I'm working on resolving a macOS performance issue that
causes updates to cost about 0.5s per keystroke for large library 
sets.

I'm looking at two possible solutions:

 - Implement my own wxDataViewModel, reimplementing most or all of
   COMPONENT_TREE_SEARCH_CONTAINER in the process and making the
   component tree a model/view architecture. This is very much
   preferable, but I'm not 100% sure if this will give the desired
   performance boost. I'll do this first as it's a useful 
refactoring

   anyway.

 - Implement an optimizing adapter that wraps TWO_COLUMN_TREE_LIST. 
This

   would populate the underlying list only with visible items,
   intercepting "expand" events and populating the parents with 
their
   children on demand. This is an ugly hack and I'd like not to 
resort

   to this.

When I'm done with this, I want to make a couple more changes before
proceeding, based on user feedback:

 - Make the component info box collapsible.
 - Also display component info in a rich tooltip
 - Add a resizable splitter between footprint and symbol display

Once all of this is done, the next steps are:

 - Add footprint filtering and selection
 - Add 3D preview

Please, feel free to file bug reports even on minor UI quirks - I 
don't

always notice or remember them.

--
Chris

___
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] New addition to the lead developer team.

2017-02-28 Thread Eldar Khayrullin

Congratulations Tom. Good work.

В Вторник, 28 фев. 2017 в 1:37 , Tomasz Wlostowski 
 написал:

On 27.02.2017 22:52, Wayne Stambaugh wrote:
 I have just given product and stable branch commit privileges to 
Tomasz
 Wlostowski.  Please join me in congratulating him for his promotion 
to
 the lead development team.  For those who don't know, Tom is 
responsible

 for the P router, tool framework, and other significant pieces of
 KiCad.  Thank you Tom for all of your contributions to KiCad and 
welcome

 aboard.



Hi Wayne,

Thank you for letting me join the team! It's a true pleasure and 
honour

to work with you, and I hope my future contributions will make Kicad
rock even more!

Cheers,
Tom


___
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] [PATCH] Fix grid sizes in GAL modedit

2017-02-23 Thread Eldar Khayrullin

Hello.
Legacy Canvas is deprecated. Only GAL canvas bugs is reported now.
I thought that is enough to understand where is a issue. Sorry if I'm 
wrong.


В Четверг, 23 фев. 2017 в 5:15 , John Beard 
 написал:

Hi,

The COMMON_TOOLS GAL tool wasn't registered in modedit, so the grid
setting didn't work.

Here's a patch. This fixes lp:1667264, possibly the tersest bug report
ever, with a grand total of 6 words and a colon, plus the copy-paste
version info.

Any bug reporters out there, pretty please use your words when
reporting bugs - in this case mentioning that it was GAL only would
have been a good pointer for a start!

Cheers,

John
___
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] Symbol library editor UI refactor

2016-12-05 Thread Eldar Khayrullin

Looks very pretty good and usefull. Good work

В Понедельник, 5 дек. 2016 в 7:52 , Maciej Sumiński 
 написал:
Since some time we have been working on eeschema library editor with 
the

goal of simplifying the user interface. Now it is available for
beta testing [1] and I would appreciate some feedback.

Changes:
- symbol tree widget (thanks to Michele Castellana)
- opening multiple components at the same time
- creating a new library adds it to the project libraries
- cut/copy/paste symbols between libraries
- most of the actions are available in the top menu now

I have modified a few icons too (import/export/save part), though they
need pixel-accurate scaling to look fine, so for now they are just an
idea to be discussed.

I invite you to build the code and take it for a test drive, but if 
all

you want is a quick overview of the changes, then there is a short
screencast too [2].

Regards,
Orson

1. https://code.launchpad.net/~orsonmmz/kicad/+git/kicad/+ref/libedit
2. https://vimeo.com/194371466


___
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] pcbnew - dimension feature - outside, free_text

2016-11-16 Thread Eldar Khayrullin

Looks usable for me.

В Понедельник, 14 ноя. 2016 в 6:53 , Jacek Drewniak 
 написал:

pcbnew - Dimension module has new features:
- dimension arrow can now be set to 'outside'
- dimension text can be unlocked and moved freely now


presentation - https://gfycat.com/SelfishFloweryBlackrhino
___
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] [BUG] fix style of gost page layouts

2016-09-11 Thread Eldar Khayrullin

Thank you.

В Суббота, 10 сен. 2016 в 7:29 , Chris Pavlina 
<pavlina.ch...@gmail.com> написал:

Okay, pushed this one. :)

On Sat, Sep 10, 2016 at 06:58:09PM +0300, Eldar Khayrullin wrote:

 Sorry for noise.
 I have added the final patch.

 В Суббота, 10 сен. 2016 в 6:32 , Chris Pavlina 
<pavlina.ch...@gmail.com>

 написал:
 >...okay, pushed, then reverted.
 >
 >Can you please explain what you want us to do?
 >
 >On Sat, Sep 10, 2016 at 06:29:33PM +0300, Eldar Khayrullin wrote:
 >> Please don't commit it yet. I fix it in accordance of
 >> https://bugs.launchpad.net/kicad/+bug/1622184
 >>
 >> В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullin
 >><eldar.khayrul...@mail.ru>
 >> написал:
 >> >Hello guys.
 >> >I have added patch that fix style of gost page layouts in 
accordance

 >>of
 >> >the standart GOST 2.104-2006.
 >


___
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] [BUG] fix style of gost page layouts

2016-09-10 Thread Eldar Khayrullin

Sorry for noise.
I have added the final patch.

В Суббота, 10 сен. 2016 в 6:32 , Chris Pavlina 
<pavlina.ch...@gmail.com> написал:

...okay, pushed, then reverted.

Can you please explain what you want us to do?

On Sat, Sep 10, 2016 at 06:29:33PM +0300, Eldar Khayrullin wrote:

 Please don't commit it yet. I fix it in accordance of
 https://bugs.launchpad.net/kicad/+bug/1622184

 В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru>

 написал:
 >Hello guys.
 >I have added patch that fix style of gost page layouts in 
accordance of

 >the standart GOST 2.104-2006.


diff --git a/template/gost_landscape.kicad_wks b/template/gost_landscape.kicad_wks
index 4888afd..6758ea9 100644
--- a/template/gost_landscape.kicad_wks
+++ b/template/gost_landscape.kicad_wks
@@ -1,5 +1,5 @@
-( page_layout
-  (setup(textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3)
+(page_layout
+  (setup (textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.25)
   (left_margin 8)(right_margin 5)(top_margin 5)(bottom_margin 5))
   (line (name segm1:Line) (start 0 60 lbcorner) (end 12 60 lbcorner) (linewidth 0.6) (repeat 3) (incry 25))
   (line (name segm2:Line) (start 96 0 ltcorner) (end 96 14 ltcorner) (option page1only) (linewidth 0.6) (repeat 2) (incrx 53))
@@ -17,69 +17,71 @@
   (line (name segm14:Line) (start 185 40) (end 120 40) (option page1only) (repeat 3) (incry 5))
   (line (name segm15:Line) (start 185 30) (end 120 30) (option page1only) (linewidth 0.6) (repeat 2) (incry 5))
   (line (name segm16:Line) (start 185 5) (end 120 5) (option page1only) (repeat 5) (incry 5))
-  (line (name segm17:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
-  (line (name segm18:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
-  (line (name segm19:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
-  (line (name segm20:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
-  (line (name segm21:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
-  (line (name segm22:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
-  (line (name segm23:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
-  (line (name segm24:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
-  (line (name segm25:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
+  (line (name segm17:Line) (start 120 63) (end 0 63) (option page1only) (linewidth 0.6))
+  (line (name segm18:Line) (start 120 55) (end 120 63) (option page1only) (linewidth 0.6))
+  (line (name segm19:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
+  (line (name segm20:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
+  (line (name segm21:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
+  (line (name segm22:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
+  (line (name segm23:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
+  (line (name segm24:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
+  (line (name segm25:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
+  (line (name segm26:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
+  (line (name segm27:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
   (rect (name rect1:Rect) (start 12 0 lbcorner) (end 0 0 rtcorner) (linewidth 0.6))
-  (tbtext Лист (name text1:Text) (pos 173 32.5) (option page1only) (justify center))
-  (tbtext %C2 (name text2:Text) (pos 167.5 22.5) (option page1only) (maxlen 22))
-  (tbtext Пров. (name text3:Text) (pos 184.5 22.5) (option page1only))
-  (tbtext Утв. (name text4:Text) (pos 184.5 2.5) (option page1only))
-  (tbtext Н.контр. (name text5:Text) (pos 184.5 7.5) (option page1only))
-  (tbtext Лит. (name text6:Text) (pos 42 37.5) (option page1only) (justify center))
-  (tbtext %C0 (name text7:Text) (pos 60 47.5) (option page1only) (font (size 5 5)) (justify center) (maxlen 119))
-  (tbtext %N (name text8:Text) (pos 8 17.5) (option page1only) (justify center))
-  (line (name segm26:Line) (start 185 15) (end 185 0) (option notonpage1) (linewidth 0.6))
-  (line (name segm27:Line) (start 185 15) (end 0 15) (option notonpage1) (linewidth 0.6))
-  (tbtext %Y (name text9:Text) (pos 25 7) (option page1only) (justify center) (maxlen 49) (maxheight 14))
-  (tbtext %T (name text10:Text) (pos 85 27.5) (option page1only) (justify center) (maxlen 69) (maxheight 24))
-  (tbtext Листов (name text11:Text) (pos 29 17.5) (option page1only))
-  (tbtext %C0 (name text12:Text) (pos 47 7 ltcorner) (rotate 180) (font (size 3.5 3.5)) (justify center) (maxlen 69))
-  (tbtext %S (name text13:Text) (pos 35 17.5) (option page1only) (justify cent

Re: [Kicad-developers] [BUG] fix style of gost page layouts

2016-09-10 Thread Eldar Khayrullin
Please don't commit it yet. I fix it in accordance of 
https://bugs.launchpad.net/kicad/+bug/1622184


В Суббота, 10 сен. 2016 в 6:26 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Hello guys.
I have added patch that fix style of gost page layouts in accordance 
of the standart GOST 2.104-2006.
___
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] [BUG] fix style of gost page layouts

2016-09-10 Thread Eldar Khayrullin

Hello guys.
I have added patch that fix style of gost page layouts in accordance of 
the standart GOST 2.104-2006.
diff --git a/template/gost_landscape.kicad_wks b/template/gost_landscape.kicad_wks
index 4888afd..b76702f 100644
--- a/template/gost_landscape.kicad_wks
+++ b/template/gost_landscape.kicad_wks
@@ -1,5 +1,5 @@
-( page_layout
-  (setup(textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3)
+(page_layout
+  (setup (textsize 2.5 2.5)(linewidth 0.3)(textlinewidth 0.3)
   (left_margin 8)(right_margin 5)(top_margin 5)(bottom_margin 5))
   (line (name segm1:Line) (start 0 60 lbcorner) (end 12 60 lbcorner) (linewidth 0.6) (repeat 3) (incry 25))
   (line (name segm2:Line) (start 96 0 ltcorner) (end 96 14 ltcorner) (option page1only) (linewidth 0.6) (repeat 2) (incrx 53))
@@ -17,69 +17,71 @@
   (line (name segm14:Line) (start 185 40) (end 120 40) (option page1only) (repeat 3) (incry 5))
   (line (name segm15:Line) (start 185 30) (end 120 30) (option page1only) (linewidth 0.6) (repeat 2) (incry 5))
   (line (name segm16:Line) (start 185 5) (end 120 5) (option page1only) (repeat 5) (incry 5))
-  (line (name segm17:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
-  (line (name segm18:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
-  (line (name segm19:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
-  (line (name segm20:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
-  (line (name segm21:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
-  (line (name segm22:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
-  (line (name segm23:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
-  (line (name segm24:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
-  (line (name segm25:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
+  (line (name segm17:Line) (start 120 63) (end 0 63) (option page1only) (linewidth 0.6))
+  (line (name segm18:Line) (start 120 55) (end 120 63) (option page1only) (linewidth 0.6))
+  (line (name segm19:Line) (start 185 55) (end 0 55) (option page1only) (linewidth 0.6))
+  (line (name segm20:Line) (start 0 145 lbcorner) (end 0 0 lbcorner) (linewidth 0.6) (repeat 2) (incrx 5))
+  (line (name segm21:Line) (start 45 35) (end 45 20) (option page1only) (repeat 2) (incrx -5))
+  (line (name segm22:Line) (start 35 40) (end 35 20) (option page1only) (linewidth 0.6) (repeat 2) (incrx -17))
+  (line (name segm23:Line) (start 50 20) (end 0 20) (option page1only) (linewidth 0.6) (repeat 2) (incry 15))
+  (line (name segm24:Line) (start 50 40) (end 50 0) (option page1only) (linewidth 0.6))
+  (line (name segm25:Line) (start 120 15) (end 0 15) (option page1only) (linewidth 0.6))
+  (line (name segm26:Line) (start 120 40) (end 0 40) (option page1only) (linewidth 0.6))
+  (line (name segm27:Line) (start 185 0) (end 185 55) (option page1only) (linewidth 0.6))
   (rect (name rect1:Rect) (start 12 0 lbcorner) (end 0 0 rtcorner) (linewidth 0.6))
-  (tbtext Лист (name text1:Text) (pos 173 32.5) (option page1only) (justify center))
-  (tbtext %C2 (name text2:Text) (pos 167.5 22.5) (option page1only) (maxlen 22))
-  (tbtext Пров. (name text3:Text) (pos 184.5 22.5) (option page1only))
-  (tbtext Утв. (name text4:Text) (pos 184.5 2.5) (option page1only))
-  (tbtext Н.контр. (name text5:Text) (pos 184.5 7.5) (option page1only))
-  (tbtext Лит. (name text6:Text) (pos 42 37.5) (option page1only) (justify center))
-  (tbtext %C0 (name text7:Text) (pos 60 47.5) (option page1only) (font (size 5 5)) (justify center) (maxlen 119))
-  (tbtext %N (name text8:Text) (pos 8 17.5) (option page1only) (justify center))
-  (line (name segm26:Line) (start 185 15) (end 185 0) (option notonpage1) (linewidth 0.6))
-  (line (name segm27:Line) (start 185 15) (end 0 15) (option notonpage1) (linewidth 0.6))
-  (tbtext %Y (name text9:Text) (pos 25 7) (option page1only) (justify center) (maxlen 49) (maxheight 14))
-  (tbtext %T (name text10:Text) (pos 85 27.5) (option page1only) (justify center) (maxlen 69) (maxheight 24))
-  (tbtext Листов (name text11:Text) (pos 29 17.5) (option page1only))
-  (tbtext %C0 (name text12:Text) (pos 47 7 ltcorner) (rotate 180) (font (size 3.5 3.5)) (justify center) (maxlen 69))
-  (tbtext %S (name text13:Text) (pos 35 17.5) (option page1only) (justify center))
-  (tbtext Лист (name text14:Text) (pos 49 17.5) (option page1only))
-  (line (name segm28:Line) (start 30 20) (end 30 15) (option page1only) (linewidth 0.6))
-  (tbtext Масштаб (name text15:Text) (pos 9 37.5) (option page1only) (justify center))
-  (tbtext Масса (name text16:Text) (pos 26.5 37.5) (option page1only) (justify center))
-  (tbtext %C3 (name text17:Text) (pos 167.5 2.5) (option page1only) (maxlen 22))
-  (tbtext %C1 (name text18:Text) (pos 167.5 27.5) (option 

Re: [Kicad-developers] announcing eeshow (schematics renderer and viewer)

2016-09-10 Thread Eldar Khayrullin

Ok )

В Суббота, 10 сен. 2016 в 12:23 , Werner Almesberger 
<wer...@almesberger.net> написал:

Eldar Khayrullin wrote:

 I don't think that it is advisable now.


Hmm, do you mean trying to use Eeschema/-like fonts ?

 See Roadmap why it is as 
(http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/v5_road_map.html).


There's a lot on this page :-) Are you thinking of
Project > Common Library > Unified Rendering Framework
"Port wxDC to GAL or get Cairo rendering" ?

I've asked about that on #kicad, and I get the impressions that the
plans for Eeschema are still fairly vague in this regard.

In any case, I'm not in a hurry to jump into this. As long as text
rendering works acceptably, that's good enough for me at the present
stage. My current focus is mainly on file access (sounds boring but
gets rather entertaining when you add repos and their history to the
mix) and on making diffs better.

- Werner
___
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] announcing eeshow (schematics renderer and viewer)

2016-09-09 Thread Eldar Khayrullin

Thank you for your patch.
I don't think that it is advisable now. See Roadmap why it is as 
(http://ci.kicad-pcb.org/job/kicad-doxygen/ws/Documentation/doxygen/html/v5_road_map.html).


В Пятница, 9 сен. 2016 в 4:48 , Werner Almesberger 
<wer...@almesberger.net> написал:

Eldar Khayrullin wrote:

 Some other issue with space between label and wire:


Yes, text sizing and spacing is one of the darker areas. Eeschema,
Cairo, Pango, and XFig each have own ideas about fonts and how
they are to be rendered, and many details aren't really documented.

If you look at the code, you'll see little quirks and fudge factors
all over the text handling.

I added a small adjustment that seems to improve things:
https://neo900.org/git?p=eeshow;a=commit;h=4fde8d6eb13ef44e6865576e7e59f9b20680a2d3

As a long-term solution to all the text rendering blues, I'll have
to have a look at Eeschema's font handling, and try to copy that,
ideally using Cairo's fast rendering mechanism. But that needs
further research ...

For now, exactly matching the text rendering of Eeschema isn't
really possible. My goal is to render everything such that it's
recognizable (for review) and is suitable as input for diffs.

- Werner
___
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] announcing eeshow (schematics renderer and viewer)

2016-09-07 Thread Eldar Khayrullin
Now eeshow search relative path relative current directory ($PWD) but 
should to search relative project file path. Errors if $PWD not equal 
to project file path.


eeshow doesn't search title sheets in default directory 
/usr/share/kicad/template/. I use gost_landscape.kicad_wks from there.


В Среда, 7 сен. 2016 в 9:13 , Werner Almesberger 
<wer...@almesberger.net> написал:

Eldar Khayrullin wrote:

 Does eeshow watch to User defined search path?


Ah yes, I hadn't implemented this. Now searching LibDir and the
default paths from common/gestfich.cpp:KicadDatasPath should work,
too.

The searching can be a bit too optimistic: if you've deleted or
moved a file, eeshow may still find it in the underlying commit
(if on a repo) and seem to magically resurrect it. Such foibles
will go away once I rewrite the path lookup logic, which currently
underestimates how complex setups may really get.

Thanks !

- Werner
___
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] announcing eeshow (schematics renderer and viewer)

2016-09-07 Thread Eldar Khayrullin
Conflicting of libgit2-dev (eeshow dependence) and libcurl4-openssl-dev 
(kicad dependence) packages in Ubuntu.


В Среда, 7 сен. 2016 в 9:13 , Werner Almesberger 
<wer...@almesberger.net> написал:

Eldar Khayrullin wrote:

 Does eeshow watch to User defined search path?


Ah yes, I hadn't implemented this. Now searching LibDir and the
default paths from common/gestfich.cpp:KicadDatasPath should work,
too.

The searching can be a bit too optimistic: if you've deleted or
moved a file, eeshow may still find it in the underlying commit
(if on a repo) and seem to magically resurrect it. Such foibles
will go away once I rewrite the path lookup logic, which currently
underestimates how complex setups may really get.

Thanks !

- Werner
___
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] announcing eeshow (schematics renderer and viewer)

2016-09-06 Thread Eldar Khayrullin

$ ./eeshow /home/eldar/Sch/uremote-board/uremote-board.pro
power.lib: No such file or directory
/home/eldar/Sch/uremote-board/power.lib: the path 'power.lib' does not 
exist in the given tree

power.lib: not found

Does eeshow watch to User defined search path?

В Вторник, 6 сен. 2016 в 5:55 , Werner Almesberger 
 написал:

I mentioned it on this list before, but here is a more formal
announcement:

In the Neo900 project we're faced with having to maintain complex
schematics that are edited by several people and that are kept in a
git repo. To keep track of each other's work (and sometimes one's
own) and to resolve conflicts, it is often necessary to compare
different versions.

Unfortunately, textual diffs are often hard to interpret, and making
visual diffs is difficult, in part also because of eeschema's lack of
non-interactive plotting.

So I decided to spend a couple of days to write a little tool to plot
Eeschema schematics from the command line. One month flew past, and
now I have an interactive viewer :-)

The viewer also makes it easy to hop around in the git history.
Eeshow is still far from being perfect, but I think it's good enough
for a reasonable first impression.

Eeshow is a collection of three tools, the interactive viewer eeshow,
and the command-line only tools eeplot and eediff. It is written in C
and runs on Linux using Gtk+ 3 and Cairo.

The code lives here:
https://neo900.org/git?p=eeshow;a=summary

I've prepared a little walk-through that shows the main features of
the GUI:
https://neo900.org/stuff/eeshow/

Some more examples for use from the command line, and also with other
projects than Neo900:
https://neo900.org/git?p=eeshow;a=blob;f=DEMO

For the future, I plan to work my way through the "to do" list
https://neo900.org/git?p=eeshow;a=blob;f=TODO
especially adding better support for projects spanning multiple
repositories (e.g., board design on one, libraries in another) and
handling of renamed files, fix bugs and memory leaks, and clean up
things a little.

Feedback welcome.

- Werner

___
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] OCE plugin for 3D viewer

2016-09-02 Thread Eldar Khayrullin

Thank you. It is great work.

В Пятница, 2 сен. 2016 в 1:22 , Cirilo Bernardo 
 написал:
Thanks for the merge and to everyone who's helped out with the 
cross-platform issues.
I've got a new feature branch "kicad-step" with the kicad2step 
standalone tool if anyone
feels like playing with it and providing some feedback.  This is the 
tool which I plan to
make available as an item in the "Export" menu to give KiCad it's own 
built-in MCAD

export.

https://code.launchpad.net/~cirilo-bernardo/kicad/+git/kicad-oce

The long-term plan is to make this tool a genuine plugin, but the API 
required for that
is turning out to be quite a big job and is currently on hold due to 
my limited free time.


This stand-alone tool makes use of mRoszko's SEXPR parser which is a 
great tool

for making third-party tools that can read KiCad PCB files.

- Cirilo


On Fri, Sep 2, 2016 at 4:20 PM, Simon Wells  wrote:

just fyi a couple of tips on OSX

Make sure that brew is installing oce-0.17.2 this was only commited 
to

brew mid august so if its only installing 0.17 (which is broke) then
brew update

add

 -DUSE_OCE=ON 
-DOCE_DIR=/usr/local/opt/oce/OCE.framework/Versions/0.17/Resources/


to your cmake line and it will be bundled automatically. Tested on 
rev

38e7deb with no issues.

On Fri, Sep 2, 2016 at 12:13 PM, Chris Pavlina 
 wrote:

> Okay, this is friggin awesome. I can finally have models of
> *everything*, it's so nice! :)
>
> Sexy PCB shot: https://misc.c4757p.com/12091-motherboard.png
>
> Thanks Cirilo!
>
> On Thu, Sep 01, 2016 at 04:45:33PM -0400, Wayne Stambaugh wrote:
>>
>>
>> On 9/1/2016 4:18 PM, Chris Pavlina wrote:
>> > On Thu, Sep 01, 2016 at 04:10:13PM -0400, Wayne Stambaugh wrote:
>> >> On 9/1/2016 2:29 PM, José Ignacio wrote:
>> >>> On Thu, Sep 1, 2016 at 12:02 PM, Wayne Stambaugh 
 wrote:
>>  Sorry it took so long.  I took a look at Cirilo's changes an 
it looks
>>  good.  We still need a PKGBUILD file for msys2 with JPs 
patch so we

>>  don't have to build oce from source.
>> 
>>  When I merge Cirilo's 3d-plugin branch and I had to create a 
commit
>>  message which made me the commit author.  This seems brain 
dead to me.

>>  Here is the new commit log entry:
>> 
>>  commit 12c26047bffd54ccbb88348acfe7f653556450da
>>  Merge: fcedef8 b656a81
>>  Author: Wayne Stambaugh 
>>  Date:   Thu Sep 1 11:59:44 2016 -0400
>> 
>>  Merge remote-tracking branch 'cirilo/3d-plugin'
>> 
>>  I really only want to show Cirilo's commit log entries as a 
new commit.
>>  WTF! I'm liking git less every time I use it.  What do I 
need to do to

>>  get the correct commit history from Cirlo's 3d-plugin branch?
>> 
>> >>>
>> >>> Cirilo's commit history remains intact in the merged branch, 
you just
>> >>> need to walk through that branch instead of master when 
reading the
>> >>> commit logs. If cirilo's branch was rebased to the current 
master you
>> >>> could do a fast-forward merge, which would graft his commits 
into the
>> >>> master branch and make his last commit the "new master". In 
either

>> >>> case the history is perfectly readable.
>> >>>
>> >>
>> >> Yes but before I got chance to push my branch, Chris pushed a 
change so
>> >> when I pulled his changes, git conveniently created yet 
another commit
>> >> message.  Do we really want all this extra cruft in the commit 
log or do

>> >> we want to rebase against the kicad master?
>> >
>> > Start using git pull --rebase like I suggested earlier, it 
would avoid

>> > that.
>> >
>>
>> I pushed Cirilo's OCE changes so hopefully I didn't fsck up the 
main

>> repo too badly.  Thank you Cirilo for the OCE plugin work.
>
> ___
> 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] I did build kicad running on Qt

2016-08-30 Thread Eldar Khayrullin

Where are your src?

В Вторник, 30 авг. 2016 в 2:51 , sean d'epagnier 
 написал:

I don't know if anyone cares about this at all, maybe it is useless
for kicad, but I have been working on wxqt a bit, and it just reached
the point where kicad can compile and run under it.

I don't say it is usable, but it does run.

This means that kicad can already run on android,  I know this as
opencpn uses wxqt for android port for more than 1 year with great
success.

Also the qt remix would be available for any platform qt supports
giving better features (in theory right now) for kde users.

Please cc me if you reply and have any interest as I am not yet
subscribed to kicad developers

Sean

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

2016-08-30 Thread Eldar Khayrullin

Thanks Wayne

В Вторник, 30 авг. 2016 в 4:16 , Wayne Stambaugh 
 написал:

I just finished getting everything updated for the 4.0.4 release.
Thanks to everyone who made this possible.  I know there were not many
changes from 4.0.3 but they were critical so I needed to get this out.

Cheers,

Wayne

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

2016-08-28 Thread Eldar Khayrullin

Thank you for info.

В Суббота, 27 авг. 2016 в 11:22 , Wayne Stambaugh 
<stambau...@gmail.com> написал:

I'm out of town for the weekend.  If I have time tomorrow when I get
home, I will try to create the source archive and make the release
announcement.  If I don't get it done tomorrow, it will happen early 
in

the week.

Cheers,

Wayne

On 8/27/2016 10:10 AM, Eldar Khayrullin wrote:
 What status of release v.4.0.4? Can I use the tag 4.0.4 to create 
package?
___
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.4

2016-08-27 Thread Eldar Khayrullin
What status of release v.4.0.4? Can I use the tag 4.0.4 to create 
package?
___
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] Git transition

2016-08-24 Thread Eldar Khayrullin

Form like now:
lp:id
not supported with the terminal. It will be usefull to use form like 
"LP: #id".


В Среда, 24 авг. 2016 в 8:08 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Launchpad supports link messages to bugs like this:
LP: #id
P.S. and in the terminal in Ubuntu this msg is the link too.

В Пятница, 12 авг. 2016 в 10:34 , Wayne Stambaugh 
<stambau...@gmail.com> написал:

On 8/11/2016 11:28 AM, Chris Pavlina wrote:
 I stand by my recommendation to use a "Fixes: lp:n" on a line 
by
 itself. This is _established convention_ in git commit messages. A 
quick
 example from the Linux kernel tree has Reported-by, Requested-by, 
Cc,

 Signed-off-by all formatted in this way.

 Come on... it's established convention already, use it. We don't 
have to

 be different for the sake of it.


It's an established convention for the linux kernel develpers not 
kicad
developers.  I'm all for adding this information to the commit 
message.
I looked at Orson's web hook and this is all we need for it to link 
the

bug reports to the commit.  Let's go with "Fixes: lp:###" as a
separate line in the commit message and see how it goes.  If we have
issues, we can adjust accordingly.



 lp: without "Fixes" may not be obvious at first glance to 
people

 unfamiliar with our conventions.

 On Thu, Aug 11, 2016 at 04:09:11PM +0200, Nick Østergaard wrote:
 Den 11/08/2016 11.18 skrev "Maciej Sumiński" 
<maciej.sumin...@cern.ch>:


 On 08/10/2016 03:34 PM, Wayne Stambaugh wrote:

 On 8/10/2016 5:02 AM, Maciej Sumiński wrote:

 On 08/08/2016 06:09 PM, Wayne Stambaugh wrote:
 The last time I looked, notifications of repo commits still 
were not
 implemented.  This is a show stopper for me.  I don't want to 
have to
 constantly grep the git commit log to see what changed.  If 
change
 notifications are working correctly, then I'm OK with moving 
forward

 on
 this if you can get the bug fix linking working.  We 
definitely should

 do some testing before we go live with this.


 I see there is an option to set notifications, in the same way 
as for
 the bazaar branches ("Edit your subscriptions" on the right 
side pane).
 I could not verify it, as likely I cannot receive 
notifications for the
 changes I introduce. Even if it does not work, I can implement 
it in my

 webhook.


 I spent some time yesterday creating my own git clone of kicad 
on LP and
 I noticed that the subscriptions that I need appear to be 
available for
 git repos so we shouldn't need any webhooks in for that unless 
they do

 not work.


 If they do not work, let me know and I will fix it in the hook.



 The webhook has reached beta stage. I have created a dummy 
project for
 testing purposes, where you can see a bug report [1] and a 
commit [2]
 with message that includes a "fix(es)?[ ]+(lp:|#)?([0-9]+)" 
regex

 match.
 When it is detected, it automatically adds a message, changes 
the bug
 status and assignee. One thing that is not possible right now 
is

 linking
 with git branches, as apparently launchpad does not handle 
this at the
 moment (or I could not find the right format to specify a 
branch).


 Bug report linking is very important to me since I am 
responsible for
 the stable branch.  If there is no support for this yet, I'm OK 
with
 adding the bug report number to the first line of the commit 
message and
 the URL somewhere in the commit message body.  If I give the OK 
to use
 git, I will expect all developers that have commit privileges 
to the
 product repo to follow this without exception.  The commit 
message for

 bug report fixes must have this format:

 Description of bug report fix. (fixes lp:)

 * https://bugs.launchpad.net/kicad/+bug/

 If this is not acceptable, then the git transition will have to 
wait
 until Canonical gets git bug report linking implemented or 
Orson beats

 them to it.


 I spoke with a Launchpad developer and they have it already in 
their
 todo list. There is a plan to migrate Launchpad itself to git, 
so I

 believe they will do it well.

 From what I heard, currently it is possible to link git merge 
requests

 to bug reports, so it may temporarily solve the problem.

 All we need to do is to set a webhook pointing to my script 
[3]. If it
 is accepted, then I am going to create a separate lp account 
for the

 automated changes.

 Currently the webhook works on my home server which has a high 
uptime,
 but still it is not as reliable as dedicated servers. If there 
is
 someone willing to host it on a better machine, I will be 
pleased to

 help.


 If you are curious about the source code, then I can put it in 
the

 KiCad
 github (once I get a repository there) or just post it 
somewhere.


 I can create a repo on github or you can create a repo on 
launchpad.
 Either way is fine by me.  If you want to use github, let me 
know what
 name you want for the repo and your github 

Re: [Kicad-developers] Git transition

2016-08-22 Thread Eldar Khayrullin
And need update the Wiki 
https://github.com/KiCad/kicad-source-mirror/wiki


В Понедельник, 22 авг. 2016 в 7:16 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

But need to close posibilities to create ISSUE or PR.

В Понедельник, 22 авг. 2016 в 6:59 , Mark Roszko 
<mark.ros...@gmail.com> написал:

The github mirror is useful to keep because its usually far faster
than launchpad and easier to deal with for personal development.

The benefit is that after someone does all their work on github, one
can simply push it back to launchpad with zero issues by just adding
another remote.

Bzr on the other hand, just pushing a branch back to launchpad could
make it explode, heh.

___
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] Git transition

2016-08-22 Thread Eldar Khayrullin

But need to close posibilities to create ISSUE or PR.

В Понедельник, 22 авг. 2016 в 6:59 , Mark Roszko 
 написал:

The github mirror is useful to keep because its usually far faster
than launchpad and easier to deal with for personal development.

The benefit is that after someone does all their work on github, one
can simply push it back to launchpad with zero issues by just adding
another remote.

Bzr on the other hand, just pushing a branch back to launchpad could
make it explode, heh.

___
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] Git transition

2016-08-22 Thread Eldar Khayrullin

In launchpad git bug tagged in commit message like :
bug #id
Launchpad give a link to.

В Понедельник, 22 авг. 2016 в 6:38 , Wayne Stambaugh 
 написал:

I just tagged 4.0.4 so technically you can start creating packages
against it.  I'm not sure of the status of the doc, lib, and 
translation
repos.  I will try to make the announcement before I go out of town 
for

the weekend but I cannot promise that it will happen.

On 8/22/2016 10:50 AM, Adam Wolf wrote:

 This package dev is fine with you waiting a few days for 4.0.4, but
 let's not stretch out much more than that.

 On Mon, Aug 22, 2016 at 9:21 AM, Chris Pavlina 
> wrote:

 On Mon, Aug 22, 2016 at 09:57:26AM -0400, Wayne Stambaugh wrote:
 > On 8/22/2016 9:53 AM, Clemens Koller wrote:
 > > Hi, Wayne!
 > >
 > > On 2016-08-22 14:09, Wayne Stambaugh wrote:
 > >> I wasn't planning on migrating the stable 4 branch to git. 
 I'm hoping
 > >> there wont be too many more 4 stable releases so I'm not 
sure it's worth

 > >> the effort.
 > >
 > > Ok, I was wondering...
 > > I was missing the stable branch, too - as well as all the 
tags of the old
 > > releases, etc. I personally don't need them, but it could 
be useful
 > > and interesting to get all former references (r6994, rev 
6994, 4.0.0-rc...)

 > > migrated over to the git side once.
 >
 > My one gripe about git is the commit hash tags.  They really 
are not
 > very user friendly.  The tags you mention above are all in 4 
stable
 > branch so if you continue to use bzr for the stable 4 branch, 
you should
 > not have any issues.  I will tag future stable versions in 
git when we
 > get to that point so you will be able to use git tags in the 
same
 > manner.  I'm not sure how maintaining a stable branch in git 
is going to
 > work.  I'm guessing that it will be a completely separate 
repo like we
 > do with bzr but I'm going to worry about that when the time 
comes.


 As for the hashes not being user-friendly...well, that's what 
tags are
 for! Commits aren't really sequential anyway, since you can do 
all sorts
 of weird stuff with branching and merging, so bzr's sequential 
numbers
 do start to fall apart once you do that. When you have code you 
think is

 ready for public release, tag it!

 We could even do a 'testing' series, where we move commits from 
devel
 that are mostly okay, and tag a testing 'release' roughly 
weekly or so
 with a simple incrementing version number - this would be a 
nice middle
 ground between stable, which honestly starts to get a bit 
stale, and

 devel which occasionally breaks.

 This could even then be used as a staging ground for things to 
be
 brought into the stable branch, allowing a somewhat smoother 
release

 cadence.

 Pardon me, I'm just daydreaming a bit... :)

 >
 > >
 > > Regards,
 > >
 > > Clemens
 > >
 > > ___
 > > 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   : 

Re: [Kicad-developers] Git transition

2016-08-22 Thread Eldar Khayrullin

Hello.
I think need to rename .bzrignore to .gitignore and to remove 
.gitconfig.
P.S. I don't know but I have issue with this one when I use 
~/.gitignore_global.


В Понедельник, 22 авг. 2016 в 5:36 , Wayne Stambaugh 
 написал:

Let me tag 4.0.4 first since I'm hoping to roll out another stable
release soonish.  I'll do this right now.  I can push this release 
back

a few days until we get the 4 stable branch merged into the main kicad
git repo.  Thanks for the help.  Anyone else object to this?  I'm
thinking about my package devs here.


On 8/22/2016 10:33 AM, Chris Pavlina wrote:
 I'm used to git repo surgery enough to make the branch - if nobody 
else

 does it before I get out of work tonight, I'll do it then.

 As Shane says it should be very easy though, assuming there's 
nothing

 funny going on.

 On Mon, Aug 22, 2016 at 10:26:46AM -0400, Shane Burrell wrote:
 It should be really easy.  Create a branch and overlay stable 4 
branch via

 manual or checkout the hash mark you need and commit to branch.  I
 typically do a develop branch (bleeding edge) and branch of stable 
without

 any issues and created stable in same fashion the first time.

 On Mon, Aug 22, 2016 at 10:20 AM, Wayne Stambaugh 


 wrote:


 On 8/22/2016 10:13 AM, Chris Pavlina wrote:

 On Mon, Aug 22, 2016 at 09:57:26AM -0400, Wayne Stambaugh wrote:

 On 8/22/2016 9:53 AM, Clemens Koller wrote:

 Hi, Wayne!

 On 2016-08-22 14:09, Wayne Stambaugh wrote:
 I wasn't planning on migrating the stable 4 branch to git.  
I'm hoping
 there wont be too many more 4 stable releases so I'm not sure 
it's

 worth

 the effort.


 Ok, I was wondering...
 I was missing the stable branch, too - as well as all the tags 
of the

 old
 releases, etc. I personally don't need them, but it could be 
useful

 and interesting to get all former references (r6994, rev 6994,

 4.0.0-rc...)

 migrated over to the git side once.


 My one gripe about git is the commit hash tags.  They really 
are not
 very user friendly.  The tags you mention above are all in 4 
stable
 branch so if you continue to use bzr for the stable 4 branch, 
you should
 not have any issues.  I will tag future stable versions in git 
when we
 get to that point so you will be able to use git tags in the 
same
 manner.  I'm not sure how maintaining a stable branch in git is 
going to
 work.  I'm guessing that it will be a completely separate repo 
like we
 do with bzr but I'm going to worry about that when the time 
comes.


 Personally I would do a stable branch as a literal branch in git 
rather
 than a repository. This makes it much easier to move code 
between the

 branches - when you want to pull a commit onto stable, just 'git
 checkout stable' and 'git cherry-pick 1234567'. Makes it easy for
 developers to switch between them, as well - I would very much
 appreciate stable being a proper branch as it would make 
developing

 fixes on stable and forward-porting them to devel, as you said we
 should, much simpler.

 I suspect most developers familiar with git will be strongly in 
favor of
 this - it's how branches are meant to work in git. Fairly 
standard

 workflow.

 Then just use tags to mark releases in the stable branch.

 Easy as pie. :)


 For future stable releases, this is fine but I don't think there 
is any

 easy way to reassemble the separate bzr stable 4 branch into a git
 branch that we could commit to the main development repo.  If 
someone

 knows of an easy way to do this or better yet actually creates the
 branch, I would be more that happy to start using git to track the
 stable 4 branch.







 Regards,

 Clemens

 ___
 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] KiCad snappy package [BETA]

2016-08-13 Thread Eldar Khayrullin
Hi. I created snappy packages of KiCad 4.0.3 and added them to the 
stable channel.


Src:
https://github.com/eldarkg/kicad-snap/tree/4.0

Install:
sudo snap install kicad-snap

After install run in terminal (ignore errors):
snap run kicad-snap.kicad
sudo snap connect kicad-snap:locale-control ubuntu-core:locale-control
sudo snap connect kicad-snap:mount-observe ubuntu-core:mount-observe

Not works:
- open files (like text or pdf) from other programs;
- open documentation

В Воскресенье, 17 июл. 2016 в 9:22 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:
Hello guys. I created snappy packages and added them to the beta 
channel.


Src:
https://github.com/eldarkg/kicad-snappy #KiCad
https://github.com/eldarkg/kicadbom2spec-snappy #KiCadBOM2Spec (GOST)

Install:
sudo snap install --beta kicad-snappy   #KiCad
sudo snap install --beta kicadbom2spec-snappy   #KiCadBOM2Spec 
(GOST)

P.S. the packages aren't polished yet but they work.
___
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] Git transition

2016-08-12 Thread Eldar Khayrullin

I think git-SUM is something like that:
$ git log --oneline | wc -l

В Пятница, 12 авг. 2016 в 11:26 , Nick Østergaard 
 написал:

What do you mean with git-SUM, is that the bzrlike revno or is that
the short git sha1?

I personally like the way we have it now with the build date, the
bzrlike revno serial and the git sha1.

Or are you suggesting to do like (2016-08-03 2383bcf-6299)-product
instead of (2016-08-03 BZR 6299, Git 2383bcf)-product?

2016-08-12 21:37 GMT+02:00 Wayne Stambaugh :
 I'm OK with git-SUM rather than the obnoxiously long git rev 
numbers.

 Anyone object to this?

 On 8/12/2016 1:25 AM, Simon Wells wrote:
 In regards to this, Currently bzr revs are just the number and the 
git
 revs are the bzr number and the git sum. Is it worthwhile 
(esspeically

 in the title bar just changing this to git-BZRREV or just git-SUM
 since git will be the primary vcs?

 On Fri, Aug 12, 2016 at 7:55 AM, Adam Wolf
  wrote:

 Sounds good!  I think that timeline is fine.

 Adam Wolf


 On Thu, Aug 11, 2016, 2:54 PM Wayne Stambaugh 
 wrote:


 You have a couple of options.

 You could just clone directly from the source mirror on github 
for
 testing then update the url when we go live with git on 
launchpad.


 You could create your own clone of the github source mirror and 
add a
 remote link to your own personal git branch on launchpad and use 
that
 for testing.  This is what I have been using.  The set the url 
to push

 to your own git repo on launchpad run:

 git remote add launchpad
 git+ssh://u...@git.launchpad.net/~USER/kicad/+git/kicad-dev

 git push launchpad (OPTIONAL-REPO-NAME-ON-LP)

 You will now have your own kicad git repo on launchpad which you 
can

 clone for testing.

 On 8/11/2016 3:36 PM, Adam Wolf wrote:
 It should.  Can we somehow push a copy of what it is now so I 
have

 something to build against?




___
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] [Github] incorrect position (commit) of release and tag for v.4.0.3

2016-08-09 Thread Eldar Khayrullin

From https://code.launchpad.net/~stambaughw/kicad/4.0:
$ bzr log

revno: 6302
tags: 4.0.3
fixes bug: https://launchpad.net/bugs/1527827
author: Tomasz Wlostowski <tomasz.wlostow...@cern.ch>
committer: Wayne Stambaugh <stambau...@verizon.net>
branch nick: 4.0
timestamp: Fri 2016-08-05 15:07:42 -0400
message:
 Polygon: fixed polygon filleting glitch for colinear outline 
segments. (fixes lp:1527827)



В Понедельник, 8 авг. 2016 в 11:39 , Nick Østergaard 
<oe.n...@gmail.com> написал:

Yeah, that is indeed correct. I will align with Povilas who currently
performs the mirroring.

2016-08-08 18:29 GMT+02:00 Eldar Khayrullin 
<eldar.khayrul...@mail.ru>:

 See the theme
 ___
 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] [Release 4.0.3] Build bug (Boost 1.54)

2016-08-09 Thread Eldar Khayrullin

Yes, I build the snappy package for kicad release 4.0.3.
Without the flag  -DKICAD_SKIP_BOOST=ON cmake upload boost 1.54 
although in system I have 1.58.

OS: Ubuntu 16.04.1 LTS.
P.S. in product branch this flag was deprecated and boost using from 
system.


В Понедельник, 8 авг. 2016 в 11:30 , Nick Østergaard 
<oe.n...@gmail.com> написал:

Not unconditionally!

It seems like you are using some old debian derived system. Please
provide further details... Although I see snappy mentioned in your
URI...

2016-08-08 19:47 GMT+02:00 Eldar Khayrullin 
<eldar.khayrul...@mail.ru>:

 Get the msg:

 ...failed gcc.compile.c++
 
bin.v2/libs/thread/build/gcc-5.4.0/release/link-static/threading-multi/pthread/thread.o...

 ...skipped
 
libboost_thread.a(clean)

 for lack of
 
pthread/thread.o...

 ...skipped
 
libboost_thread.a

 for lack of
 
pthread/thread.o...

 ...skipped
 
libboost_thread.a

 for lack of
 
libboost_thread.a...

 ...failed updating 2 targets...
 ...skipped 9 targets...

 Need add the flag -DKICAD_SKIP_BOOST=ON to here:
 http://kicad-pcb.org/download/source/

 ___
 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] [Release 4.0.3] Build bug (Boost 1.54)

2016-08-08 Thread Eldar Khayrullin

Get the msg:

...failed gcc.compile.c++ 
bin.v2/libs/thread/build/gcc-5.4.0/release/link-static/threading-multi/pthread/thread.o...
...skipped 
libboost_thread.a(clean) 
for lack of 
pthread/thread.o...
...skipped 
libboost_thread.a 
for lack of 
pthread/thread.o...
...skipped 
libboost_thread.a 
for lack of 
libboost_thread.a...

...failed updating 2 targets...
...skipped 9 targets...

Need add the flag -DKICAD_SKIP_BOOST=ON to here:
http://kicad-pcb.org/download/source/
___
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] [Github] incorrect position (commit) of release and tag for v.4.0.3

2016-08-08 Thread Eldar Khayrullin

See the theme
___
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 update.

2016-08-07 Thread Eldar Khayrullin

What about this bug:
https://bugs.launchpad.net/kicad/+bug/1593373
I don't know it is right to set Importance of this bug to Low.
I think it Importance should be High and this bug should be fixed 
before Release (I think maybe I'm wrong)


В Воскресенье, 7 авг. 2016 в 1:58 , Wayne Stambaugh 
 написал:

On 8/6/2016 6:17 PM, Nick Østergaard wrote:

 I think you can make the release tar of the source now on launchpad.


I've got it ready to go.  I will go ahead an release it tomorrow.
Anyone have an issue with this?  Package devs please note I had to
re-tag 4.0.3 to r6302 so if you built 4.0.3 prior to this revision,
please rebuild to the correct version.  Sorry, there was a flurry of
last minute bug fixes that effected the stable branch.



 I only need the update from the german translator for the 
kicad-i18n,

 the docs and libs have been tagged and uploaded now.


Thanks!



 Then I will trigger a stable build as a release candidate in testing
 for a sanity check. Poke Adam (OSX) and JS-reynaud (ubuntu PPA) if
 they can do that too and we can publish the release note on the
 website.


I already have the announcement in my kicad-website-dev repo so I will
do a pull request and merge (I think I have admin rights to the 
website

repo) the announcement.



 2016-08-04 19:15 GMT+02:00 Wayne Stambaugh :
 Thanks for the update.  Let me know if I need to push the release 
back

 to Monday.

 On 8/4/2016 11:44 AM, Nick Østergaard wrote:

 FYI

 Everyhting should probably line up now. I am just waiting for a 
german
 translator to bring the german GUI translations to 100%, he said 
he

 could probably do that during the weekend.

 And then awaiting the librarians tag the libs and make sure we do 
not

 remove pretties that was existing before. I expect this to be done
 during the weekend nor at latest monday.

 2016-08-01 14:21 GMT+02:00 Wayne Stambaugh :
 I'm just checking in to make sure we are good to go with the 
upcoming

 4.0.3 stable release.  I will plan on announcing the release and
 creating the source archive this weekend unless there is 
something
 holding it up.  Please let me know if there are any issues.  
Otherwise,
 expect a new stable release this weekend.  Thank you everyone 
for your

 efforts to make this possible.

 Cheers,

 Wayne

 ___
 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] Integrated Simulator

2016-08-06 Thread Eldar Khayrullin

Now the script works fine on Linux.
Maybe instead:
# make install
it will be good to use:
# checkinstall [...] ?

В Пятница, 5 авг. 2016 в 10:40 , Maciej Sumiński 
 написал:

I had spoken with ngspice devs and they have suggested me a workaround
for the bug. Unfortunately, it requires a patch that is currently not
included in the release version, so we resort to building from the
source again.

To ease the pain, I have updated get_libngspice_so.sh [1]. Now it 
should
build the correct library version for Linux, Windows (mingw64) & OS 
X. I

have managed to run the script successfully on all the mentioned
platforms, but I still do not have KiCad compiled on OS X, so I was 
not

able to test it there.

I have updated the ngspice branch in my github repository [2]:
- applied fixes for Win7 & OS X (thank you Jean-Pierre & Johannes)
- resized dialogs, so all the fields are visible and windows fit 
1024x768

- fixed a few minor bugs
- corrected demo circuits
- cleared, formatted & documented the code
 & added some documentation
I consider the code ready for merge. If there are no objections, I 
would

like to proceed next week.

Regards,
Orson

1. https://orson.net.pl/pub/libngspice/get_libngspice_so.sh
2. https://github.com/orsonmmz/kicad-source-mirror/tree/ngspice

On 07/21/2016 11:16 PM, Chris Pavlina wrote:
 Really, really nice! I made it do a thing! 
https://misc.c4757p.com/kicad_sim.png


 I feel bad to provide a bug report on my very first communcation on
 this, but... found one: not sure if this sort of thing is actually
 standard SPICE or an LTspice extension, but I tried parameterizing a
 component value, setting a resistor's value to {R} - that sort of 
thing

 leads to irrecoverable lockups here.

 On Thu, Jul 21, 2016 at 09:37:57PM +0200, Tomasz Wlostowski wrote:

 Hi,

 As some of you have noticed, we've been working on a "secret" 
feature

 during the hackathon at CERN. The feature we're talking about is an
 integrated circuit simulator. Currently it features:
 - Seamless integration into schematic editor,
 - AC/Transient/DC sweep simulations,
 - Voltage probing from the schematics,
 - Live tuning of component values.

 A video demonstrating the capabilities of the new simulator is 
available

 on Tom's YouTube channel [1].

 The code is currently available in the ngspice branch on Tom's 
GitHub
 [2] for review & testing. It's a big feature, so we didn't want to 
push

 it immediately to the product branch. We'll greatly appreciate your
 feedback!

 The simulator uses ngspice [3] as the Spice kernel. We'd like to 
thank
 ngspice developers for providing a DLL interface which made 
seamless

 integration of ngspice into Kicad possible.

 In order to get started:
 - install ngspice shared library (is not provided by many Linux 
distros,
 Arch Linux is a known exception, so you might have to compile it 
from

 the sources with --with-ngshared --enable-xspice options).  Windows
 DLLs, msys2 PKGBUILD & binary packages (to be included soon in
 the official msys2 repo, currently merged to
 https://github.com/Alexpux/MINGW-packages/) & Linux script to 
build the

 library are available at [4].
 - compile eeschema with -DKICAD_SPICE=ON option,
 - have a look at some examples in demos/simulation directory.

 Happy simulating,
 Tom

 [1] https://youtu.be/A2_-hdRcf4U
 [2] https://github.com/twlostow/kicad-dev/tree/ngspice
 [3] http://ngspice.sourceforge.net/
 [4] https://orson.net.pl/pub/libngspice

 ___
 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] New eeschema file format

2016-08-03 Thread Eldar Khayrullin

What about the style of dashed and dotted lines?
It will be good if one can to set the template of dashes, like dash=1mm 
and space=2mm( -  -  -  -) or dash 3mm and space=2mm (---  ---  ---  
---).


В Вторник, 2 авг. 2016 в 11:39 , Wayne Stambaugh 
 написал:

On 8/2/2016 4:18 PM, Sergey Borshch wrote:

 On 02.08.2016 16:14, Wayne Stambaugh wrote:
 So far here is the list of new file format features I am planning 
to

 implement:

 - Pin and gate swapping and mapping (defined).
 - Differential pair definition (undefined).
 - Net class definitions. (undefined other than what we have in the 
board

 file format)
 - Font definition for text objects (defined).
 - Custom colors for all drawing objects (undefined but trivial).
 - Embedded and linked symbols (undefined but I've already have a
 definition in mind).
 - Custom properties for objects (defined, same as board file 
format).

 - Support for more than 2 body styles (defined).
 - Symbol types: normal, power, virtual (in BOM not in netlist), and
 net-tie (defined except for additional net-tie requirements).
 - Per file symbol library design (defined like the pretty footprint
 libraries).
 - Custom pads (undefined).


 My proposal:

 + per-unit refdes and value location


I think this is already in the new library file format spec and 
applies

to all fields.

 + alignment and orientation attributes of every text label, 
including

 pin number and pin name.


That would not be difficult to add so I will add it as an option.  If
they are undefined then these parameters fall back to the global 
setting.


 + drawing lines attributes: type (solid/dashed/dotted), thickness, 
colour.


Already in the new file format spec except color.  Folks, please read
the both the schematic and symbol library file format specs, I'm 
looking

for anything I haven't already defined.






___
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] Integrated Simulator

2016-08-01 Thread Eldar Khayrullin

Script doesn't download the ngspice archive anymore.

В Понедельник, 1 авг. 2016 в 4:19 , Maciej Sumiński 
<maciej.sumin...@cern.ch> написал:

Hi Eldar,

I would rather install the libraries to /usr/local, so they do not
interfere with libraries installed by package managers. I guess I know
what I kind of issue you have faced, and now it should be fixed in the
new version get_libngspice_so.sh script [1].

Regards,
Orson

1. https://orson.net.pl/pub/libngspice/get_libngspice_so.sh

On 07/22/2016 04:44 PM, Eldar Khayrullin wrote:

 If whom need I send libngspice install script with my modifications

 В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:
 After adding option --prefix=/usr (if install path is /usr/local 
need

 to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include
 diodes):

 **
 ** ngspice-26 shared library
 ** Creation Date: Fri Jul 22 17:17:51 MSK 2016
 **
 Circuit: KiCad schematic
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0e+00
 No. of Data Rows : 61

 В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:

 Opening the sallen_key.sch with eeschema show in the log window:

 1) Note: can't find init file.

 2) Error: .include filename missing
 If delete ".include diodes.lib" - OK.

 3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd (
 xu1.3 2 ) a$poly$e.xu1.eos
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eos 
spice2poly

 coef = [ 1.7e-3 1 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 
0 )

 a$poly$e.xu1.eref1
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 
0 )

 a$poly$e.xu1.eref2
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4
 xu1.42 ) a$poly$e.xu1.eo3
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 
spice2poly

 coef = [ 0.7175 0.5 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( 
xu1.44

 5 ) a$poly$e.xu1.eo4
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 
spice2poly

 coef = [ 0.7355 0.5 ] ...
 Unknown model type spice2poly - ignored
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0e+00
 No. of Data Rows : 61

 But the simulation and the tune and the probe work.
 It will be nice to have the select of visibility of signals 
(checkbox).



 В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski
 <tomasz.wlostow...@cern.ch> написал:

 Hi,




 ___
 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] Integrated Simulator

2016-08-01 Thread Eldar Khayrullin

After:
$ rm -r /tmp/libngspice_so/
I see:
$ LANG=C ./get_libngspice_so.sh
./get_libngspice_so.sh: 13: ./get_libngspice_so.sh: [[: not found
./get_libngspice_so.sh: 41: ./get_libngspice_so.sh: [[: not found
-e \e[34mDownloading ngspice tarball..\e[0m
--2016-08-01 16:50:20--  
http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/26/ngspice-26.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 
52.85.142.110, 52.85.142.253, 52.85.142.13, ...
Connecting to downloads.sourceforge.net 
(downloads.sourceforge.net)|52.85.142.110|:80... connected.

HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
http://downloads.sourceforge.net/#!/project/ngspice/ng-spice-rework/26/ngspice-26.tar.gz 
[following]

--2016-08-01 16:50:21--  http://downloads.sourceforge.net/
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 639 [text/html]
Saving to: 'ngspice-26.tar.gz'

ngspice-26.tar.gz
100%[>] 639 
--.-KB/sin 0s


2016-08-01 16:50:21 (89,0 MB/s) - 'ngspice-26.tar.gz' saved [639/639]

./get_libngspice_so.sh: 49: ./get_libngspice_so.sh: [[: not found
./get_libngspice_so.sh: 56: ./get_libngspice_so.sh: [[: not found

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./get_libngspice_so.sh: 62: cd: can't cd to ngspice-26
-e \e[34mBuilding libngspice shared library..\e[0m
./get_libngspice_so.sh: 66: ./get_libngspice_so.sh: ./configure: not 
found

make: *** No targets specified and no makefile found.  Stop.
./get_libngspice_so.sh: 69: ./get_libngspice_so.sh: [[: not found

-e \e[32mngspice shared library has been built successfully!\e[0m

Now, to finish the installation run the script as root with 'install' 
parameter:

sudo ./get_libngspice_so.sh install

В Понедельник, 1 авг. 2016 в 4:19 , Maciej Sumiński 
<maciej.sumin...@cern.ch> написал:

Hi Eldar,

I would rather install the libraries to /usr/local, so they do not
interfere with libraries installed by package managers. I guess I know
what I kind of issue you have faced, and now it should be fixed in the
new version get_libngspice_so.sh script [1].

Regards,
Orson

1. https://orson.net.pl/pub/libngspice/get_libngspice_so.sh

On 07/22/2016 04:44 PM, Eldar Khayrullin wrote:

 If whom need I send libngspice install script with my modifications

 В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:
 After adding option --prefix=/usr (if install path is /usr/local 
need

 to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include
 diodes):

 **
 ** ngspice-26 shared library
 ** Creation Date: Fri Jul 22 17:17:51 MSK 2016
 **
 Circuit: KiCad schematic
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0e+00
 No. of Data Rows : 61

 В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:

 Opening the sallen_key.sch with eeschema show in the log window:

 1) Note: can't find init file.

 2) Error: .include filename missing
 If delete ".include diodes.lib" - OK.

 3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd (
 xu1.3 2 ) a$poly$e.xu1.eos
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eos 
spice2poly

 coef = [ 1.7e-3 1 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 
0 )

 a$poly$e.xu1.eref1
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 
0 )

 a$poly$e.xu1.eref2
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4
 xu1.42 ) a$poly$e.xu1.eo3
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 
spice2poly

 coef = [ 0.7175 0.5 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( 
xu1.44

 5 ) a$poly$e.xu1.eo4
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 
spice2poly

 coef = [ 0.7355 0.5 ] ...
 Unknown model type spice2poly - ignored
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0

Re: [Kicad-developers] Integrated Simulator

2016-08-01 Thread Eldar Khayrullin

With your new script:
$ LANG=C ./get_libngspice_so.sh
./get_libngspice_so.sh: 13: ./get_libngspice_so.sh: [[: not found
./get_libngspice_so.sh: 41: ./get_libngspice_so.sh: [[: not found
-e \e[34mDownloading ngspice tarball..\e[0m
--2016-08-01 16:47:54--  
http://downloads.sourceforge.net/project/ngspice/ng-spice-rework/26/ngspice-26.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 
52.85.142.110, 52.85.142.253, 52.85.142.13, ...
Connecting to downloads.sourceforge.net 
(downloads.sourceforge.net)|52.85.142.110|:80... connected.

HTTP request sent, awaiting response... 302 Moved Temporarily
Location: 
http://downloads.sourceforge.net/#!/project/ngspice/ng-spice-rework/26/ngspice-26.tar.gz 
[following]

--2016-08-01 16:47:55--  http://downloads.sourceforge.net/
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 200 OK
Length: 639 [text/html]
Saving to: 'ngspice-26.tar.gz.2'

ngspice-26.tar.gz.2  
100%[>] 639 
--.-KB/sin 0s


2016-08-01 16:47:55 (93,8 MB/s) - 'ngspice-26.tar.gz.2' saved [639/639]

./get_libngspice_so.sh: 49: ./get_libngspice_so.sh: [[: not found
./get_libngspice_so.sh: 56: ./get_libngspice_so.sh: [[: not found

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
./get_libngspice_so.sh: 62: cd: can't cd to ngspice-26
-e \e[34mBuilding libngspice shared library..\e[0m
./get_libngspice_so.sh: 66: ./get_libngspice_so.sh: ./configure: not 
found

make: *** No targets specified and no makefile found.  Stop.
./get_libngspice_so.sh: 69: ./get_libngspice_so.sh: [[: not found

-e \e[32mngspice shared library has been built successfully!\e[0m

Now, to finish the installation run the script as root with 'install' 
parameter:

sudo ./get_libngspice_so.sh install

В Понедельник, 1 авг. 2016 в 4:19 , Maciej Sumiński 
<maciej.sumin...@cern.ch> написал:

Hi Eldar,

I would rather install the libraries to /usr/local, so they do not
interfere with libraries installed by package managers. I guess I know
what I kind of issue you have faced, and now it should be fixed in the
new version get_libngspice_so.sh script [1].

Regards,
Orson

1. https://orson.net.pl/pub/libngspice/get_libngspice_so.sh

On 07/22/2016 04:44 PM, Eldar Khayrullin wrote:

 If whom need I send libngspice install script with my modifications

 В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:
 After adding option --prefix=/usr (if install path is /usr/local 
need

 to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include
 diodes):

 **
 ** ngspice-26 shared library
 ** Creation Date: Fri Jul 22 17:17:51 MSK 2016
 **
 Circuit: KiCad schematic
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0e+00
 No. of Data Rows : 61

 В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin
 <eldar.khayrul...@mail.ru> написал:

 Opening the sallen_key.sch with eeschema show in the log window:

 1) Note: can't find init file.

 2) Error: .include filename missing
 If delete ".include diodes.lib" - OK.

 3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd (
 xu1.3 2 ) a$poly$e.xu1.eos
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eos 
spice2poly

 coef = [ 1.7e-3 1 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 
0 )

 a$poly$e.xu1.eref1
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 
0 )

 a$poly$e.xu1.eref2
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 
spice2poly

 coef = [ 0 0.5 0.5  ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4
 xu1.42 ) a$poly$e.xu1.eo3
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 
spice2poly

 coef = [ 0.7175 0.5 ] ...
 Unknown model type spice2poly - ignored
 Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( 
xu1.44

 5 ) a$poly$e.xu1.eo4
 MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
 Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 
spice2poly

 coef = [ 0.7355 0.5 ] ...
 Unknown model type spice2poly - ignored
 Reducing trtol to 1 for xspice 'A' devices
 Doing analysis at TEMP = 27,00 and TNOM = 27,00
 Warning: vv1: has no value, DC 0 assumed
  Reference value :  1,0e+00
 No. of Data Rows : 61

 

Re: [Kicad-developers] New eeschema file format

2016-08-01 Thread Eldar Khayrullin

It is good. It is convenient.

В Понедельник, 1 авг. 2016 в 12:09 , Chris Pavlina 
 написал:

Power labels replace power components. Here are a couple screenshots
from my feature branch that I dug up - still haven't actually got it
building again, it had a few issues, but the screenshots should 
explain.
Bear in mind they're all at different levels of development, so I 
don't

necessarily mean things should be *exactly* like this.

https://misc.c4757p.com/power.png
https://misc.c4757p.com/powereditor.png

I implemented them as a subclass of global labels, with a modfied draw
method that would render a library part instead of a text label. I 
then

embedded a library of standard power symbol styles so the user could
simply select one, and added a property to the labels to record their
style. Future plans included the ability to use user-supplied styles,
edited by the library editor.

It's not immediately obvious from the screenshots, but the UI had
heuristics to pick a sensible style based on the net name you typed, 
so
power labels could be placed very quickly by pressing the hotkey (I 
just

repurposed P), typing the power net name and hitting enter.

Allowing user-supplied styles would allow backwards compatibility with
old schematics: old-style power components in those schematics could 
be

simply converted to power labels using that component as the style; no
visual or logical difference would occur.

On Sun, Jul 31, 2016 at 04:59:53PM -0400, Wayne Stambaugh wrote:

 On 7/31/2016 4:45 PM, Wayne Stambaugh wrote:
 > On 7/31/2016 3:59 PM, Chris Pavlina wrote:
 >> On Sun, Jul 31, 2016 at 03:25:11PM -0400, Wayne Stambaugh wrote:
 >>> On 7/30/2016 9:22 PM, Chris Pavlina wrote:
  Hi,
 
  I was reading through the new sch/lib format documents posted 
back in
  February: 
https://lists.launchpad.net/kicad-developers/msg23302.html

 
  Since work is underway to facilitate adding this now, I 
figured it was a
  decent time to bring up a few concerns and suggestions I have. 
Bear in
  mind I'm working off a pretty old version of the document here 
- if it's
  been updated and some of this has changed, feel free to point 
me to a

  more recent version; I couldn't find one.
 >>>
 >>> I don't believe I've changed it since the last time I published 
it on

 >>> the mailing list.
 >>>
 
  - I think we should work to reduce redundancies in the format. 
They just
    confuse things and introduce parsing complexities (what 
happens when
    A implies B, both are written to the file, and they don't 
agree with

    each other?). Examples:
 
    - Why both 'polyline' and 'line'? Surely eeschema isn't 
going to get
  tired of writing 'poly' and decide to start abbreviating 
it? Can't

  we remove one?
 >>>
 >>> Agreed. 'lines' could be one or more lines that may or may not 
form a

 >>> polygon.
 >>>
 
    - Arcs have redundant information, we only need either 
(radius, start
  angle, end angle, center), or (start point, end point, 
center). I
  suggest sticking to the former and dropping the start/end 
points.

 >>>
 >>> We currently save all of this information in the for an arc.  
I'm not
 >>> sure why.  I'm fine with this proposal.  One advantage to using 
the end
 >>> points rather than the angles is round errors to ensure 
completely

 >>> enclosed drawings but I don't know if that is an issue or not.
 >>
 >> Very good point about the start/end points. eeschema doesn't 
currently
 >> support that - it can't fill enclosed regions that are enclosed 
by
 >> multiple graphical objects - but this would ensure it could in 
the
 >> future with minimal changes. Okay - I'm for using start/end 
instead of
 >> angles, then. I'd still like to get rid of the redundant info, 
though.

 >>
 >>>
 
  - Can we consider adding power ports as a type of label rather 
than
    component, so we don't have to maintain libraries of every 
possible
    rail name anymore? I'd happily contribute to the 
implementation - I
    have an old feature branch where I did exactly that, it 
worked really

    well :)
 >>>
 >>> I thought that was in there already.  Maybe I missed it.  There 
will be
 >>> a symbol type token.  We have to support normal, power, virtual 
(show up
 >>> in BOM but not netlist, could have a better name 
not-in-netlist?), and
 >>> not-in-bom? (for net ties at a minimum, maybe net-tie would be 
a better
 >>> name but it could be used for other not in BOM objects that we 
have yet

 >>> thought of).
 >>
 >> Hm, I don't see it if it's there. I'm not entirely sure what I'm
 >> imagining you describing, here. Anyway, I think I'll drop this 
briefly,

 >> and then later resurrect that feature branch I had and start some
 >> discussion. I had quite a bit there, including UI work, that was 
quite

 >> slick IMO. :)

 Sorry.  I misread your suggestion although we do need 

Re: [Kicad-developers] Dialog text box autoselect

2016-07-25 Thread Eldar Khayrullin

Yes, I've noticed that too. The autoselect is convenient

В Вторник, 26 июл. 2016 в 2:35 , Chris Pavlina 
 написал:

Many of our dialogs have automatically selected the contents of their
primary field when they open, making it easy to replace them. I 
noticed

a while ago that this behavior was removed (unintentionally?) on a few
of them, in particular the sch field edit dialog. This was just 
brought

up on IRC by someone who'd like to see that behavior come back. I like
it too. Anyone else?

--
Chris

___
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] Integrated Simulator

2016-07-24 Thread Eldar Khayrullin
Hello guys. I think this news should be announced in 
http://kicad-pcb.org/post/ to promote the interest.


В Суббота, 23 июл. 2016 в 2:17 , jp charras 
<jp.char...@wanadoo.fr> написал:

Le 22/07/2016 à 13:49, Tomasz Wlostowski a écrit :

 On 22.07.2016 13:36, jp charras wrote:

 Le 22/07/2016 à 13:15, jp charras a écrit :

 Le 22/07/2016 à 11:59, Tomasz Wlostowski a écrit :

 On 22.07.2016 11:56, Eldar Khayrullin wrote:

 Note: can't find init file.


 This is the problem, ngspice can't find its internal init file. 
Did you

 install it in your system or just copied the DLL?

 Tom



 Because I have the same issue:

 I just copied the dll.

 What is the internal init file?
 And where it should be copied.

 One cannot expect it is in a system folder, especially on windows.



 Hi Tom,

 After more tests:

 In all cases I have the message:
 Note: can't find init file.

 However:
 * sallen_key does not work at all (as said previously)
 * laser_driver runs but gives the message:
 doAnalyses: Too many iterations without convergence
 run simulation(s) aborted
 * rectifier works!


 Hi JP,

 You need the init files and XSPICE extensions. I'll provide an 
updated

 Windows package.

 Tom



Hi Tom and Orson,

After a few trials, I fixed my issues:
* sallen_key.sch demo has a bug: the text ".include diodes.lib" 
should be ".include 8051.lib".

  Of course, this is obvious, bot not easy to find at a first glance.
* I rebuilt libngspice-0.dll on my msys2 install, just copied this 
dll in kicad/bin dir (instead of
Orson'one) and I do not have the issue about init files (perhaps it 
is built with different options).


--
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

If whom need I send libngspice install script with my modifications

В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:
After adding option --prefix=/usr (if install path is /usr/local need 
to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include 
diodes):


**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Opening the sallen_key.sch with eeschema show in the log window:

1) Note: can't find init file.

2) Error: .include filename missing
If delete ".include diodes.lib" - OK.

3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd ( 
xu1.3 2 ) a$poly$e.xu1.eos

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly 
coef = [ 1.7e-3 1 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 0 
) a$poly$e.xu1.eref1

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 
spice2poly coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 0 
) a$poly$e.xu1.eref2

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 
spice2poly coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4 
xu1.42 ) a$poly$e.xu1.eo3

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 spice2poly 
coef = [ 0.7175 0.5 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( 
xu1.44 5 ) a$poly$e.xu1.eo4

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 spice2poly 
coef = [ 0.7355 0.5 ] ...

Unknown model type spice2poly - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

But the simulation and the tune and the probe work.
It will be nice to have the select of visibility of signals 
(checkbox).



В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski 
<tomasz.wlostow...@cern.ch> написал:

Hi,


get_libngspice_so.sh
Description: application/shellscript
___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

rectifier.sch - OK. But sometime it hang. And error not found "1n4148":

**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Error on line 4 : dd1 2 3 1n4148
Unable to find definition of model 1n4148 - default assumed
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--
Node   Voltage
   ---
10
2  5,76787e-28
3 -5,76787e-26
vv1#branch-5,76787e-31
Reference value :  0,0e+00
No. of Data Rows : 10008


В Пятница, 22 июл. 2016 в 5:36 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

laser_driver.sch - OK:
**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Warning: Model issue on line 1 : .model laser d(is=1e-22 rs=6 n=1.5 
cjo=50p xti=100 iave= ...

unrecognized parameter (iave) - ignored
unrecognized parameter (vpk) - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--
Node   Voltage
   ---
10
5  -10
xu1.30,0100446
xu1.5 0,796298
4   10
xu1.40,0100287
xu1.6-0,776209
2   0,00805251
xu1.98   0
30,0100287
xu1.20-7,93255e-06
xu1.160,475886
xu1.17 2,15373e-07
xu1.18   0
xu1.7 0,512086
xu1.8 8,17
xu1.9-8,17
xu1.30   0,0090406
xu1.140,512086
xu1.150,512086
xu1.19   0
xu1.210,53
xu1.22   0
xu1.24   0,575
xu1.23 -4,5188e-05
xu1.130,512086
xu1.400,478413
xu1.26   0
xu1.27   0
xu1.90  10
xu1.91 -10
xu1.100,512085
6 0,512085
xu1.110,067085
xu1.120,957085
70,0301347
80,0306366
v.xu1.voc#branch   1,07945e-06
v.xu1.vnoise3#branch4,5188e-05
v.xu1.vnoise1#branch   7,93255e-06
v.xu1.vsl#branch9,7897e-07
v.xu1.v1#branch1,95795e-06
e.xu1.epole#branch   0
vv3#branch  -0,0140803
vv2#branch  -0,0142768
v.xu1.vcl4#branch  2,96573e-07
v.xu1.vcl3#branch  2,96597e-07
v.xu1.vo2#branch  -5,39713e-07
v.xu1.vo1#branch   5,39713e-07
v.xu1.vcur2#branch-4,88411e-13
v.xu1.vcur1#branch 1,07945e-06
v.xu1.vnoise4#branch   -4,5188e-05
v.xu1.vnoise2#branch  -7,93255e-06
v.xu1.vcl2#branch  8,69209e-12
v.xu1.vcl1#branch  7,66791e-12
vv1#branch 5,03282e-05
a$poly$e.xu1.ecmref#branch_1_0   0
a$poly$e.xu1.eref#branch_1_0   0,000100602
a$poly$e.xu1.eos#branch_1_0   -1,91959e-10
 Reference value :  0,0e+00
 Reference value :  3,57428e-08
 Reference value :  7,78928e-08
 Reference value :  1,19855e-07
No. of Data Rows : 15020


В Пятница, 22 июл. 2016 в 5:33 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Sorry LD_LIBRARY_PATH not LD_PRELOAD

В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:
After adding option --prefix=/usr (if install path is /usr/local 
need to add it to LD_PRELOAD) I saw in sallen_key.sch (without 
.include diodes):


**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27

Re: [Kicad-developers] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

laser_driver.sch - OK:
**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Warning: Model issue on line 1 : .model laser d(is=1e-22 rs=6 n=1.5 
cjo=50p xti=100 iave= ...

unrecognized parameter (iave) - ignored
unrecognized parameter (vpk) - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--
Node   Voltage
   ---
10
5  -10
xu1.30,0100446
xu1.5 0,796298
4   10
xu1.40,0100287
xu1.6-0,776209
2   0,00805251
xu1.98   0
30,0100287
xu1.20-7,93255e-06
xu1.160,475886
xu1.17 2,15373e-07
xu1.18   0
xu1.7 0,512086
xu1.8 8,17
xu1.9-8,17
xu1.30   0,0090406
xu1.140,512086
xu1.150,512086
xu1.19   0
xu1.210,53
xu1.22   0
xu1.24   0,575
xu1.23 -4,5188e-05
xu1.130,512086
xu1.400,478413
xu1.26   0
xu1.27   0
xu1.90  10
xu1.91 -10
xu1.100,512085
6 0,512085
xu1.110,067085
xu1.120,957085
70,0301347
80,0306366
v.xu1.voc#branch   1,07945e-06
v.xu1.vnoise3#branch4,5188e-05
v.xu1.vnoise1#branch   7,93255e-06
v.xu1.vsl#branch9,7897e-07
v.xu1.v1#branch1,95795e-06
e.xu1.epole#branch   0
vv3#branch  -0,0140803
vv2#branch  -0,0142768
v.xu1.vcl4#branch  2,96573e-07
v.xu1.vcl3#branch  2,96597e-07
v.xu1.vo2#branch  -5,39713e-07
v.xu1.vo1#branch   5,39713e-07
v.xu1.vcur2#branch-4,88411e-13
v.xu1.vcur1#branch 1,07945e-06
v.xu1.vnoise4#branch   -4,5188e-05
v.xu1.vnoise2#branch  -7,93255e-06
v.xu1.vcl2#branch  8,69209e-12
v.xu1.vcl1#branch  7,66791e-12
vv1#branch 5,03282e-05
a$poly$e.xu1.ecmref#branch_1_0   0
a$poly$e.xu1.eref#branch_1_0   0,000100602
a$poly$e.xu1.eos#branch_1_0   -1,91959e-10
Reference value :  0,0e+00
Reference value :  3,57428e-08
Reference value :  7,78928e-08
Reference value :  1,19855e-07
No. of Data Rows : 15020


В Пятница, 22 июл. 2016 в 5:33 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Sorry LD_LIBRARY_PATH not LD_PRELOAD

В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:
After adding option --prefix=/usr (if install path is /usr/local 
need to add it to LD_PRELOAD) I saw in sallen_key.sch (without 
.include diodes):


**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Opening the sallen_key.sch with eeschema show in the log window:

1) Note: can't find init file.

2) Error: .include filename missing
If delete ".include diodes.lib" - OK.

3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd ( 
xu1.3 2 ) a$poly$e.xu1.eos

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly 
coef = [ 1.7e-3 1 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 0 
) a$poly$e.xu1.eref1

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
Warning: Model issue on line 0 : .model a$

Re: [Kicad-developers] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

Sorry LD_LIBRARY_PATH not LD_PRELOAD

В Пятница, 22 июл. 2016 в 5:30 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:
After adding option --prefix=/usr (if install path is /usr/local need 
to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include 
diodes):


**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Opening the sallen_key.sch with eeschema show in the log window:

1) Note: can't find init file.

2) Error: .include filename missing
If delete ".include diodes.lib" - OK.

3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd ( 
xu1.3 2 ) a$poly$e.xu1.eos

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly 
coef = [ 1.7e-3 1 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 0 
) a$poly$e.xu1.eref1

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 
spice2poly coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 0 
) a$poly$e.xu1.eref2

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 
spice2poly coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4 
xu1.42 ) a$poly$e.xu1.eo3

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 spice2poly 
coef = [ 0.7175 0.5 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( 
xu1.44 5 ) a$poly$e.xu1.eo4

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 spice2poly 
coef = [ 0.7355 0.5 ] ...

Unknown model type spice2poly - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

But the simulation and the tune and the probe work.
It will be nice to have the select of visibility of signals 
(checkbox).



В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski 
<tomasz.wlostow...@cern.ch> написал:

Hi,
___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin
After adding option --prefix=/usr (if install path is /usr/local need 
to add it to LD_PRELOAD) I saw in sallen_key.sch (without .include 
diodes):


**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 17:17:51 MSK 2016
**
Circuit: KiCad schematic
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
Reference value :  1,0e+00
No. of Data Rows : 61

В Пятница, 22 июл. 2016 в 12:11 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Opening the sallen_key.sch with eeschema show in the log window:

1) Note: can't find init file.

2) Error: .include filename missing
If delete ".include diodes.lib" - OK.

3) Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.53 xu1.98 ] %vd ( 
xu1.3 2 ) a$poly$e.xu1.eos

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly 
coef = [ 1.7e-3 1 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref1 %vd [ 4 0 5 0 ] %vd ( xu1.98 0 ) 
a$poly$e.xu1.eref1

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref1
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref1 spice2poly 
coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref2 %vd [ 2 0 3 0 ] %vd ( xu1.97 0 ) 
a$poly$e.xu1.eref2

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref2
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref2 spice2poly 
coef = [ 0 0.5 0.5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo3 %vd [ xu1.98 xu1.30 ] %vd ( 4 
xu1.42 ) a$poly$e.xu1.eo3

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo3
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo3 spice2poly 
coef = [ 0.7175 0.5 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eo4 %vd [ xu1.30 xu1.98 ] %vd ( xu1.44 
5 ) a$poly$e.xu1.eo4

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eo4
Warning: Model issue on line 0 : .model a$poly$e.xu1.eo4 spice2poly 
coef = [ 0.7355 0.5 ] ...

Unknown model type spice2poly - ignored
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: has no value, DC 0 assumed
 Reference value :  1,0e+00
No. of Data Rows : 61

But the simulation and the tune and the probe work.
It will be nice to have the select of visibility of signals 
(checkbox).



В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski 
<tomasz.wlostow...@cern.ch> написал:

Hi,
___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

The script get_libngspice_so.sh gets errors:

./get_libngspice_so.sh: 9: ./get_libngspice_so.sh: [[: not found
./get_libngspice_so.sh: 28: ./get_libngspice_so.sh: [[: not found

and doesn't print colored text and wrong behaviour of "install".

Need change first line from #!/bin/sh to #!/bin/bash .

В Пятница, 22 июл. 2016 в 2:14 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

Maybe need add to ./configure command the option --prefix=/usr ?


Пятница, 22 июля 2016, 12:59 +03:00 от Tomasz 
Wlostowski <tomasz.wlostow...@cern.ch>:


On 22.07.2016 11:56, Eldar Khayrullin wrote:
> Note: can't find init file.

This is the problem, ngspice can't find its internal init file. Did 
you

install it in your system or just copied the DLL?

Tom




___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin
 Maybe need add to ./configure command the option --prefix=/usr ?


>Пятница, 22 июля 2016, 12:59 +03:00 от Tomasz Wlostowski 
><tomasz.wlostow...@cern.ch>:
>
>On 22.07.2016 11:56, Eldar Khayrullin wrote:
>> Note: can't find init file.
>
>This is the problem, ngspice can't find its internal init file. Did you
>install it in your system or just copied the DLL?
>
>Tom



___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin
 I did:
sudo apt install ngspice
sudo ./get_libngspice_so.sh

Then I manual did:
sudo cp /tmp/libngspice_so/ngspice-26/src/.libs/libngspice.so.0.0.0 /usr/lib
sudo ln -s libngspice.so.0.0.0 /usr/lib/libngspice.so
sudo ln -s libngspice.so.0.0.0 /usr/lib/libngspice.so.0

>Пятница, 22 июля 2016, 12:59 +03:00 от Tomasz Wlostowski 
><tomasz.wlostow...@cern.ch>:
>
>On 22.07.2016 11:56, Eldar Khayrullin wrote:
>> Note: can't find init file.
>
>This is the problem, ngspice can't find its internal init file. Did you
>install it in your system or just copied the DLL?
>
>Tom



___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

Simulating of rectifier.sch - OK:

Note: can't find init file.
**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 09:44:52 MSK 2016
**
Circuit: KiCad schematic
Error on line 4 : dd1 2 3 1n4148
Unable to find definition of model 1n4148 - default assumed
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: no DC value, transient time 0 value used
Initial Transient Solution
--
Node   Voltage
   ---
10
2  5,76787e-28
3 -5,76787e-26
vv1#branch-5,76787e-31
Reference value :  0,0e+00
No. of Data Rows : 10008

В Пятница, 22 июл. 2016 в 12:56 , Eldar Khayrullin 
<eldar.khayrul...@mail.ru> написал:

laser-driver.sch don't simulated:


В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski 
<tomasz.wlostow...@cern.ch> написал:

Hi,

___
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] Integrated Simulator

2016-07-22 Thread Eldar Khayrullin

laser-driver.sch don't simulated:

Note: can't find init file.
**
** ngspice-26 shared library
** Creation Date: Fri Jul 22 09:44:52 MSK 2016
**
Circuit: KiCad schematic
Warning: Model issue on line 1 : .model laser d(is=1e-22 rs=6 n=1.5 
cjo=50p xti=100 iave= ...

unrecognized parameter (iave) - ignored
unrecognized parameter (vpk) - ignored
Error on line 0 : a$poly$e.xu1.eos %vd [ xu1.20 xu1.98 ] %vd ( xu1.3 2 
) a$poly$e.xu1.eos

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eos
Warning: Model issue on line 0 : .model a$poly$e.xu1.eos spice2poly 
coef = [ 2e-3 1 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$f.xu1.fbn %vnam [ v.xu1.vnoise3 ] %id ( 3 
xu1.98 ) a$poly$f.xu1.fbn

MIF-ERROR - unable to find definition of model a$poly$f.xu1.fbn
Warning: Model issue on line 0 : .model a$poly$f.xu1.fbn spice2poly 
coef = [ 50e-6 1e-3 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$f.xu1.fbp %vnam [ v.xu1.vnoise3 ] %id ( 2 
xu1.98 ) a$poly$f.xu1.fbp

MIF-ERROR - unable to find definition of model a$poly$f.xu1.fbp
Warning: Model issue on line 0 : .model a$poly$f.xu1.fbp spice2poly 
coef = [ 50e-6 1e-3 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$g.xu1.gcm %vd [ xu1.98 0 xu1.30 0 ] %id ( 
xu1.98 xu1.7 ) a$poly$g.xu1.gcm

MIF-ERROR - unable to find definition of model a$poly$g.xu1.gcm
Warning: Model issue on line 0 : .model a$poly$g.xu1.gcm spice2poly 
coef = [ 0 1e-5 1e-5  ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.eref %vd [ 4 0 5 0 ] %vd ( xu1.98 0 ) 
a$poly$e.xu1.eref

MIF-ERROR - unable to find definition of model a$poly$e.xu1.eref
Warning: Model issue on line 0 : .model a$poly$e.xu1.eref spice2poly 
coef = [ 0 0.5 0.5 ] ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$e.xu1.ecmref %vd [ 2 0 3 0 ] %vd ( xu1.30 0 ) 
a$poly$e.xu1.ecmref

MIF-ERROR - unable to find definition of model a$poly$e.xu1.ecmref
Warning: Model issue on line 0 : .model a$poly$e.xu1.ecmref spice2poly 
coef = [ 0 0.5 0.5 ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$f.xu1.fout1 %vnam [ v.xu1.vo1 v.xu1.vcur1 ] 
%id ( 0 4 ) a$poly$f.xu1.fout1

MIF-ERROR - unable to find definition of model a$poly$f.xu1.fout1
Warning: Model issue on line 0 : .model a$poly$f.xu1.fout1 spice2poly 
coef = [ -9.27e-3 1 ...

Unknown model type spice2poly - ignored
Error on line 0 : a$poly$f.xu1.fout2 %vnam [ v.xu1.vo2 v.xu1.vcur2 ] 
%id ( 5 0 ) a$poly$f.xu1.fout2

MIF-ERROR - unable to find definition of model a$poly$f.xu1.fout2
Warning: Model issue on line 0 : .model a$poly$f.xu1.fout2 spice2poly 
coef = [ -9.27e-3 1 ...

Unknown model type spice2poly - ignored
Background thread stopped with timeout = 0
Reducing trtol to 1 for xspice 'A' devices
Doing analysis at TEMP = 27,00 and TNOM = 27,00
Warning: vv1: no DC value, transient time 0 value used
Note: Starting dynamic gmin stepping
Trying gmin =   1,E-03 Note: One successful gmin step
Trying gmin =   1,E-04 Note: One successful gmin step
Trying gmin =   1,E-05 Note: One successful gmin step
Trying gmin =   1,E-06 Note: One successful gmin step
Trying gmin =   1,E-07 Note: One successful gmin step
Trying gmin =   1,E-08 Note: One successful gmin step
Trying gmin =   1,E-09 Note: One successful gmin step
Trying gmin =   1,E-10 Note: One successful gmin step
Trying gmin =   1,E-11 Warning: Further gmin increment
Trying gmin =   5,6234E-11 Note: One successful gmin step
Trying gmin =   2,3714E-11 Note: One successful gmin step
Trying gmin =   6,4938E-12 Warning: Further gmin increment
Trying gmin =   1,7154E-11 Note: One successful gmin step
Trying gmin =   1,0554E-11 Note: One successful gmin step
Trying gmin =   8,2788E-12 Note: One successful gmin step
Trying gmin =   7,3322E-12 Warning: Further gmin increment
Trying gmin =   8,0313E-12 Warning: Further gmin increment
Trying gmin =   8,2162E-12 Note: One successful gmin step
Trying gmin =   8,1541E-12 Warning: Further gmin increment
Trying gmin =   8,2007E-12 Warning: Further gmin increment
Trying gmin =   8,2123E-12 Warning: Further gmin increment
Trying gmin =   8,2153E-12 Warning: Further gmin increment
Trying gmin =   8,2160E-12 Warning: Last gmin step failed
Warning: Dynamic gmin stepping failed
Note: Starting source stepping
Supplies reduced to   0,% Note: One successful source step
Supplies reduced to   0,1000% Note: One successful source step
Supplies reduced to   0,2000% Supplies reduced to   0,1000% Note: One 
successful source step

Supplies reduced to   0,1050% Note: One successful source step
Supplies reduced to   0,1125% Note: One successful source step
Supplies reduced to   0,1237% Note: One successful source step
Supplies reduced to   0,1406% Note: One successful source step
Supplies reduced to   0,1659% Note: One successful source step
Supplies reduced to   0,2039% Note: One successful source step
Supplies reduced to   

Re: [Kicad-developers] Integrated Simulator

2016-07-21 Thread Eldar Khayrullin

This is great feature. Thanks for work.

В Четверг, 21 июл. 2016 в 10:37 , Tomasz Wlostowski 
 написал:

Hi,

As some of you have noticed, we've been working on a "secret" feature
during the hackathon at CERN. The feature we're talking about is an
integrated circuit simulator. Currently it features:
- Seamless integration into schematic editor,
- AC/Transient/DC sweep simulations,
- Voltage probing from the schematics,
- Live tuning of component values.

A video demonstrating the capabilities of the new simulator is 
available

on Tom's YouTube channel [1].

The code is currently available in the ngspice branch on Tom's GitHub
[2] for review & testing. It's a big feature, so we didn't want to 
push

it immediately to the product branch. We'll greatly appreciate your
feedback!

The simulator uses ngspice [3] as the Spice kernel. We'd like to thank
ngspice developers for providing a DLL interface which made seamless
integration of ngspice into Kicad possible.

In order to get started:
- install ngspice shared library (is not provided by many Linux 
distros,

Arch Linux is a known exception, so you might have to compile it from
the sources with --with-ngshared --enable-xspice options).  Windows
DLLs, msys2 PKGBUILD & binary packages (to be included soon in
the official msys2 repo, currently merged to
https://github.com/Alexpux/MINGW-packages/) & Linux script to build 
the

library are available at [4].
- compile eeschema with -DKICAD_SPICE=ON option,
- have a look at some examples in demos/simulation directory.

Happy simulating,
Tom

[1] https://youtu.be/A2_-hdRcf4U
[2] https://github.com/twlostow/kicad-dev/tree/ngspice
[3] http://ngspice.sourceforge.net/
[4] https://orson.net.pl/pub/libngspice

___
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] KiCad snappy package [BETA]

2016-07-17 Thread Eldar Khayrullin
Hello guys. I created snappy packages and added them to the beta 
channel.


Src:
https://github.com/eldarkg/kicad-snappy #KiCad
https://github.com/eldarkg/kicadbom2spec-snappy #KiCadBOM2Spec (GOST)

Install:
sudo snap install --beta kicad-snappy   #KiCad
sudo snap install --beta kicadbom2spec-snappy   #KiCadBOM2Spec 
(GOST)

P.S. the packages aren't polished yet but they work.
___
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] KiCad New Main Icon proposal

2016-07-09 Thread Eldar Khayrullin
I attach the my trying in Inkscape (P.s. I don't worked in Inkscape 
before).


В Суббота, 9 июл. 2016 в 1:09 , Simon Wells 
<swel...@gmail.com> написал:

just in regards to the footprint icon, one potential issue i see with
it is its very similar to the 3d module icon as seen in cvpcb, which
could confuse some new users. could you not have a footprint (either
in real world-ish colours or in pcbnew colours) a dip-6 and/or a
soic-6 could be used and have the pads/silk/mask etc... and maybe a
refdes?

Not sure if i am making sense, but i am also not a designer :)

On Fri, Jul 8, 2016 at 7:26 PM, Trygve Laugstøl <tryg...@inamo.no> 
wrote:

 On 07. juli 2016 17:44, Eldar Khayrullin wrote:


 Sorry, I forgot to attach.



 I really like this style of icons. Much less clutter and a single 
symbol

 instead of a full picture.

 --
 Trygve



 В Четверг, 7 июл. 2016 в 6:23 , Simon Wells 
<swel...@gmail.com> написал:


 i agree, the footprint and symbol icons are nice, however i also 
think
 the page and the pen in the schematic/pcbnew icons are 
unnecessary,
 Simon On Fri, Jul 8, 2016 at 2:58 AM, Marco Ciampa 
<ciam...@libero.it

 <mailto:ciam...@libero.it>> wrote:

 On Thu, Jul 07, 2016 at 04:06:37PM +0200, Fabrizio Tappero 
wrote:


 Hello, Following and integrating the feedback from all you
 guys, here we have some new main kicad icons. Looks is 
still

 not completely polished. To make Wayne happy I have even
 included a pretty pen in some main icons ! ;-)

 my 0.0002 cents In my humble opinion, either the pen is 
drawn

 as in the act of writing (as it was for old KiCad icons and is
 Openstreetmap JOSM for an example: 
https://josm.openstreetmap.de/)
 or it is just distracting... The new component and footprint 
icons
 are great though... -- 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
 <mailto: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
 <mailto: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



<<< image/svg+xml: Unrecognized >>>
___
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] KiCad New Main Icon proposal

2016-07-07 Thread Eldar Khayrullin

Sorry, I forgot to attach.

В Четверг, 7 июл. 2016 в 6:23 , Simon Wells 
 написал:

i agree, the footprint and symbol icons are nice, however i also think
the page and the pen in the schematic/pcbnew icons are unnecessary,

Simon

On Fri, Jul 8, 2016 at 2:58 AM, Marco Ciampa  
wrote:

 On Thu, Jul 07, 2016 at 04:06:37PM +0200, Fabrizio Tappero wrote:

 Hello,

 Following and integrating the feedback from all you guys, here we 
have some

 new main kicad icons. Looks is still not completely polished.

 To make Wayne happy I have even included a pretty pen in some main 
icons !

  ;-)


 my 0.0002 cents

 In my humble opinion, either the pen is drawn as in the act of 
writing
 (as it was for old KiCad icons and is Openstreetmap JOSM for an 
example:

 https://josm.openstreetmap.de/) or it is just distracting...

 The new component and footprint icons are great though...

 --


 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


___
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] KiCad New Main Icon proposal

2016-07-07 Thread Eldar Khayrullin

I am agree with you.
Icons should be simple and easy to distinguishable - the same elements 
break this (I was writting this early in the same theme).

Icons should be in intuitive style (see attachment).

В Четверг, 7 июл. 2016 в 6:23 , Simon Wells 
 написал:

i agree, the footprint and symbol icons are nice, however i also think
the page and the pen in the schematic/pcbnew icons are unnecessary,

Simon

On Fri, Jul 8, 2016 at 2:58 AM, Marco Ciampa  
wrote:

 On Thu, Jul 07, 2016 at 04:06:37PM +0200, Fabrizio Tappero wrote:

 Hello,

 Following and integrating the feedback from all you guys, here we 
have some

 new main kicad icons. Looks is still not completely polished.

 To make Wayne happy I have even included a pretty pen in some main 
icons !

  ;-)


 my 0.0002 cents

 In my humble opinion, either the pen is drawn as in the act of 
writing
 (as it was for old KiCad icons and is Openstreetmap JOSM for an 
example:

 https://josm.openstreetmap.de/) or it is just distracting...

 The new component and footprint icons are great though...

 --


 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


___
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: position file changes

2016-06-15 Thread Eldar Khayrullin

It will be good if it will be selectable as option

В Среда, 15 июн. 2016 в 12:40 , Cirilo Bernardo 
<cirilo.berna...@gmail.com> написал:

Hi Eldar,

 The problem I have is that different standards have different 
orientations. Even IPC now have "Orientation Level A", which is what 
is described in 7351B, and another one where Pin 1 is in what the EIA 
packaging standards call "Quadrant 3" (bottom left). The EIA 
specification in turn specifies a different orientation for Pin1 
depending on the SMT package. To make things worse, some 
manufacturers provide the same part in different orientations on 
tape. So while I can specify that the given orientations are 
according to IPC-7351B, to help users determine the orientation 
without ambiguity, it is good to have the Pin1 location in the 
position file as well.


- Cirilo


On Wed, Jun 15, 2016 at 2:21 AM, Eldar Khayrullin 
<eldar.khayrul...@mail.ru> wrote:

Look at IPC 7351 - 16 ZERO COMPONENT ORIENTATIONS and Figure 16-1.

В Вторник, 14 июн. 2016 в 6:53 , Cirilo Bernardo 
<cirilo.berna...@gmail.com> написал:



Hi folks,

 Some assembly houses prefer to have a Pad1 location in addition
to the part centroid location; this makes the orientation of the
component unambiguous and can help in cases where the user's
footprint doesn't align with the tape orientation of a component.
Would this be a useful addition to the placement file or are there
any objections to it?

- Cirilo



___
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: position file changes

2016-06-14 Thread Eldar Khayrullin

Look at IPC 7351 - 16 ZERO COMPONENT ORIENTATIONS and Figure 16-1.

В Вторник, 14 июн. 2016 в 6:53 , Cirilo Bernardo 
 написал:

Hi folks,

 Some assembly houses prefer to have a Pad1 location in addition
to the part centroid location; this makes the orientation of the
component unambiguous and can help in cases where the user's
footprint doesn't align with the tape orientation of a component.
Would this be a useful addition to the placement file or are there
any objections to it?

- Cirilo

___
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] [PATCH] fix a position of text, label text, pin num, pin name in accordance line width

2016-04-16 Thread Eldar Khayrullin
Ok. Thanks![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/local-
e0eaa4c5-e886)

On апр 16 2016, at 10:51 утра, jp charras jp.char...@wanadoo.fr wrote:  

> Le 15/04/2016 22:07, Eldar Khayrullin a écrit :  
 Hello.  
  
 Problem: if the line width in settings more than 10 mils then text
touches  
 lines (no margins). Underscores in text become bad visible.  
  
 Second bug: plotting graphic text without margins.  


>

> Thanks, Eldar.

>

> I committed your patch, with a bit of cleaning code.

>

>  
\--  
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] Merging 3d_initial_merge branch.

2016-04-05 Thread Eldar Khayrullin
Hello. Look at gcc option "-fsanitize=" too.  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/58d3f403faeb4e22ac36
f827cb89bd7d)

> On апр 5 2016, at 2:45 дня, jp charras jp.char...@wanadoo.fr wrote:  

>

> Le 05/04/2016 13:23, Mário Luzeiro a écrit :  
 Hi all,  
  
 Thanks for the ccpcheck suggestion JP, that was something I was looking
for some time...  
 (I found already a bug with that!)  
  
 "There are still quite a few "variable not used" warnings but those  
 are in code contributed by Mario so I have left them alone for now."  
  
 I am running this also in my branch and found that issues.  
 I am not sure why but they are false positives, I guess it is the way the
structures are constructed, example:  
  
 GLM_ALIGNED_STRUCT(CLASS_ALIGNMENT) RAY  
  
 is uses a define GLM_ALIGNED_STRUCT from GLM library.  
 probably cppcheck is not able to resolve this define in a proper way.  
  
 Any suggestions?  
  
 Mario

>

>  
Cppcheck, like all static analyzers, is useful to find some errors and
mistakes.

>

> However, it is not usually possible (and perhaps not good) to fix all
"errors" find by a static  
analyzer.  
There are always false positive or issues detected by the detected which
cannot really happen due to  
the logic of the code.

>

> Just, be sure remaining errors or warnings are acceptable (false positive),  
and actual errors and warnings are fixed.

>

>   
   
 From: Kicad-developers [kicad-developers-
bounces+mrluzeiro=ua...@lists.launchpad.net] on behalf of Cirilo Bernardo
[cirilo.berna...@gmail.com]  
 Sent: 05 April 2016 11:45  
 To: jp charras  
 Cc: KiCad Developers  
 Subject: Re: [Kicad-developers] Merging 3d_initial_merge branch.  
  
 Hi Jean-Pierre, Wayne,  
  
 I've run cppcheck and fixed a number of issues:  
 1\. ensured "delete [] X" where "delete X" was accidentally used  
 2\. ensured variable initialization  
 3\. fixed a number of errors and warnings reported by cppcheck  
 (most of those warnings were in fact errors)  
  
 There are still quite a few "variable not used" warnings but those  
 are in code contributed by Mario so I have left them alone for now.  
  
 cppcheck reports a number of "(error, inconclusive)" but I have  
 checked to make sure that those are in fact not errors and that  
 the program has actually performed appropriate checks.  
  
 All changes have been committed to r6558. I hope all goes  
 smoothly and we can start to get more feedback on this new  
 3D plugin system.  
  
 \- Cirilo  
  
  
 On Tue, Apr 5, 2016 at 6:02 PM, jp charras
jp.char...@wanadoo.frmailto:jp.char...@wanadoo.fr; wrote:  
 Hi, Cirilo.  
  
 We (Wayne and me) are willing to merge your 3d_initial_merge branch.  
  
 It looks good for now, and adds very good features.  
  
 Could you run cppcheck on you code (the 3d-viewer and others new
folders)?  
 (see   
 cppcheck is fast, very easy to install and use (just run cppcheck on a
given folder).  
  
 It is no as powerful as Coverity, but it is very helpful especially for a
first basic analysis  
 before Coverity is run.  
  
 Especially, not initialized members and 3 errors (I am thinking related
to "delete" versus  
 "delete[]") must be fixed (but some others could be fixed).  
 not initialized members create a lot of warning with Coverity, and are
potential issues, so I am  
 thinking initializing them is good, even when it is not really needed.  
  
 Also there are some not used variables detected by the compiler.  
  
 Thanks for your work.  
  
 \--  
 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

___
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] FOSDEM2016

2016-03-20 Thread Eldar Khayrullin
And

http://video.fosdem.org/2016/aw1121/designing-with-kicad-of-oshw-64-bit-arm-
board.mp4  

and more video of EDA in

http://video.fosdem.org/2016/aw1121/  

  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/62b2c54a876a46f5
40cd413ef1ca)

> On март 17 2016, at 8:09 вечера, Eldar Khayrullin
eldar.khayrul...@mail.ru wrote:  

>

> Hello guys. Video is ready :)

>

> http://video.fosdem.org/2016/aw1121/kicad-project-status.mp4  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/4ffc1e29798349da908b
cd0743504849)

___
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] FOSDEM2016

2016-03-19 Thread Eldar Khayrullin
Hello guys. Video is ready :)

http://video.fosdem.org/2016/aw1121/kicad-project-status.mp4  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/4ffc1e29798349da908b
cd0743504849)

___
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] [PATCH] Enable C++11

2016-03-19 Thread Eldar Khayrullin
Hi.

To jp, look at cmake properties CXX_STANDARD, CXX_STANDARD_REQUIRED,
CXX_EXTENSIONS.

[https://cmake.org/cmake/help/v3.4/manual/cmake-properties.7.html](https://lin
k.nylas.com/link/ac7n0u7eu8cj6vjow9ajimqdr/4174df36c5bf4561b73f89e228f5d608/0?
redirect=https%3A%2F%2Fcmake.org%2Fcmake%2Fhelp%2Fv3.4%2Fmanual%2Fcmake-
properties.7.html)

But I don't know is that exist in old cmake version.

  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/549b31b49a594b0f97f3
4c0d6c1308c1)

> On март 17 2016, at 2:46 дня, jp charras jp.char...@wanadoo.fr
wrote:  

>

> Le 17/03/2016 10:23, Nick Østergaard a écrit :  
 2016-03-17 10:15 GMT+01:00 jp charras jp.char...@wanadoo.fr:  
 Le 10/03/2016 08:30, Simon Richter a écrit :  
  
 This enables C++11 support, if either CMake is sufficiently new
to have  
 this feature built in, or the compiler is supported by the
workaround code  
 (gcc or clang).  
 \---  
 CMakeLists.txt | 23 +++  
 1 file changed, 23 insertions(+)  
  
 After a few tests:  
  
 I can compile Kicad on W7 32 bits + msys2 and Kubuntu 14.04 LTS with
option  
 -std=gnu++11  
 and on W7 32 bits (on Kubuntu the compiler version is too old)  
 -std=gnu++14  
  
 Is that kubuntu machine updated?

>

> Of course, yes.  
But it uses the gcc 4.9 version, which does not support gnu++14.

>

>  Did it build with -std=c++11 on  
 kubuntu 14.04 LTS?  
  
  
 but on W7 32 bits the option  
 -std=c++11  
 does not work (compil errors)  
  
 I think I tested Simon's original patch on msys2 on 64 and it seemed  
 to work. What errors do you see?  
  
  
 Therefore, with gcc:  
 -std=gnu++11 is OK  
 -std=c++11 is not acceptable  
  
 (This is not the first time i have issues with option -std=c++11 or  
 -std=c++14 and no issue with -std=gnu++11 or -std=gnu++14)  
  
  
 \--  
 Jean-Pierre CHARRAS

>

> After more tests:

>

> \- During my first test, I did not applied the patch. I just forced the  
option -std=c++11 when calling cmake.

>

> I had some issues (like M_PI dot defined, although math.h was included,  
and more other issues)

>

> \- After your response, I applied the patch. and I was able to build Kicad.

>

> \- Because this is a bit strange, I had a look at this issue:  
Although there is in this patch the line:  
"set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")"  
when make is run the actual option (try make VERBOSE=1) is "-std=gnu++11"

>

> So no more mystery, as I wrote:  
-std=gnu++11 works, -std=c++11 does not work.
>

> I am saying "no more mystery", but this is not fully true:  
the option  
"set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")" becomes actually:  
"set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")"

>

> And this change is a mystery, at least for me (but I have a poor  
knowledge of cmake).

>

> \--  
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] [PATCH] Update copyrights in the About dialog

2016-03-05 Thread Eldar Khayrullin
I was already reply that this is my mistake. Sorry again  
  
![](https://link.nylas.com/open/ac7n0u7eu8cj6vjow9ajimqdr/b663a194d96f4ff89b48
cecf3a0416d6)

> On Mar 5 2016, at 4:27 pm, Wayne Stambaugh stambau...@gmail.com
wrote:  

>

> Eldar,

>

> It's only necessary to update the copyright date when we actually modify  
the source file. Hopefully devs are doing that but occasionally it  
doesn't get updated. I don't think that's important enough to create a  
patch just to update the copyright date.

>

> Wayne

>

> On 3/5/2016 12:37 AM, Eldar Khayrullin wrote:  
 Hi.  
  
  
 ___  
 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


  1   2   >