Re: [Kicad-developers] knowing last commit included in a nightly build?

2019-09-05 Thread Andrew Lutsenko
Hello, What do you mean? The hex string in the file name is the prefix of the commit hash, common way to identify commits in git. E.g. latest nightly kicad-r14168.6688e8013-x86_64.exe is built from commit 6688e80

Re: [Kicad-developers] GitLab migration

2019-10-09 Thread Andrew Lutsenko
Hi all, Gitlab migration with it's proper support for CI/CD and merge requests can not come fast enough, I'm very excited that the move is planned. I've been using home-hosted gitlab instance for a while now and it's useful even for a single developer operation, it will be a lot more beneficial fo

Re: [Kicad-developers] GitLab migration

2019-10-12 Thread Andrew Lutsenko
workflow > before we transition to the GitLab tracker. That way we can define how we > want to do this from the outset. This will probably require some trial and > error and discussions to fully work it out. > >>> > >>> -Ian > >>> > >>> On Thu,

[Kicad-developers] Benchmarking kicad compilation on CPUs released 6 years apart

2019-10-28 Thread Andrew Lutsenko
Hi all, This information may be useful to people that are considering an upgrade for their workstations or for general information, feel free to skip this email if you are not interested. I've been using my 6 year old Haswell i7 machine that served me well over the years but kicad compilation tim

Re: [Kicad-developers] Benchmarking kicad compilation on CPUsreleased 6 years apart

2019-10-31 Thread Andrew Lutsenko
My analysis of threadrippers vs top of the line Ryzens, condensed in 2 points: 1. For significantly more money you get few more cores, a lot more PCIe lanes and 20-30% less frequency (single thread performance). 2. Unless you know that your workload is easily parallelizable to 50+ threads, requires

Re: [Kicad-developers] GitLab migration

2019-11-09 Thread Andrew Lutsenko
I second Seth's opinion, this is fantastic. One suggestion: create a service account for the bot and name it something self-evident like "Migration Bot" to avoid possible confusion about authorship. Regards, Andrew On Sat, Nov 9, 2019 at 2:40 PM Seth Hillbrand wrote: > On 2019-11-09 14:08, Maci

Re: [Kicad-developers] GitLab migration

2019-11-11 Thread Andrew Lutsenko
Is it possible to migrate closed bugs as well? I think gitlab search indexing is much more useful, having history conserved there will likely be handy. On Mon, Nov 11, 2019 at 2:31 AM Maciej Suminski wrote: > Excellent, thanks for the verification! I have also checked a few other > reports that

[Kicad-developers] Tab handling in text rendering and bbox calculation

2019-11-11 Thread Andrew Lutsenko
Hi Seth, Jeff, I see you have touched this code recently. I've noticed that tabs are handled differently for bbox calculation resulting in slightly oversized bbox. When rendering tabs we count them as whatever width is needed to align to multiple of 4 and +1 additional space but when calculating

Re: [Kicad-developers] GitLab migration

2019-11-12 Thread Andrew Lutsenko
Hi Andrew, > > I deliberately skipped the closed bugs, as I thought they do not carry > much value, and they would still be available in the Launchpad tracker. > If majority prefers to migrate the closed bugs, then there is nothing in > the way. > > Cheers, > Orson >

[Kicad-developers] Plugin/3rd party content manager

2019-11-25 Thread Andrew Lutsenko
Hi all, Is anyone currently working on some sort of plugin manager or 3rd party library manager? https://bugs.launchpad.net/kicad/+bug/1823733 I have some ideas that I want to write down in a form of high level design document and share with the group for discussion. If there is already some work

Re: [Kicad-developers] Plugin/3rd party content manager

2019-11-25 Thread Andrew Lutsenko
ional implementation. I have a lot of ideas but some of them will have to be implemented later because it's not a trivial task. Ok, I'll start working on it and will hopefully share the doc by end of this week. Andrew On Mon, Nov 25, 2019 at 4:16 PM Seth Hillbrand wrote: > On 11/25/

Re: [Kicad-developers] Plugin/3rd party content manager

2019-11-26 Thread Andrew Lutsenko
iner and run as non-root inside the > container. Assuming also it's not some resource hog of a system that eats > the entire OpenShift cluster. > > On Mon, Nov 25, 2019 at 8:47 PM Andrew Lutsenko > wrote: > >> Hi Seth, >> >> Yes, I planned to write up my

Re: [Kicad-developers] Plugin/3rd party content manager

2019-11-26 Thread Andrew Lutsenko
HI Eeli, I've seen that thread earlier and reread it again. Some of your ideas have merit but I think built-in content manager should: 1. Be at least somewhat coupled to KiCad needs and not be super generic. We are not building apt-get repository here that has to handle arbitrarily complex packag

