Recent nightly 5.99 lost all my 3d models, as “${KISYS3DMOD}” was pointing to wrong location.
Now I see that there’s new “${KICAD6_3DMODEL_DIR}”
How can I change the 3d models to use the right path variable, instead of doing it manually one by one?
Recent nightly 5.99 lost all my 3d models, as “${KISYS3DMOD}” was pointing to wrong location.
Now I see that there’s new “${KICAD6_3DMODEL_DIR}”
How can I change the 3d models to use the right path variable, instead of doing it manually one by one?
It can be done with SED.
In the directory that contains all the .pretty libs
:~$ find ./ -type f -exec sed -i -e ‘s/KISYS3DMOD/KICAD6_3DMODEL_DIR/g’ {} ;
will change each string KISYS3DMOD by KICAD6_3DMODEL_DIR into every file.
Or change the path of ${KISYS3DMOD} to the same path of KICAD6_3DMODEL_DIR
Well… SED is not working as smoothly on my Win10 as expected.
I can manage semi-automated string replace in multiple files, but that would mean the use of old libraries is broken on 5.99 (Kicad shall be able to automatically substitute variable name when importing old libs)
Otherwise many users will be complaining.
You could also re-add KISYS3DMOD and have it point to your own models.
That could be a solution.
How can I add another “Path substitution variable”?
Preferences > Manage footprint libraries seem to only list these, with no option to add another variable.
Preferences --> Configure Paths … and just set the path substitution variable and the desired path.
Seems I have my “legacy” path set properly.
The problem must be elsewhere, if I browse for a 3D model it finds my STEP files, but then they are still not displayed.
EDIT: I’m not the only one affected: https://gitlab.com/kicad/code/kicad/-/issues/7330
I’d also like to see people upvote https://gitlab.com/kicad/code/kicad/-/issues/3815. It would make troubleshooting easier.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.