← Back to team overview

kicad-developers team mailing list archive

Re: Possible small improvements to 3D file cache behavior

 

On 2/2/2017 7:40 PM, Cirilo Bernardo wrote:
> Hi folks, I'm fishing for comments on the handling of the 3D file caches:
> 
> 1. As it is, the code is pretty good at regenerating a cache file when the
> model changes but there are a few exceptions such as when ModelA
> references ModelB and ModelB has changed. This is due to the fact that
> the cache system only looks at the file date and checksum of ModelA:
> it is not (reasonably) possible to divine external file dependencies of any
> given file format.
> 
> 2. People have occasionally complained that the cache directory grows
> too much and they would like to occasionally purge the directory without
> dropping into a command line and hunting for the cache directory.
> 
> To address (1) and partially address (2) I'm proposing to add
> "Refresh Model" and "Clear Cache" buttons to the 3D Footprint editor tab.
> I think that a menu item to clear the cache would also be worthwhile.
> Any comments and suggestions as to where it would be appropriate to
> put "Clear Cache" menus?

The file menu seems like the logical place given that these commands
deal with files.

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


Follow ups

References