5
\$\begingroup\$

I'd like pcbnew to find my custom .wrl files for my custom footprints without having the absolute path hardcoded in the .kicad_mod files. I can manipulate the KISYS3DMOD environment variable but then, or course, the standard 3d models are no longer found.

I've also tried to set the path to the model in the .mod file to ${KIPRJMOD}/../packages3d/MyComponent.wrl but that doesn't seem to work. Also putting multiple paths into KISYS3DMOD separated by a colon has no effect (well, the effect is, that neither path works). I don't want to put my custom packages on every system to /usr/share/kicad/modules/packages3d/, or course.

Any help is greatly appreciated.

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

You can add your own variable in the Preferences->Configure Paths...
You might need to restart KiCad for the variable to be seen by other KiCad editors.

enter image description here

Then edit your footprint module and in 3D Settings add your custom wrl. Once added the absolute path will be replaced with the above defined path variable.

enter image description here

I'm running KiCad v5.0.0.

\$\endgroup\$
1
\$\begingroup\$

I have used defined paths in PCBNew/Preferences/Library.

enter image description here

When 3D model resides in a directory on leaf of any path then relative path is used.

enter image description here

\$\endgroup\$
3
  • \$\begingroup\$ Thanks, but I don't even have PCBNew/Tools/Library. I'm currently running rev5528, should I update? \$\endgroup\$ Commented Sep 3, 2015 at 19:10
  • \$\begingroup\$ Same with the nightly build 6151 \$\endgroup\$ Commented Sep 3, 2015 at 19:59
  • \$\begingroup\$ Hmm, I'm using old (2013-jul-07)-testing on WinXP. It's Preferences/Library (I've fixed in original post) in English locale. \$\endgroup\$
    – TMa
    Commented Sep 3, 2015 at 21:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.