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

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

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

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

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,

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 Lutse

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

Re: [Kicad-developers] Some V6 features

2020-10-20 Thread Andrew Lutsenko
ch 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 mentioned in KiCon 2020 q session that are

[Kicad-developers] Some V6 features

2020-10-17 Thread Andrew Lutsenko
, 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] 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 skrev And

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 need

[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

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

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

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

2020-06-30 Thread Andrew Lutsenko
> 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] 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

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

Re: [Kicad-developers] 5.1.6 Release Update

2020-05-15 Thread Andrew Lutsenko
ges 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 > wrote

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

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

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.

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 >

[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

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

2019-11-26 Thread Andrew Lutsenko
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, > > > > Yes,

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

2019-11-26 Thread Andrew Lutsenko
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 design in google doc

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

2019-11-25 Thread Andrew Lutsenko
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/19 3:21 PM, And

[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

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

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,

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,

[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

Re: [Kicad-developers] GitLab migration

2019-10-12 Thread Andrew Lutsenko
gt; 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, Oct 10, 2

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

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

Re: [Kicad-developers] 5.1.4 release - release announcement/blog entry?

2019-08-10 Thread Andrew Lutsenko
FYI, windows builds have 5.1.4_ as version string in file name and in installer strings. I suppose it should have been 5.1.4_1 Seems to work fine otherwise. Regards, Andrew On Fri, Aug 9, 2019 at 3:02 PM Nick Østergaard wrote: > Please sanity test the windows build and make pr for the website,

Re: [Kicad-developers] RFC: KiCad windows installer proposal

2019-07-24 Thread Andrew Lutsenko
> Eeli Kaikkonen > > ke 24. heinäk. 2019 klo 8.04 Ben Hest (bombledm...@gmail.com) kirjoitti: > >> +1 from a user. >> >> On Tue, Jul 23, 2019, 7:25 PM Andrew Lutsenko >> wrote: >> >>> Friendly ping :) >>> This is about a 2 year old >

Re: [Kicad-developers] RFC: KiCad windows installer proposal

2019-07-23 Thread Andrew Lutsenko
-and/14395/14?u=qu1ck> about <https://forum.kicad.info/t/kicad-installation/16680?u=qu1ck>. I know this is mostly for nightlies but would be useful for stable release too and since 5.1.3 is tagged already now is a good time to decide what to do. On Fri, Jul 19, 2019 at 4:47 PM Andrew Lu

[Kicad-developers] RFC: KiCad windows installer proposal

2019-07-19 Thread Andrew Lutsenko
Hi all, I recently sent a PR to kicad-winbuilder repo that implements a proposal for new installers: https://github.com/KiCad/kicad-winbuilder/pull/86 I'm sharing this here for more visibility since it looks like there may be division of opinions (Seth is on board with my idea while Nick has

Re: [Kicad-developers] Compilation problems with types from pcb_lexer.h

2019-07-10 Thread Andrew Lutsenko
See https://lists.launchpad.net/kicad-developers/msg41433.html Solution: run "git clean -fx" and then build. On Wed, Jul 10, 2019 at 1:21 AM Eeli Kaikkonen wrote: > If I understood correctly the lexer system was changed recently. I'm > trying to compile on Linux, using gcc and ninja (NOT

Re: [Kicad-developers] Thermal spoke count

2019-07-08 Thread Andrew Lutsenko
Maybe there could be "slow" and "fast" mode for spoke (or in general zone) calculation. Fast for routing, slow for last pass. On Mon, Jul 8, 2019 at 10:58 AM Jeff Young wrote: > Keep in mind that the total width of all the spokes (assuming they’re all > the same length) doesn’t control the

Re: [Kicad-developers] Bug 1833851 - Massively Parallel Builds

2019-06-30 Thread Andrew Lutsenko
you for the suggestion Andrew. Unfortunately, one generated file is > a header that gets included in source files. This means the target is built > by any file that includes the header. > > -Seth > > On Jun 30, 2019 12:27 PM, Andrew Lutsenko wrote: > > Hi Seth, > > I'm not a

Re: [Kicad-developers] Bug 1833851 - Massively Parallel Builds

2019-06-30 Thread Andrew Lutsenko
Hi Seth, I'm not a cmake or make expert so this may not fix anything but here is my idea: If make has issue with generated targets and can't merge them, how about we give it a dummy non-generated target that has generated lexers as dependency. Then all targets that need lexer files will have that

Re: [Kicad-developers] Pcbnew zoom to fit behavior changed

2019-06-14 Thread Andrew Lutsenko
It appears this was undone? Zoom-to-fit ignores the worksheet again. Curious for the reasoning behind that decision. On Mon, May 27, 2019 at 4:22 PM Andrew Lutsenko wrote: > Thanks Jon, now this makes sense. > With ability to disable worksheet in items panel to revert to old behavior

Re: [Kicad-developers] PATCH pcbnew half-rotate actions and shortcuts

2019-06-10 Thread Andrew Lutsenko
In Pcbnew that is already the case, shift+R rotates the other way around. Eeschema doesn't have that shortcut. On Mon, Jun 10, 2019 at 4:15 PM Kevin Cozens wrote: > On 2019-06-10 6:35 p.m., Andrew Lutsenko wrote: > > I like to keep rotation angle set to 90 because that covers 98%

Re: [Kicad-developers] PATCH pcbnew half-rotate actions and shortcuts

2019-06-10 Thread Andrew Lutsenko
f them. > > Cheers, > > Wayne > > On 6/9/2019 8:40 PM, Andrew Lutsenko wrote: > > I could replace diff pair dimensions shortcut with something else if > > that is fine by devs, Ctrl+Shift+I is available. > > > > On Sat, Jun 8, 2019 at 3:49 AM Ian McInerney

Re: [Kicad-developers] PATCH pcbnew half-rotate actions and shortcuts

2019-06-09 Thread Andrew Lutsenko
in the master branch? > > -Ian > > On Sat, Jun 8, 2019 at 8:22 AM Andrew Lutsenko > wrote: > >> Hi all, >> >> I frequently find that I need to rotate a footprint or a few by 45 >> degrees. To do that I either have to edit it's properties (works if it's >> ju

[Kicad-developers] PATCH pcbnew half-rotate actions and shortcuts

2019-06-08 Thread Andrew Lutsenko
Hi all, I frequently find that I need to rotate a footprint or a few by 45 degrees. To do that I either have to edit it's properties (works if it's just one but slow) or change pcbnew preferences (very slow). I thought I'd add a quick shortcut to rotate selected items by half of the configured

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-04 Thread Andrew Lutsenko
that should work on any python version. On Tue, Jun 4, 2019 at 4:36 PM Andrew Lutsenko wrote: > I just tried your code on linux, python3 and I don't get any exceptions: > > import pcbnew > b = pcbnew.GetBoard() > d = b.GetDrawings() > d > > *' at 0x7fe9769e6d80>

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-04 Thread Andrew Lutsenko
cbnew.py (and make sure it's installed in dist-packages) do you see new __iter__ method in DRAWINGS class? On Tue, Jun 4, 2019 at 4:27 PM Seth Hillbrand wrote: > On 2019-06-04 14:23, Andrew Lutsenko wrote: > > Seth, > > > > 1. No, it's not needed. At first I didn't fin

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-04 Thread Andrew Lutsenko
be defined. See amended patch attached. 2. Yes, it works and it was tested on py3 build. Self reference is passed implicitly in python. On Tue, Jun 4, 2019 at 5:24 AM Seth Hillbrand wrote: > On 2019-06-04 03:09, Andrew Lutsenko wrote: > > Hi Seth, > > Another patch that fixes some bu

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-04 Thread Andrew Lutsenko
Hi Seth, Another patch that fixes some bugs in scripting and restores previous dlist behavior. Regards, Andrew On Sat, Jun 1, 2019 at 10:06 PM Andrew Lutsenko wrote: > On further digging I believe reason for that is that we no longer use the > extended iterator that is in d

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-01 Thread Andrew Lutsenko
ood to add same wrapper for deque. I can look into it a bit later if nobody beats me to it. On Sat, Jun 1, 2019 at 9:55 PM Andrew Lutsenko wrote: > On a related note, python api to get drawings (and probably everything > else that is now in deque) is broken. > board.GetDrawin

Re: [Kicad-developers] PATCH: fix crash in netlist updater

2019-06-01 Thread Andrew Lutsenko
.py", line 83, in _swig_getattr raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name)) AttributeError: 'BOARD_ITEM' object has no attribute 'GetShape' On Sat, Jun 1, 2019 at 9:49 PM Seth Hillbrand wrote: > > Thanks Andrew! Good catch

[Kicad-developers] PATCH: fix crash in netlist updater

2019-06-01 Thread Andrew Lutsenko
Hi Seth, I tried to pull netlist into completely empty board today and got a crash that I tracked down to this commit https://github.com/KiCad/kicad-source-mirror/commit/d1877d7c1b531dee2f4e35304a1d6b33a34c5fff Simple fix for this particular problem is in attached patch but I didn't go through

Re: [Kicad-developers] Pcbnew zoom to fit behavior changed

2019-05-27 Thread Andrew Lutsenko
yers (in the Items panel) > > Is that enough of an option for you? > We could go back to the behavior of "only consider the worksheet if there > are no items" but it made less sense to me. > > (The relevant commit is 549b767) > > -Jon > > On Mon, May 27, 2019 at

[Kicad-developers] Pcbnew zoom to fit behavior changed

2019-05-27 Thread Andrew Lutsenko
Hi all, On current master (50d2aaa97) I noticed that zoom to fit action in pcbnew now zooms on the whole drawing, including the template border instead of just on the board. Is that intentional? If so can we have an option in preferences to revert to old behavior? It is much more sensible in my

Re: [Kicad-developers] kicad aborts when wxpython is enabled

2019-05-17 Thread Andrew Lutsenko
Another good thing to check would be if the issue only happens when trying to run pcbnew standalone. If launched from kicad process there should be no race since kicad binary doesn't touch any python afaik. On Thu, May 16, 2019 at 5:53 AM Seth Hillbrand wrote: > Am 2019-05-16 06:29, schrieb

Re: [Kicad-developers] Developer doc web page down

2019-05-15 Thread Andrew Lutsenko
with: > > docker run -it sh -c "ls doxygen-python_html |grep > png" > > > > We don't see the class png images. > > > > I guess we should continue this on the bug tracker. > > https://github.com/KiCad/kicad-doc-website/issues/21 > > >

Re: [Kicad-developers] Kicad's way of drawing filled zones

2019-05-12 Thread Andrew Lutsenko
Is it possible to determine openGL hardware support at runtime and use advanced API on newer machines while switching to fallback for older ones? I believe that solution would be best of both worlds. Otherwise the only reasonable cut-off date would be when officially supported OS versions will not

Re: [Kicad-developers] Developer doc web page down

2019-05-10 Thread Andrew Lutsenko
Hi Nick, Any chance you can get pictures in python docs fixed too? Like inheritance graph here http://docs.kicad-pcb.org/doxygen-python/classpcbnew_1_1BOARD__ITEM.html This has been broken for a while. On Fri, May 10, 2019 at 7:59 AM Nick Østergaard wrote: > Disclamier: I disabled the auto

Re: [Kicad-developers] eeSchema V6 - any thoughts as to tabbed schematics?

2019-05-03 Thread Andrew Lutsenko
Hi Brian, There already is an easier way to navigate sheets than what you describe: click "Navigate schematic hierarchy" button on top toolbar or "View -> Show hierarchical navigator" which both open same view of schematic sheet tree. Single click on any sheet will bring you directly to it so in

Re: [Kicad-developers] 6.0 string proposal

2019-04-30 Thread Andrew Lutsenko
Hi, I have no opinion on the matter but would add a reminder that wchar_t is platform and compiler dependent. Consider using std::u32string instead of std::wstring if you want all code points to fit into one element. Regards, Andrew On Tue, Apr 30, 2019 at 2:36 AM Jeff Young wrote: > We had

Re: [Kicad-developers] 5.1.2 release announcement initial draft

2019-04-24 Thread Andrew Lutsenko
Windows 5.1.2 builds are still not available in stable folder https://kicad-downloads.s3.cern.ch/index.html?prefix=windows/stable/ On Wed, Apr 24, 2019 at 3:04 PM Wayne Stambaugh wrote: > I just pushed the 5.1.2 release announcement initial draft to the > website repo. As soon as we have macos

Re: [Kicad-developers] Monster files wanted

2019-04-16 Thread Andrew Lutsenko
Hi John, Here are some big examples that I test my plugin on: https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB1-A64-MAIN/Rev.C https://github.com/c4puter/motherboard https://github.com/rusefi/rusefi/tree/master/hardware/frankenso Regards, Andrew On Tue, Apr 16,

Re: [Kicad-developers] 404 on docs.kicad-pcb.org/doxygen-python/

2019-04-05 Thread Andrew Lutsenko
Roszko wrote: > Fixed > https://github.com/KiCad/kicad-doc-website/commit/67d881642f96d587af3a8730dae54901238d5521 > > > On Fri, Apr 5, 2019 at 6:36 PM Andrew Lutsenko > wrote: > >> Hi all, >> >> I'm not sure if that is docs.kicad-pcb.org/doxygen-python/

[Kicad-developers] 404 on docs.kicad-pcb.org/doxygen-python/

2019-04-05 Thread Andrew Lutsenko
Hi all, I'm not sure if that is docs.kicad-pcb.org/doxygen-python/ the correct link to python api docs but all google searches point there and it's referenced here . If they moved somewhere else there should be a 301

Re: [Kicad-developers] 5.1.0 package builds

2019-03-14 Thread Andrew Lutsenko
Hi Adam, 10.14 build and 10.13 (normal) builds for Mac are identical. They both md5sum to f392321af0513a5c6920bb89ca7831c7. Forum users are reporting that it doesn't work on pre-Sierra OSX. https://forum.kicad.info/t/kicad-5-1-0-released/15751/6?u=qu1ck Regards, Andrew On Thu, Mar 14, 2019 at

Re: [Kicad-developers] Patch: Legacy symbol read/write extraction; SCH_PLUGIN registry mechanism

2019-03-11 Thread Andrew Lutsenko
Hi Brian, I don't have any comments on specifics of the patch but I just wanted to let you know that I'm looking forward to this work being merged. Some time ago I suggested that KiCad moved to protobuf based file formats and even done

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
t care to install the required > software, some of which is not malware/ad-free. > So my suggestion is to stay away from torrents. > > On Sat, Mar 9, 2019 at 3:23 PM Andrew Lutsenko > wrote: > >> I think torrents are the best solution. >> Even when servers function normally

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

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,

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

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.

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

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.

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

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

2019-01-03 Thread Andrew Lutsenko
f >> 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 proposed format should see beyo

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

2019-01-03 Thread Andrew Lutsenko
ote: > > > 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 misconception because protobufs

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

2019-01-02 Thread Andrew Lutsenko
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 familiar > with YAML. > > I doubt using an IDF will make these discussions redunda

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

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 turns /Ap

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

2018-11-26 Thread Andrew Lutsenko
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 exactly when the change happened bu

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

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

2018-11-06 Thread Andrew Lutsenko
eans this will 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 Nov 201

Re: [Kicad-developers] GAL canvas deadlock

2018-10-10 Thread Andrew Lutsenko
=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 later today, ma

Re: [Kicad-developers] GAL canvas deadlock

2018-10-10 Thread Andrew Lutsenko
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 >> scripting and action

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

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] [PATCH] Add access to 3d model properties in swig/python

2018-09-08 Thread Andrew Lutsenko
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 > > test.

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

2018-09-08 Thread Andrew Lutsenko
r 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.launchpad

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

  1   2   >