maui
January 24, 2022, 10:24am
1
which is the default path on different Os for kicad6_3dmodel_dir?
are these correct?
linux
/usr/share/kicad/3dmodels
osx
/Library/Application Support/kicad/3dmodels
/Applications/KiCad/KiCad.app/Contents/SharedSupport/3dmodels/
win
C:\Users\%username%\Documents\KiCad\6.0\3dmodels
C:\Program Files\KiCad\6.0\share\kicad\3dmodels
cioma
January 24, 2022, 5:34pm
2
Would it be possible to use ${KICAD6_3DMODEL_DIR} envar instead of hardcoded paths?
macOS has moved the models into the Application bundle itself. I can see why they did this as Application Support is not writeable by a user but its a bit odd and bloats and slows the installer.
${KICAD6_3DMODEL_DIR} /Applications/KiCad/KiCad.app/Contents/SharedSupport/3dmodels/
maui
January 25, 2022, 10:20am
4
@John_Pateman
thanks, I need to load defaults for each os to create the new defaults for StepUp with kv6
jmk
January 25, 2022, 12:29pm
5
@maui
/usr/share/kicad/3dmodels/
for linux
maui
January 25, 2022, 2:32pm
6
@jmk thanks for your feedback
“KICAD6_3DMODEL_DIR=C:\Program Files\KiCad\6.0\share\kicad\3dmodels”
“KICAD6_3RD_PARTY=D:\Data\Documents\KiCad\6.0\3rdparty”
in Win10
eelik
January 25, 2022, 3:04pm
8
Certainly the 3rd party folder isn’t in D: by default…
Those are the default on my PC where I have my “user” folder on the D drive.
Inside D:\Data you’ll find the “Pictures”, “Desktop”, “Documents” and “Downloads” folders.
maui
January 31, 2022, 9:36am
10
thx @der.ule I have updated the paths
1 Like
I wonder, is there a way through the KiCad Python API to query what the current setting is for that (or any) path variable? Or is StepUp not able to reference KiCad’s API because it is run within FreeCAD’s sandbox (especially on Winblows where KiCad uses it’s own Python environment instead of any other Python environment)?
maui
February 10, 2022, 9:36am
12
It is not possible to query kicad api from freecad.
A dirty workaround is to read the config files… but I prefer to leave it to the human involvement.
That’s what I was afraid of (for you).
system
Closed
May 11, 2022, 4:21pm
14
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.