Re: [Kicad-developers] Plugin/3rd party content manager

2019-11-26 Thread Andrew Lutsenko
ossible to be runnable on public infra. And I believe almost everything can be done there. But let's discuss this after I share my design. Thanks, Andrew On Tue, Nov 26, 2019 at 6:19 AM Seth Hillbrand wrote: > On 2019-11-25 17:46, Andrew Lutsenko wrote: > > > Hi Seth, > >

[Kicad-developers] Issue with polygon shape start/end points

2020-01-13 Thread Andrew Lutsenko
Hello devs, There was a bug report for my bom plugin about incorrect behavior related to polygons that were moved/duplicated. Upon inspection it turns out that KiCad API returns inconsistent values when move oc

Re: [Kicad-developers] Issue with polygon shape start/end points

2020-01-18 Thread Andrew Lutsenko
Merge request for this patch: https://gitlab.com/kicad/code/kicad/merge_requests/69 On Mon, Jan 13, 2020 at 5:16 PM Andrew Lutsenko wrote: > Hello devs, > > There was a bug report > <https://forum.kicad.info/t/interactive-html-bom-plugin-for-kicad-5-0/11713/221?u=qu1ck>for >

Re: [Kicad-developers] New settings framework merged

2020-02-20 Thread Andrew Lutsenko
Hi Jon, Great work, I like this framework much better. I noticed that there was a change in behavior of how action plugin settings are stored. Previously it was an ordered map of (plugin path) -> (visible/hidden) Now it's an ordered array of only visible plugin paths. This has 2 effects: 1. Conf

Re: [Kicad-developers] Separate download server directory for each Windows nightly build installer version?

2020-04-24 Thread Andrew Lutsenko
If you do something daily then why not automate it? A simple shell or python script will do the job and use much less ram than a browser tab :) On Fri, Apr 24, 2020 at 1:10 PM Eeli Kaikkonen wrote: > I keep the Windows nightly build download server page ( > https://kicad-downloads.s3.cern.ch/ind

Re: [Kicad-developers] Submitting new wizards and plugins

2020-05-02 Thread Andrew Lutsenko
Hi, This is planned for v6 and I'm (slowly) working on it. https://gitlab.com/kicad/code/kicad/-/issues/2242 On Sat, May 2, 2020 at 9:54 AM Ruth Ivimey-Cook wrote: > My experience with other programs is that having a "plugin repository" > that can be browsed from the program and plugins instal

Re: [Kicad-developers] 5.1.6 Release Update

2020-05-15 Thread Andrew Lutsenko
Windows 5.1.6 builds seem to be uploaded as well but no lite release? https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/stable/ On Fri, May 15, 2020 at 2:59 AM Jean-Samuel Reynaud wrote: > KiCad 5.1.6 is now available on Ubuntu PPA since 2 days. > > And some statistics on May 2020: >

Re: [Kicad-developers] 5.1.6 Release Update

2020-05-15 Thread Andrew Lutsenko
s to the library in the releases, > does it make sense to package the light releases for the versioned > (non-testing/nightly) releases. I would think that in this case users would > want the updated libraries. > > -Ian > > On Fri, May 15, 2020 at 12:33 PM Andrew Lutsenko >

Re: [Kicad-developers] 5.1.6 Release Update

2020-05-15 Thread Andrew Lutsenko
but I have not > verified it yet. > > On Fri, 15 May 2020 at 13:47, Andrew Lutsenko > wrote: > > > > They can get libraries using lite release as well, it's just install > time download. > > But probably many like me never install libraries anyway (I h

Re: [Kicad-developers] Auto-generated backup files: are they useful?

2020-06-30 Thread Andrew Lutsenko
I don't think removing the current backup system before implementing a new one is the right thing to do. As limited and simple as it is, the current system provides valuable safeguard against data loss on crashes that may corrupt the main save file. And no, VCS is not a replacement, most people hit

Re: [Kicad-developers] Auto-generated backup files: are they useful?

2020-06-30 Thread Andrew Lutsenko
io 2: > > 1) Save, which succeeds > 2) Do some work, hit save > 3) KiCad crashes while saving file > > Result: The same as Scenario 1, since my recent change to save behavior. > > -Jon > > On Tue, Jun 30, 2020 at 11:09 AM Andrew Lutsenko > wrote: > > > &

Re: [Kicad-developers] Scripting hooks

2020-06-30 Thread Andrew Lutsenko
Plugin manager is in the works: https://gitlab.com/kicad/code/kicad/-/issues/2242 There will be some progress over the long weekend. On Tue, Jun 30, 2020 at 3:06 PM Nick Østergaard wrote: > I like the sound of this idea, it could definitely help the workflow > for a lot of people. > > What may b

