You mean loading and process a model on the first time? On my machine (i7) I remember that a moderate models can take some seconds (1.. 2.. 3s) to load and process on the first time. So it will be noticeable for boards with lots of different models files.. depending on the complexity of the models..
On other part, loading from cache "we are talking about" milliseconds. * these values are from mind and may need confirmation! :) IMO a good feature that could be implemented latter would be to define the max size of the cache and keep the "recent most used" models. Mario ________________________________________ From: Simon Wells [[email protected]] Sent: 19 May 2016 14:41 To: Mário Luzeiro Cc: Bernhard Stegmaier; Nick Østergaard; KiCad Developers Subject: Re: [Kicad-developers] 3D cache path with the current state of things how many seconds are we talking about? is it almost better to just use temp files and delete on close? On Fri, May 20, 2016 at 1:39 AM, Mário Luzeiro <[email protected]> wrote: > Btw, > On relation to the cache size, on my development tests with my branch, I > notice it can easily reach hundreds of MBytes. > > Mario > > ________________________________________ > From: Kicad-developers > [[email protected]] on behalf of > Mário Luzeiro [[email protected]] > Sent: 19 May 2016 14:32 > To: Bernhard Stegmaier; Nick Østergaard > Cc: KiCad Developers > Subject: Re: [Kicad-developers] 3D cache path > > Hi Bernhard, > > At moment 3D cache has almost any use in the current code. > > If my branch get merged on day: > https://code.launchpad.net/~mrluzeiro/kicad/kicad_new3d-viewer > The 3D viewer will use that cached models to speed up the board loading (so > there is no need to parse the model files and recalculate normals etc..) > > The cache is global, on accord to last Cirilo email, that will be per user > account. > There is a hash function that maps the real file to the cached data, also it > checks for file modification (Cirilo can give more details about it). > > Mario > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

