Environment variable in 3D model path not working

I have set up an environment variable for the base directory for all projects:

${KICAD_USER_BASE} → /home/foo/bar
${KICAD_USER_PACKAGES3D_DIR} → ${KICAD_USER_BASE}/lib/packages3d

This works for symbol libraries, footprint libraries, templates but it fails for 3D models. The 3D models are not loaded when I define a 3D model path as follows:

Footprint Properties → 3D Model
-------------------------------
${KICAD_USER_PACKAGES3D_DIR}/foo.step

However, it works if I use the absolute path: /home/foo/bar/lib/packages3d/foo.step

What’s the issue here? A bug? Why doesn’t this work?

6.0.6+dfsg-1~bpo11+

I use KICAD_USER_3DMODEL_DIR and it seems to work well.

GP

The OP was using 6.0.6
There have been a few 3d search path bug fixes since then, included in 6.0.8

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.