Re: [Kicad-developers] Error creating merge request for 1st diff

2020-07-13 Thread Andrew Lutsenko
Hi, You are probably trying to push to kicad repo instead of your fork. Instead of doing "git push" you should do "git push " unless your fork remote is "origin". Once you have pushed to your fork git client will give you a direct link to create a merge request from that branch. Best, Andrew On

[Kicad-developers] Torrent downloads

2020-09-30 Thread Andrew Lutsenko
Hi all, I recall we had this discussion before about providing torrent files for release downloads to reduce the slowdown related to rush traffic. it didn't go far mainly because of resources needed to maintain separate torrent seeding infrastructure. I recently discovered that p2p torrent protoc

Re: [Kicad-developers] Torrent downloads

2020-10-01 Thread Andrew Lutsenko
t; tor. 1. okt. 2020 02.42 skrev Andrew Lutsenko : > >> Hi all, >> >> I recall we had this discussion before about providing torrent files for >> release downloads to reduce the slowdown related to rush traffic. it didn't >> go far mainly because of resources

Re: [Kicad-developers] Torrent downloads

2020-10-01 Thread Andrew Lutsenko
Oh, I did verify that, sorry I wasn't clear. It definitely works. On Thu, Oct 1, 2020, 02:00 Nick Østergaard wrote: > I was implicitly hoping you could explicitly verify for me that using the > OSDN url would support range requests. :) > > tor. 1. okt. 2020 09.09 skre

[Kicad-developers] Some V6 features

2020-10-17 Thread Andrew Lutsenko
aybe I'm not subscribed to the right sources. Regards, Andrew Lutsenko ___ 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] Some V6 features

2020-10-20 Thread Andrew Lutsenko
; release. If you send me a link to the branch where you are working on it, > we can look together to see what can get merged into the manager. > > -Seth > > On Sat, Oct 17, 2020 at 9:47 AM Andrew Lutsenko > wrote: > >> Hi all, >> >> There were a couple features

Re: [Kicad-developers] Torrent downloads

2020-11-05 Thread Andrew Lutsenko
Hi Nick, Is there anything else I can help with here? I see 5.1.8 update is released already. On Thu, Oct 1, 2020 at 3:48 AM Andrew Lutsenko wrote: > Oh, I did verify that, sorry I wasn't clear. It definitely works. > > On Thu, Oct 1, 2020, 02:00 Nick Østergaard wrote: > &g

Re: [Kicad-developers] Torrent downloads

2020-11-06 Thread Andrew Lutsenko
Yes, > You can have multiple webseed urls in the torrent as well, just pass --urlList flag multiple times. On Fri, Nov 6, 2020 at 2:14 AM Nick Østergaard wrote: > Hi > > Can it have multiple webseed locations? > > fre. 6. nov. 2020 02.40 skrev Andrew Lutsenko : > >&

Re: [Kicad-developers] Questions to the QA code

2021-01-16 Thread Andrew Lutsenko
I would also suggest to look towards gtest/gmock. It's widely adopted, works with cmake out of the box, has integrations with popular IDEs and a good choice of supporting tools like parallelized runners, GUI inspectors etc. You can also use gmock separately from gtest. Andrew On Sat, Jan 16, 2021

Re: [Kicad-developers] Fatal Python error: failed to get the Python codec of the filesystem encoding

2021-06-23 Thread Andrew Lutsenko
What I usually do if I have to setup new MSVC build of kicad is I just install the latest nightly first and then let VS(code) do "cmake install" into the same directory. That way all python dependencies and dlls are already there from nightly build and it just works. Note, I use RelWithDebugInfo b

Re: [Kicad-developers] Any pointers to speed up the build

2021-07-11 Thread Andrew Lutsenko
Few things that can help 1. Disable qa tests build if you don't need them 2. Disable python scripting if you don't need it 3. Use MSVC if you are on windows. Their linker is a LOT faster than gcc. 4. Use more powerful hardware. Those steps take <10s on my pc but it's a 12 core 3900x. Best, Andrew

Re: [Kicad-developers] Can't compile latest kicad

2021-07-16 Thread Andrew Lutsenko
Hello, You probably have a bit older version of boost which doesn't have has_value() method for optionals. Easy fix is to just remove the method call, optional has explicit boolean operator with equivalent semantics. But yeah this should be fixed upstream. On Fri, Jul 16, 2021 at 1:40 AM Alex Vi

Re: [Kicad-developers] Tools for editing/creating UI elements in KiCad?

