Hi @easyw
I am importing a kicad_pcb, but some models are not being imported.
See:

I have a custom lib called MyLib.
And, my footprints set 3d models with a relative path.
Right now, it seems this functionality is not implemented in KicadSteUpMod workbench yet.
My projects use local settings for custom libs which use these files inside the project to set libraries path (sym-lib-table and fp-lib-table), but this config can also be global in the system (user settings).
Here is where this functionality was mentioned recently. https://forum.kicad.info/t/how-to-have-a-3d-model-path-relative-to-a-custom-footprint-path/69943/4?u=leoheck
This is how these files look inside, and if the kicad_pcb does not have the whole path to the footprint and then to the 3d model, the path can be extracted from here:
➜ cat fp_lib_table
(fp_lib_table
(lib (name "MyLib")(type "KiCad")(uri "${KIPRJMOD}/libs/MyLib/footprints/MyLib.pretty")(options "")(descr "MyLib footprints."))
)
➜ cat sym_lib_table
(sym_lib_table
(lib (name "MyLib")(type "KiCad")(uri "${KIPRJMOD}/libs/MyLib/symbols/MyLib.kicad_symdir")(options "")(descr "MyLib symbols."))
)
It would be very nice if the workbench could load models that use relative paths.
Thank you.
Hi @easyw
I am importing a kicad_pcb, but some models are not being imported.
See:

I have a custom lib called
MyLib.And, my footprints set 3d models with a relative path.
Right now, it seems this functionality is not implemented in
KicadSteUpModworkbench yet.My projects use local settings for custom libs which use these files inside the project to set libraries path (
sym-lib-tableandfp-lib-table), but this config can also be global in the system (user settings).Here is where this functionality was mentioned recently. https://forum.kicad.info/t/how-to-have-a-3d-model-path-relative-to-a-custom-footprint-path/69943/4?u=leoheck
This is how these files look inside, and if the kicad_pcb does not have the whole path to the footprint and then to the 3d model, the path can be extracted from here:
It would be very nice if the workbench could load models that use relative paths.
Thank you.