kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #24715
Re: 3D cache path
its currently in ~/Library/Preferences/kicad/3d
On Fri, May 20, 2016 at 1:14 AM, Bernhard Stegmaier
<stegmaier@xxxxxxxxxxxxx> wrote:
> +1 for the button or auto cleanup from my side.
>
> What is cached there at all?
> I just looked on my OS X setup and I found the cache folder, but it is
> empty.
> And yes, I am working on a couple of boards with 3d models…
>
> How is it in general thought to work?
> Is it intended to cache whatever it caches on a per model, per project, per
> etc. basis?
>
> Apart from that, (1) seems to be the right place for OS X.
>
>
> Regards,
> Bernhard
>
> On 19 May 2016, at 14:27, Nick Østergaard <oe.nick@xxxxxxxxx> wrote:
>
> I am not sure having a manual button to click to clear the cache helps a
> lot... I think some autocleanup would be nice, but that does of course not
> exclude a button for those people who likes to click on stuff.
>
> Den 19/05/2016 12.09 skrev "José Ignacio" <jose.cyborg@xxxxxxxxx>:
>>
>> +1 on a "Clear cache" button/menu item
>>
>> On Thu, May 19, 2016 at 3:39 AM, easyw <easyw@xxxxxxxxxxxx> wrote:
>> > Hi,
>> > I think it would also useful to have a menu item to clean 3D cache on
>> > request...
>> > just to avoid having a huge caching ...
>> >
>> > Maurice
>> >
>> >
>> > On 19/05/2016 05.42, Cirilo Bernardo wrote:
>> >>
>> >> Hi Folks,
>> >>
>> >> I've had some feedback on the location of the 3D cache data on
>> >> various
>> >> systems.
>> >> At the moment the data is in
>> >> wxStandardPaths::Get().GetUserConfigDir()/kicad/3d/cache
>> >> and since that's a subdir of a configuration directory I guess it's not
>> >> surprising
>> >> that users are not happy.
>> >>
>> >> From discussion with other devs it seems to be agreed that the
>> >> 3D cache data should go into:
>> >>
>> >> 1. OSX: ~/Library/Caches/kicad/3d
>> >> Equivalent: ${HOME}/Library/Caches/kicad/3d
>> >>
>> >> 2. Linux: ~/.cache/kicad/3d
>> >> Actually it should be ${XDG_CACHE_HOME}/kicad/3d with the fallback
>> >> ${HOME}/.cache/kicad/3d
>> >>
>> >> 3. MSWin: AppData\Local\kicad\3d
>> >> wxStandardPaths::UseAppInfo( AppInfo_None );
>> >> wxStandardPaths::Get().GetUserLocalDataDir();
>> >> So far we have %AppData%\Local or equivalent, now we add kicad\3d
>> >>
>> >> Any comments/objections? If there are no objections I will create a
>> >> patch
>> >> to implement this. One drawback of course is that current users of the
>> >> dev branch will have a lot of junk cache data in the old location but
>> >> this is
>> >> a detail which should be fixed.
>> >>
>> >> - Cirilo
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> 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
>
>
>
> _______________________________________________
> 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
>
References