← Back to team overview

kicad-developers team mailing list archive

Re: 3D cache path

 

+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


Follow ups

References