kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #16524
Re: fp-lib-tables UI question
That sounds like a good idea to me, but I think it should fall back to
looking in that directory if Github is not available.
I think the UI and most of the code would be the same, so I will start work
tonight...
Thoughts?
On Jan 22, 2015 4:29 PM, "Carl Poirier" <carl.poirier.2@xxxxxxxxx> wrote:
> Couldn't you pull the preconfigured fp-lib-tables from Github instead of a
> local directory? This way, it will be easy for the user to get the latest
> and greatest footprints!
>
> On Thu, Jan 22, 2015 at 4:23 PM, Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
> wrote:
>
>> Great, thanks!
>> On Jan 22, 2015 4:20 PM, "Wayne Stambaugh" <stambaughw@xxxxxxxxx> wrote:
>>
>>> As of right now, the preloaded fp-lib-table files are installed in
>>> ${CMAKE_INSTALL_PREFIX}/share/kicad/template on Linux and Windows. On
>>> OSX they appear to be installed in
>>> ${OSX_BUNDLE_INSTALL_DIR}/${OSX_BUNDLE_SUP_DIR}/template where ever that
>>> works out to be. The fp-lib-table files themselves are part of the
>>> kicad-library source so hopefully the install path is the same for them
>>> on OSX as well.
>>>
>>> On 1/22/2015 4:10 PM, Adam Wolf wrote:
>>> > This is going to be slick, Wayne. Is there any particular place that
>>> > seems decent to put the preconfigured fp-table-libs? In my mind,
>>> > they're almost templates...
>>> >
>>> > Adam Wolf
>>> >
>>> > On Thu, Jan 22, 2015 at 4:01 PM, Wayne Stambaugh <stambaughw@xxxxxxxxx
>>> > <mailto:stambaughw@xxxxxxxxx>> wrote:
>>> >
>>> > On 1/22/2015 3:56 PM, Adam Wolf wrote:
>>> > > Do you mean <PREFSDIR>/fp-table-lib? (i.e., on
>>> > > Linux ~/.config/kicad/fp-lib-table?)
>>> >
>>> > Yes.
>>> >
>>> > >
>>> > > I really like this idea. The wizard already does a good job
>>> explaining
>>> > > what each type of fp-lib-table entry is.
>>> >
>>> > Then it should be possible to add the code to copy a pre-configured
>>> > fp-lib-table file to the proper path. The only tricky part would
>>> be
>>> > setting up any environment variables. I have a patch that sets
>>> default
>>> > environment variables for KIGITHUB and KISYS3DMOD on start up. I
>>> > haven't designed the dialog to edit them yet. It needs tested on
>>> OSX so
>>> > I will post it some time tomorrow to get some feed back. The
>>> > environment variables are saved in the kicad_common config file so
>>> you
>>> > could simple add new config entry for something like KISYSMOD from
>>> the
>>> > fp-lib-table wizard for footprint libraries stored on the system
>>> once I
>>> > commit the code.
>>> >
>>> > >
>>> > > Adam Wolf
>>> > >
>>> > > On Thu, Jan 22, 2015 at 3:33 PM, Wayne Stambaugh <
>>> stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>
>>> > > <mailto:stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>>>
>>> wrote:
>>> > >
>>> > > Maybe you could add an "Initialize Global Table" mode to the
>>> > > fp-lib-table wizard where a predefined table file is copied
>>> to ~/. You
>>> > > could test for ~/fp-lib-table and enter this mode
>>> automatically or enter
>>> > > the "Edit Table" mode when ~/fp-lib-table is already
>>> defined. This
>>> > > would also prevent further cluttering of the library table
>>> editor.
>>> > >
>>> > > On 1/22/2015 10:53 AM, Adam Wolf wrote:
>>> > > > The new fp-lib-table wizard is great for adding new
>>> entries to the
>>> > > > current table, but does not appear to have a "load
>>> defaults" type option.
>>> > > >
>>> > > > However, this is based on using it, not reading the code,
>>> so it is
>>> > > > possible the feature is included somewhere I did not see.
>>> > > >
>>> > > > Adam Wolf
>>> > > >
>>> > > > On Thu, Jan 22, 2015 at 1:27 AM, Nick Østergaard <
>>> oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>
>>> > <mailto:oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>>
>>> > > > <mailto:oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>
>>> > <mailto:oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>>>> wrote:
>>> > > >
>>> > > > How does this compare to the new fp lib table wizard?
>>> > > >
>>> > > > 2015-01-22 6:09 GMT+01:00 Adam Wolf <
>>> adamwolf@xxxxxxxxxxxxxxxxxxxx <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>
>>> > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx
>>> > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>>
>>> > > > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx
>>> > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>
>>> > > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx
>>> > <mailto:adamwolf@xxxxxxxxxxxxxxxxxxxx>>>>:
>>> > > > > Hi folks!
>>> > > > >
>>> > > > > I have a question about adding another feature to the
>>> > > > fp-lib-tables manager,
>>> > > > > which is already pretty crowded and I want to get
>>> buy-in
>>> > > before even
>>> > > > > attempting a patch.
>>> > > > >
>>> > > > > Background:
>>> > > > >
>>> > > > > Running into another issue with the KiCad Mac
>>> experience.
>>> > > Just to
>>> > > > recap, I'm
>>> > > > > trying for 2 DMGs.
>>> > > > >
>>> > > > > One is called "KiCad Extras" and currently includes
>>> > the modules
>>> > > > from github,
>>> > > > > and the fp-table-lib.for-pretty renamed just
>>> > fp-table-lib. The
>>> > > > idea is that
>>> > > > > users can download the extras DMG, and no longer need
>>> > to be
>>> > > online for
>>> > > > > Kicad.
>>> > > > >
>>> > > > > The modules directory is fine, we provide a "drop
>>> target"
>>> > > (just a
>>> > > > symlink)
>>> > > > > of /Library/Application Support/kicad/.
>>> > > > >
>>> > > > > However, the fp-table-lib is tricky. The per-user
>>> > "global"
>>> > > (across
>>> > > > > projects" fp-table-lib is located in
>>> > > ~/Library/Preferences/kicad/
>>> > > > We cannot
>>> > > > > make a "drop target" in a DMG that points to ~/.
>>> > > > >
>>> > > > > Making a "package" works around this, but users
>>> don't like
>>> > > > packages unless
>>> > > > > they're part of App Store (because they usually don't
>>> > > realize they're
>>> > > > > packages :)). I don't want to do that.
>>> > > > >
>>> > > > > Question: Would a way to "load default
>>> fp-lib-tables"
>>> > be useful
>>> > > > to other
>>> > > > > people in the library table manager? This would take
>>> > a look
>>> > > at what
>>> > > > > fp-lib-tables.* are available in a location, and give
>>> > users the
>>> > > > ability to
>>> > > > > replace their fp-lib-tables with known defaults--i.e.
>>> > I want to
>>> > > > use github,
>>> > > > > I want to use eagle, I want to use on-disk pretties
>>> > > downloaded from
>>> > > > > github...
>>> > > > >
>>> > > > > The more I think about this, I think that it might
>>> not
>>> > only help
>>> > > > the Mac
>>> > > > > install experience, but actually help the new user
>>> > > experience on all
>>> > > > > platforms.
>>> > > > >
>>> > > > > Thoughts? (and greetings from Montreal, where I am
>>> on
>>> > business
>>> > > > and also
>>> > > > > working on Kicad Mac nightlies while stuffed with
>>> curry
>>> > > poutine...)
>>> > > > >
>>> > > > > Adam Wolf
>>> > > > > Cofounder and Engineer
>>> > > > > W&L
>>> > > > >
>>> > > > > _______________________________________________
>>> > > > > Mailing list:
>>> https://launchpad.net/~kicad-developers
>>> > > > > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> > > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>>> > > > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> > > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto: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
>>> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> > > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto: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
>>> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> > > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> > <mailto: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
-
fp-lib-tables UI question
From: Adam Wolf, 2015-01-22
-
Re: fp-lib-tables UI question
From: Nick Østergaard, 2015-01-22
-
Re: fp-lib-tables UI question
From: Adam Wolf, 2015-01-22
-
Re: fp-lib-tables UI question
From: Wayne Stambaugh, 2015-01-22
-
Re: fp-lib-tables UI question
From: Adam Wolf, 2015-01-22
-
Re: fp-lib-tables UI question
From: Wayne Stambaugh, 2015-01-22
-
Re: fp-lib-tables UI question
From: Adam Wolf, 2015-01-22
-
Re: fp-lib-tables UI question
From: Wayne Stambaugh, 2015-01-22
-
Re: fp-lib-tables UI question
From: Adam Wolf, 2015-01-22
-
Re: fp-lib-tables UI question
From: Carl Poirier, 2015-01-22