kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27522
Possible small improvements to 3D file cache behavior
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?
- Cirilo
Follow ups