I tried to modify in preferences, but, if I replace the path with another, for example footprints Kicad don’t found the standard footprints.
Must i add another path , with the same environmental name? Like KICAD6_FOOTPRINT_DIR ?
I tried to modify in preferences, but, if I replace the path with another, for example footprints Kicad don’t found the standard footprints.
Must i add another path , with the same environmental name? Like KICAD6_FOOTPRINT_DIR ?
I have tried.
The variable can have only one value.
Adding a new value kills the old value, and Kicad don’t found the libraries.
You can use whatever name for a new variable. The important point is to add libraries to the library table (fp-lib-table in case of footprints) using that variable name. Now there are libraries using “KICAD6_FOOTPRINT_DIR” in the fp-lib-table. When you change the content of the variable, KiCad tries to find those libraries from the new location.
To understand this better you can create a test library with just one footprint and put the library folder in some location different than your other libraries, for example under C:\temp. Create a variable TMP_FP or something like that and point it to C:\temp. Go to Preferences → Manage Footprint Libraries. I suggest adding to Project Specific libraries for testing purposes. Use “Add existing” (the folder icon) and add you testing library. Now you should have a new line there which automatically uses TMP_FP.
My 3 cents.
I use Windows.
I don’t know what NAS is.
I have done my Backup.bat (all important files backup) and Backup_r.bat (only new files backup) in the 90s and never had enough motivation to search for something else.
I have my KiCad project files in D:\Mm\KiCad\PrjGrpName\PrjName directories.
I have my KiCad symbol libraries in D:\Mm\KiCad\_SchLib directory.
I have my KiCad footprint libraries in D:\Mm\KiCad\_PcbLib directory.
I have my 3D models used in footprints in D:\Mm\KiCad\_3DMod directory.
I backup D:\Mm directory each day.
When I want to work at laptop I just have to copy Mm directory from my backup pendrive (in my case that means copy from last full backup + copy from last ‘new files’ backup).
I don’t expect any synchronization program (I understand NAS has such function) can do well with PrjGrpName directory and not do well with _SchLib or _PcbLib directory.
The only problem for me is the C:\Users\Piotr\AppData\Roaming\kicad directory that is out of my backuped D:\Mm directory. But I didn’t noticed any problem when I just didn’t copied the current version of it. Only configuration that is not saved in Project file can be little ‘not current’. For example current project or recently Opened Projects list are old but it takes few seconds to search project I want.
I have no problems with library lists as since I have set them in 2017 I didn’t changed them.
Hello.
To be clear, the trouble is not from the synchro again. It works perfectly well in fact.
The issue was only because if I do not create the same name (and only the name is necessary) of library on the second PC, it does not know that there is a library created.
Once this done, it runs.
I am on Kicad 6 and reading the FAQ, Kicad 5 seems a bit different.
AT the moment , I have created a new library on PC2. and is only visible on it.
I have to do just an extra job on PC1 to let Kicad know it.
An other issue I see, is that it is impossible to modify the defaul path that Kicad propose where to save the footprint library. If I don’t take some extra attention, it will save it under programfiles/kicad/ etc…
So I look now how to change this value.
Me too.
Testing all the KiCad’s functions (and finding what can be improved) is of course much appreciated by all of us as a way to make program better.
But if the goal is to make the life easier it may be better to avoid unusual actions.
From my point of view, creating libraries is a one time action. Moving to KiCad I thought carefully about what structure of libraries I want to have and I created them once using those time KiCad 4.0.7 (at the beginning I had in some libraries only 1 (not needed by me) element (symbol/footprint) just to not have it empty).
Now I only use:
If you create at one PC the new library and then add it to the list then you modify the contents of AppData\Roaming\kicad at that PC so you need some way to copy it to second PC.
You can probably find the way to have that all done automatically. I can’t help in it. I am just saying that may be the simpler solution is to find workflow not needing it.
It’s just my lazy nature - I’d rather avoid problems than solve them.
Many thanks for this post.
You are right, and I forgot to have a look on App/data/roaming.
The file fp-lib-tabl is there. and the update of library is inside.
As you say , I can find the way to do it automatically. or I continue to create again the same names on the other PC. At the moment , its works . I wiil see if I put this directory in the list of those managed by the synchro. It is very quick to do , but not very universal.
The file fp-lib-table is the result of what Kicad footprint editor writes at the exit .
My way is to say the other kicad to do it, while creating the new name, but like an human , it is necessary that I remember to update the other PC.
On other way is to put every footprint in one unic library. And may it is what I will do , because I do not have so much footprints to create, even if I will mix THT, SMD, connectors, and so on.
Working with Protel (till 2017) I had all footprints in one library that during years raised and raised.
When decided to move to KiCad first I done (before even trying to design first PCB was to decide how will look my library structure.
I have described it some time ago (may be you will see it useful):
I came here to suggest the use of GIT and also Github or similar to make sure your libraries are under version control. The merge features may even help if you have two persons or two PC with changes against a single library.
If you are not using some sort of version control or cannot explain with a very convincing case why you are not using version control that is symptomatic of not understanding how it may head off the problems you anticipate and will head off the problems of crashed or corrupted PCs.,
Git may not be the best VCS in this situation. The op wants to use a NAS for library storage and if they are going down the VCS route, SVN might be a better fit. One advantage is that SVN can enforce file locking and thus help to avoid merges altogether. You really don’t want to have to decide how to merge something like
(fp_line (start -6.38 -15.5) (end -6.38 -35) (layer “F.SilkS”) (width 0.12) (tstamp 1447f2d7-77d5-417d-ab18-c865cb322f17))<
With
(fp_line (start -6.38 -35) (end 61.62 -35) (layer “F.SilkS”) (width 0.12) (tstamp 2e696190-d0be-445e-b040-877485973888))
I can fully agree about advantages of file locking.
However the problem of merging:
(fp_line (start -6.38 -15.5) (end -6.38 -35) (layer “F.SilkS”) (width 0.12) (tstamp 1447f2d7-77d5-417d-ab18-c865cb322f17))<
With
(fp_line (start -6.38 -35) (end 61.62 -35) (layer “F.SilkS”) (width 0.12) (tstamp 2e696190-d0be-445e-b040-877485973888))
Is much better than one overwriting the other and nothing to merge.
I have no idea if the Tortious interface I have used for SVN managed the locking and if it would for Git on a local or NAS drive. With out fear of contradiction I can say I may be giving less than the best advise regarding that issue.
Hello.
First of all, the problem is not a replication problem. Read the whole thread again.
My libraries are perfectly updated on the NAS, and copied to the other PC, as soon as waked up, , with the NAS utilities.
In my case, I am the only one on my home network using Kicad, and on my own PCs.
Git, SVN are not useful here in my case. I use Git for the development of a C software shared with some friends.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.