2021-09-02 Thread Andrew Lutsenko
Your hand assembly assistant sounds exactly like what my plugin does, here is an example: https://openscopeproject.org/InteractiveHtmlBomDemo/html/OSPx201.html Plugin is here: On Thu, Sep 2, 2021 at 7:36 AM Brian wrote: > Hi Folks, > > Reviving some conversation that's happened over the years...

Re: [Kicad-developers] Tools for editing/creating UI elements in KiCad?

2021-09-02 Thread Andrew Lutsenko
Sorry, somehow sent the email prematurely without the link to plugin https://github.com/openscopeproject/InteractiveHtmlBom On Thu, Sep 2, 2021 at 5:18 PM Andrew Lutsenko wrote: > Your hand assembly assistant sounds exactly like what my plugin does, here > is an example: &

Re: [Kicad-developers] Modifier Key Modification

2021-09-05 Thread Andrew Lutsenko
Track pads either have buttons or have a clicking surface. Press click and hold is the equivalent to mouse button long click. On Sun, Sep 5, 2021 at 2:05 PM Jeff Young wrote: > Umm… how do you do a long-click on a track-pad set up for tapping? > > On 5 Sep 2021, at 21:53, Seth Hillbrand wrote:

Re: [Kicad-developers] [OT-ish] Rotate while moving?

2021-11-15 Thread Andrew Lutsenko
There has been more than 12k commits to master since your build. git pull is your friend. On Mon, Nov 15, 2021 at 12:43 PM Brian wrote: > No dice in pcbnew. I probably forgot to mention that, too. The problem > is in pcbnew. I take it this is supposed to work? I notice that it does > work as

[Kicad-developers] SHAPE_LINE_CHAIN in swig?

2018-07-21 Thread Andrew Lutsenko
Hello Kicad team, I'm writing a pcbnew action plugin that needs to read footprint pad coordinates and shape. I had no trouble figuring out all shapes except for custom one. It is represented by SHAPE_POLY_SET which has a corresponding python type but to get actual vertex coordinates you have to ei

Re: [Kicad-developers] SHAPE_LINE_CHAIN in swig?

