kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21881
Re: Enhanced Python Shell
Does this actually work with OS X in KiCad, or just in OS X in general?
Last time I tried to use the python shell in KiCad on OS X you couldn't
enter any key that also was used as a command with a modifier button, and
when I tried to chase it down, it was actually a complicated Wx issue.
This also means that if it does not work in OS X, I do not want that to
hold this patch back.
Adam Wolf
On Sat, Dec 12, 2015 at 11:22 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:
> Duh? Ignore this. Sorry for the noise.
>
> On 12/12/2015 12:16 PM, Wayne Stambaugh wrote:
> > I finally got a chance to test this patch, I like it. It works as
> > advertised and is very handy. I have only one minor gripe is that it
> > appears to space the fields with the same delta no matter what the text
> > size (see screenshot). It looks like your placing the center of the
> > text height at a fixed interval. This make smaller text (discret:R4 in
> > my example) appear further away from larger text. I would like to see
> > the spacing between each line be consistent maybe even a option to
> > define what the spacing should be. Other than that, nice job. Does
> > anyone else have any objections?
> >
> > On 12/12/2015 10:00 AM, Nick Østergaard wrote:
> >> I have heard that it opens fine on linux, windows and OS X. I don't
> >> expect it to break anything. I am just waiting for the patch to test
> >> that.
> >>
> >> 2015-12-11 20:36 GMT+01:00 Wayne Stambaugh <stambaughw@xxxxxxxxx>:
> >>> What say our Python devs. I'm fine with it assuming it doesn't break
> >>> anything (read all platforms).
> >>>
> >>> On 12/11/2015 10:03 AM, Chris Pavlina wrote:
> >>>> I second this suggestion. It's way nicer than the dinky little
> Notepad-with-REPL we're using right now.
> >>>>
> >>>> --
> >>>> Chris
> >>>>
> >>>> On Fri, Dec 11, 2015 at 10:57:26PM +0800, Strontium wrote:
> >>>>> Hello Kicad developers,
> >>>>>
> >>>>> I have been a very long time follower of kicad and I think the work
> done to
> >>>>> it over the years is simply amazing.
> >>>>> I would love to contribute where I can.
> >>>>>
> >>>>> I have had need to play with the python scripting of Kicad. Kicad
> uses
> >>>>> wxpython.
> >>>>> Wxpython includes within it, a much better shell than the one
> currently
> >>>>> being used.
> >>>>>
> >>>>> If inside the current python shell, one does this:
> >>>>>
> >>>>>>>> import wx; f = wx.py.editor.EditorNotebookFrame(title="KiCad
> PCB");
> >>>>> f.Show()
> >>>>>
> >>>>> You will see what I am talking about.
> >>>>>
> >>>>> It provides a nice way to introspect python state when writing
> scripts, and
> >>>>> also includes a simple tabbed text editor.
> >>>>>
> >>>>> Its possible this shell could be tweaked to be even better, but even
> as it
> >>>>> stands its a LOT better than the default shell.
> >>>>>
> >>>>> I am working on a proposed patch to sub the existing shell with this
> one,
> >>>>> for further discussion. I will post it once I test it.
> >>>>>
> >>>>> Strontium (Steven J)
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>>> More help : https://help.launchpad.net/ListHelp
> >>>>
> >>>> _______________________________________________
> >>>> Mailing list: https://launchpad.net/~kicad-developers
> >>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>>> More help : https://help.launchpad.net/ListHelp
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Mailing list: https://launchpad.net/~kicad-developers
> >>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> >>> Unsubscribe : https://launchpad.net/~kicad-developers
> >>> More help : https://help.launchpad.net/ListHelp
> >
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References