2018-07-22 Thread Andrew Lutsenko
fined reference to `VECTOR2::ECOORD_MAX' Can someone who understands swig help me figure this out? On Sat, Jul 21, 2018 at 12:36 PM Andrew Lutsenko wrote: > Hello Kicad team, > > I'm writing a pcbnew action plugin that needs to read footprint pad > coordinates and shape. >

[Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-22 Thread Andrew Lutsenko
I figured it out, please see attached patch for the fix. On Sun, Jul 22, 2018 at 3:46 AM Andrew Lutsenko wrote: > I tried adding this in kicad.i > > #include > %include > > It compiles and SHAPE_LINE_CHAIN type shows up in pcbnew.py > > But I need VECTOR2I a

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-24 Thread Andrew Lutsenko
. Regards, Andrew On Sun, Jul 22, 2018 at 6:05 PM Andrew Lutsenko wrote: > I figured it out, please see attached patch for the fix. > > On Sun, Jul 22, 2018 at 3:46 AM Andrew Lutsenko > wrote: > >> I tried adding this in kicad.i >> >> #include >> %inc

Re: [Kicad-developers] Windows Builds

2018-07-25 Thread Andrew Lutsenko
Were the windows builds ever fixed? I downloaded 5.0 today and get a wxWidgets assert simply from clicking on tools menu in Pcbnew. [image: kicadassert.png] ​ On Mon, Jul 23, 2018 at 6:34 AM Wayne Stambaugh wrote: > I'm fine with creating a packaging document. We could add it to the > developer

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-30 Thread Andrew Lutsenko
ng language. But since > that goal is still in the future, this patch may be useful in the interim. > > Thank you for your contribution to KiCad. > -S > > Am Di., 24. Juli 2018 um 20:30 Uhr schrieb Andrew Lutsenko < > anlutse...@gmail.com>: > >> Hello, >> >

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-30 Thread Andrew Lutsenko
ut in the work to fix the issue but would like some pointers on how to replicate it, unless it's something I can easily figure out from error listing. Thanks, Andrew On Mon, Jul 30, 2018 at 9:58 AM Andrew Lutsenko wrote: > Thank you Seth, > > Any chance this can be pushed to 5.0 bra

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-31 Thread Andrew Lutsenko
s debian 8 is very old and should be done away with anyway because of security, old compilers, etc. Thanks, Andrew On Mon, Jul 30, 2018 at 10:38 PM Nick Østergaard wrote: > Hi Andrew > > Seth already shared the build log. > > tir. 31. jul. 2018 05.29 skrev Andrew Lutsenko : &g

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-31 Thread Andrew Lutsenko
7:31 Uhr schrieb Wayne Stambaugh > > mailto:stambau...@gmail.com>>: > > > > On 7/31/2018 8:33 AM, Carsten Schoenert wrote: > > > Am 31.07.18 um 17:50 schrieb Andrew Lutsenko: > > > ... > > >> Can swig on the qa machine be updated? Or better yet

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-07-31 Thread Andrew Lutsenko
to set the > minimum swig version in the cmake file that finds swig. I would rather > the config fail then the build fail because an unusable version of swig > is found. > > On 7/31/2018 2:57 PM, Andrew Lutsenko wrote: > > I will test later today both options > > 1. Rem

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-08-03 Thread Andrew Lutsenko
3, 2018 at 5:35 AM Wayne Stambaugh wrote: > Andrew, > > I merged your patch into the development branch of KiCad. Thank you for > your contribution to KiCad. > > Cheers, > > Wayne > > On 7/31/2018 5:34 PM, Andrew Lutsenko wrote: > > Removing or renaming

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-08-08 Thread Andrew Lutsenko
to 5.0 too, please? Regards, Andrew On Fri, Aug 3, 2018 at 11:03 AM Andrew Lutsenko wrote: > Awesome, thanks! > Qa machine seems happy too. > > So is there any chance of this getting into 5.0 branch? > > I published my plugin earlier here > https://github.com/openscopeprojec

Re: [Kicad-developers] [PATCH] Re: SHAPE_LINE_CHAIN in swig?

2018-08-08 Thread Andrew Lutsenko
. > > -Seth > > Am Mi., 8. Aug. 2018 um 16:16 Uhr schrieb Andrew Lutsenko < > anlutse...@gmail.com>: > >> Hi Seth, >> >> Sorry to be repeating myself but since I didn't get any response I >> assumed this just slipped through everyone's attention.

[Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-15 Thread Andrew Lutsenko
Hi KiCad devs, I am proposing an addition to plugin system. Probably most will agree that menus suck. Toolbars suck less :) In my plugin I added a dirty hack to modify top toolbar from plugin init code to add a button that calls plugins run() method. It is broken on linux X11 and is not a sustain

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-16 Thread Andrew Lutsenko
Regards, Andrew On Wed, Aug 15, 2018 at 2:31 AM Andrew Lutsenko wrote: > Hi KiCad devs, > > I am proposing an addition to plugin system. > Probably most will agree that menus suck. Toolbars suck less :) > > In my plugin I added a dirty hack to modify top toolbar from plug

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-16 Thread Andrew Lutsenko
, Andrew! > > I am somehow missing the Python example you are giving in your patch. > Can you add this a simple example to the sources to get a basic/dummy > skeleton working right from scratch? > > Regards, > > Clemens > > > On 15/08/2018 11.31, Andrew Lutsenko

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-16 Thread Andrew Lutsenko
тантин Барановский < baranovskiykonstan...@gmail.com> wrote: > чт, 16 авг. 2018 г. в 12:26, Andrew Lutsenko : > >> If icon file doesn't exist or can't be loaded (wrong format for example) >> pcbnew will throw an error message >> and will continue with no

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-16 Thread Andrew Lutsenko
rew! >>> >>> I am somehow missing the Python example you are giving in your patch. >>> Can you add this a simple example to the sources to get a basic/dummy >>> skeleton working right from scratch? >>> >>> Regards, >>> >>> Clemen

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-17 Thread Andrew Lutsenko
you prefer I can send one big squashed commit. For review you can look at them here: https://github.com/KiCad/kicad-source-mirror/compare/master...qu1ck:plugin-icon On Thu, Aug 16, 2018 at 11:01 PM Andrew Lutsenko wrote: > Hi Seth > > I just checked out new preferences in pcbnew, looks

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-17 Thread Andrew Lutsenko
t; interested future developers. Squashing the patchset for review is also a > good idea. > > Overall this looks really promising. > > Best- > Seth > > Am Do., 16. Aug. 2018 um 23:02 Uhr schrieb Andrew Lutsenko < > anlutse...@gmail.com>: > >> Hi Seth >> >&g

[Kicad-developers] Using Visual Studio 2017 CE for KiCad development

2018-08-19 Thread Andrew Lutsenko
Hi all, I've managed to get KiCad code base to build in VS 2017 and more importantly be parsed by intellisense. Thought I'd share the config for other windows devs. I've been using Atom so far with relative success but it's not great. Decided to try if KiCad can be worked on in real IDE with cont

Re: [Kicad-developers] Using Visual Studio 2017 CE for KiCad development

2018-08-21 Thread Andrew Lutsenko
gt; > > > > "buildRoot": "${workspaceRoot}\\build\\${name}", > > > "installRoot": "${workspaceRoot}\\install\\${name}", > > > > > > so it doesn't get buried in your user root and you end

Re: [Kicad-developers] [patch] bring (back) the autoplacer to GAL

2018-08-21 Thread Andrew Lutsenko
> BTW. Who decided to export the CONNECTIVITY_DATA to Python? You had a hand in that Tom :) https://github.com/KiCad/kicad-source-mirror/commit/d16a5c1d6c8cf846df7c2bcaf8806f9474e26ade Cheers, Andrew On Tue, Aug 21, 2018 at 2:58 PM Tomasz Wlostowski wrote: > On 21/08/18 20:05, Wayne Stambaugh

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-22 Thread Andrew Lutsenko
iewed here as well: https://github.com/KiCad/kicad-source-mirror/compare/master...qu1ck:plugin-icon Also I've attached few dummy plugins to play with, 3 out of 4 have icons. Let me know if you have any comments. Thanks, Andrew On Fri, Aug 17, 2018 at 3:02 PM Andrew Lutsenko wrote: >

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-23 Thread Andrew Lutsenko
- There are a couple small spacing errors (single line between function > defs, space before closing parens) > > Overall, excellent work! This feels like a nice addition for people who > regularly use plugins. > > -Seth > > Am Mi., 22. Aug. 2018 um 04:28 Uhr schrieb Andrew Lu

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-23 Thread Andrew Lutsenko
00:51 Uhr schrieb Andrew Lutsenko < > anlutse...@gmail.com>: > >> I fixed whitespace issue and formatting (at least what I caught). >> Fixed a bug that would not load plugin list properly if one plugin was >> removed and another was added at the same time. >> Al

Re: [Kicad-developers] Need help with menus and dialog modifications

2018-08-25 Thread Andrew Lutsenko
Hi David, My suggestion: Use the universal printf debug technique. In case of wx apps wxMessageBox() works great. Stick it everywhere you want to know if code path is executed or what a variable value is, it's great way to understand why something doesn't work. More advanced users will use gdb but

Re: [Kicad-developers] [PATCH] RFC: toolbar button support for action plugins

2018-08-26 Thread Andrew Lutsenko
Awesome! I updated the docs for plugin writers. Please see attached file. On Sun, Aug 26, 2018 at 7:48 PM Seth Hillbrand wrote: > Merged. > > Thank you for your contribution to KiCad! > > -Seth > > Am So., 26. Aug. 2018 um 13:27 Uhr schrieb Andrew Lutsenko <

[Kicad-developers] How to read custom pad polygon data in swig?

2018-08-27 Thread Andrew Lutsenko
Hello Kicad team, I'm writing a pcbnew action plugin that needs to read footprint pad coordinates and shape. I had no trouble figuring out all shapes except for custom one. It is represented by SHAPE_POLY_SET which has a corresponding python type but to get actual vertex coordinates you have to ei

Re: [Kicad-developers] How to read custom pad polygon data in swig?

2018-08-27 Thread Andrew Lutsenko
lygon data will not be > accessible without someone devoting some time to SWIG-ing the classes. > > Best- > Seth > > [1] http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nested_classes > > > > Am Mo., 27. Aug. 2018 um 04:44 Uhr schrieb Andrew Lutsenko < > anlutse

Re: [Kicad-developers] How to read custom pad polygon data in swig?

2018-08-28 Thread Andrew Lutsenko
; > On Monday, 27 August 2018, 13:43:26 CEST, Andrew Lutsenko < > anlutse...@gmail.com> wrote: > > > Hello Kicad team, > > I'm writing a pcbnew action plugin that needs to read footprint pad > coordinates and shape. > I had no trouble figuring out all shapes exce

[Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-08-31 Thread Andrew Lutsenko
Hi all, This is a fix for https://bugs.launchpad.net/kicad/+bug/1758858 Regards, Andrew 0001-pcbnew-add-3d-models-properties-to-swig.patch Description: Binary data ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developer

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-08-31 Thread Andrew Lutsenko
thon scripting? >> If not, I will merge this patch. >> >> Cheers, >> >> Wayne >> >> On 8/31/2018 6:42 AM, Andrew Lutsenko wrote: >> > Hi all, >> > >> > This is a fix for https://bugs.launchpad.net/kicad/+bug/1758858 >> > >>

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-01 Thread Andrew Lutsenko
Added a unit test. See amended patch attached. > ..\..\Kicad-dev\bin\python.exe testcases\test_002_board_class.py -- Ran 8 tests in 1.491s OK On Fri, Aug 31, 2018 at 3:15 PM Andrew Lutsenko wrote: > @Wayne, >

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-01 Thread Andrew Lutsenko
My test is trivial (create a model with some settings, add it to footprint, try to read it back). Fixing other tests is outside of scope of this change. On Sat, Sep 1, 2018 at 1:36 AM Carsten Schoenert wrote: > Am 01.09.18 um 10:21 schrieb Andrew Lutsenko: > > Added a unit test. Se

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-01 Thread Andrew Lutsenko
I'm sorry but I disagree with many things here On Sat, Sep 1, 2018 at 2:13 AM Carsten Schoenert wrote: > Am 01.09.18 um 10:51 schrieb Andrew Lutsenko: > > My test is trivial (create a model with some settings, add it to > footprint, > > try to read it back). > > S

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-05 Thread Andrew Lutsenko
Friendly ping, please take a look at this patch On Sat, Sep 1, 2018 at 1:21 AM Andrew Lutsenko wrote: > Added a unit test. See amended patch attached. > > > ..\..\Kicad-dev\bin\python.exe testcases\test_002_bo

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-08 Thread Andrew Lutsenko
se for 5.1 rather than 5.0.1 since it is a new python > scripting feature. Thank you for your contribution to KiCad. > > Cheers, > > Wayne > > On 08/31/2018 06:42 AM, Andrew Lutsenko wrote: > > Hi all, > > > > This is a fix for https://bugs.laun

Re: [Kicad-developers] [PATCH] Add access to 3d model properties in swig/python

2018-09-08 Thread Andrew Lutsenko
box but I have been so furiously trying to catch > up that I may have accidentally deleted it. > > Cheers, > > Wayne > > On 09/08/2018 05:53 PM, Andrew Lutsenko wrote: > > Hi Wayne, > > > > It looks like you committed first version of the patch without the unit >

Re: [Kicad-developers] Notice: GAL branch pushed to master

2018-10-09 Thread Andrew Lutsenko
I'm not sure if this was reported earlier but I noticed 2 things: 1. Change cursor shape (alternatively View->Full Window Crosshair) does not work. I tried with various anti aliasing settings. 2. Antialiasing settings behave differently. Without antialiasing some lines are 2 pixels wide and some

Re: [Kicad-developers] GAL canvas deadlock

2018-10-10 Thread Andrew Lutsenko
Seth, It might be related to action plugin buttons I added. Try it with scripting and action menu on. Code to rebuild toolbar is gated by KICAD_SCRIPTING_ACTION_MENU iirc. Regards, Andrew On Wed, Oct 10, 2018 at 1:26 PM Seth Hillbrand wrote: > Hi Jeff- > > Can't reproduce here. Running both e

Re: [Kicad-developers] GAL canvas deadlock

2018-10-10 Thread Andrew Lutsenko
d, Oct 10, 2018 at 3:26 PM Seth Hillbrand wrote: > > > Am Mi., 10. Okt. 2018 um 14:55 Uhr schrieb Andrew Lutsenko < > anlutse...@gmail.com>: > >> Seth, >> >> It might be related to action plugin buttons I added. Try it with >> scriptin

Re: [Kicad-developers] GAL canvas deadlock

2018-10-10 Thread Andrew Lutsenko
NG=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_ACTION_MENU=ON BUILD_GITHUB_PLUGIN=ON KICAD_USE_OCE=ON KICAD_USE_OCC=OFF KICAD_SPICE=ON On Wed, Oct 10, 2018 at 5:16 PM Andrew Lutsenko wrote: > No, can't repro either. I'll try on win

[Kicad-developers] warning: enum constant in boolean context in dialog_print_generic.cpp

2018-11-06 Thread Andrew Lutsenko
l be interpreted as force close. I don't think this was the intended behavior here. Please take a look at my simple patch that fixes this warning and (I think) a latent bug. Regards, Andrew Lutsenko From b4ee7b53c30ef5ea273b1c77b40b5b79ea9f0ea6 Mon Sep 17 00:00:00 2001 From: qu1ck Date: Tue, 6 No

Re: [Kicad-developers] [PATCH] Fixup documentation path for macOS scripting plugins

2018-11-26 Thread Andrew Lutsenko
Hi Adam, Please note that current paths are actually correct for previous versions of MacOS. I'm not sure exactly when the change happened but the paths you are suggesting are valid for latest versions of MacOS and kicad. Maybe it's worth to add a note stating that these paths are correct for lates

Re: [Kicad-developers] [PATCH] Fixup documentation path for macOS scripting plugins

2018-11-26 Thread Andrew Lutsenko
cbnew.PLUGIN_DIRECTORIES_SEARCH > > in the scripting console"? > > Adam > > On Mon, Nov 26, 2018 at 9:03 PM Andrew Lutsenko > wrote: > >> Hi Adam, >> Please note that current paths are actually correct for previous versions >> of MacOS. I'm not sure exact

Re: [Kicad-developers] [PATCH] Fixup documentation path for macOS scripting plugins

2018-11-28 Thread Andrew Lutsenko
Looks good to me Thanks, Andrew On Tue, Nov 27, 2018 at 5:59 AM Adam Wolf wrote: > How's this? > > Adam > > On Mon, Nov 26, 2018 at 9:52 PM Andrew Lutsenko > wrote: > >> That sounds good to me. >> There is also that MacOS security feature that turn

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-01 Thread Andrew Lutsenko
Hi Wayne, I would like to take this opportunity to do an elevator pitch for idea of using one of IDL languages widely accepted in the industry like Apache Thrift or Google Protobufs to define formats in KiCad. There are few large benefits in favor of using such languages: 1. They are self documen

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-02 Thread Andrew Lutsenko
s now, where it is actually quite > > time-consuming. > > I wouldn't be opposed to JSON although I still think that it is more > verbose than necessary. XML was rejected by the project along time ago > and I've seen nothing to change my mind about that. I am not fami

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-03 Thread Andrew Lutsenko
ijn Kuipers wrote: > > > On 3 Jan 2019, at 04:17, Andrew Lutsenko wrote: > > Wayne, > > > There are some interesting and practical concepts with protobuf but it's > functionally a binary storage method which I am opposed to. > > That is a somewhat common misconcepti

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-03 Thread Andrew Lutsenko
ither protobufs nor any of >> the other guys really does anything for us in that area, if anything that >> is the input that needs to be given to whatever parser generator, or >> manually generated parser process we choose to utilize. I think useful >> comments to the propos

Re: [Kicad-developers] Hoping to contribute but I have some questions

2019-01-04 Thread Andrew Lutsenko
Hi Brian, If you don't have experience with c++ and GUI code in general I would suggest you start by familiarizing yourself with wxwidgets framework that KiCad is built on http://wxwidgets.org/docs/tutorials/ A lot of KiCad code will make more sense once you understand GUI threading and event mod

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-05 Thread Andrew Lutsenko
With the amount of data that KiCad handles performance of particular parser has minuscule impact. File IO delays would thwart any processing time. What Simon talked about is as he said a separate discussion and is orthogonal to the decision of how to define data model and what file format to use. A

Re: [Kicad-developers] [RFC] Symbol library file format

2019-01-08 Thread Andrew Lutsenko
to play around with it. Wayne let me know if this is at all interesting. If you are still concerned about performance I should be able to do a benchmark now that basic scaffolding is in place. Regards, Andrew On Sat, Jan 5, 2019 at 4:46 PM Andrew Lutsenko wrote: > With the amount of d

Re: [Kicad-developers] SIGTRAP crash with ngspice

2019-01-14 Thread Andrew Lutsenko
Hi Steven, Your code is slow because you are using O(n^2) algorithm (look up big O notation if you don't know what that means, tldr is that for 1mb string it will take on the order of 10^12 operations to process in the worst case where there are lots of '\b' characters). Instead of iteratively del

Re: [Kicad-developers] Servers migration

2019-01-24 Thread Andrew Lutsenko
This is great news! Hopefully this means some progress can be made on setting up a gitlab instance and moving off launchpad? Regards, Andrew On Thu, Jan 24, 2019 at 5:13 AM Wayne Stambaugh wrote: > I couldn't agree more! Thank you Mark and Nick for the helping out with > the server moves. Tha

Re: [Kicad-developers] 5.1.0-rc1

2019-02-09 Thread Andrew Lutsenko
Hi Marcos, I'm the author of that plugin and issues with gtk2 and wxpython on linux are extensively covered on plugins FAQ and installation pages on the wiki https://github.com/openscopeproject/InteractiveHtmlBom/wiki Also this issue https://github.com/openscopeproject/InteractiveHtmlBom/issues/47

Re: [Kicad-developers] [patch] GAL pixel alignment

2019-02-10 Thread Andrew Lutsenko
Hi all, I just tested this on Win10 x64 and it's a huge improvement. Would love to see this in 5.1 since I'm basically forced to use fallback mode on current nightlies because opengl is plain ugly. And opengl performance is noticeably better than fallback (and a lot better than legacy). On Sun, Fe

Re: [Kicad-developers] Download speeds for nightly builds seem a bit slow to a lot of people over at the forum

2019-03-09 Thread Andrew Lutsenko
I think torrents are the best solution. Even when servers function normally on each release there is a stampede to download new binary and things slow down to a crawl. I don't know if moving to CERN servers (AWS servers?) will help but torrents certainly would. It's as simple as creating a torrent

  1   2   >