need info about Preference Packs

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: need info about Preference Packs

Post by adrianinsaval »

To install a pack manually, use git to clone the package repository into your FreeCAD data directory (the directory where your user.cfg file is located), in a subdirectory called "Preference Packs"
I have now chaged this to
To install a pack manually, use git to clone the package repository into your FreeCAD data directory (run App.getUserAppDataDir() in the python console in FreeCAD to get this path), in a subdirectory called "Preference Packs"
which is more generalized and should work for all versions
User avatar
Chrismettal
Posts: 43
Joined: Fri Sep 18, 2020 11:44 am
Location: Germany
Contact:

Re: need info about Preference Packs

Post by Chrismettal »

Thanks for the replies. The new wiki documentation is much clearer, thank you!

Sadly I still seem to get something wrong, neither the flatpak nor the source built one actually show the pack if inserted into their respective paths. The pack itself should be valid, as it works when adding it to a repo, and telling the addon manager to check that repo for addons.

Here is my structure on the source built one as an example:
Monstarch_20220710_101305.png
Monstarch_20220710_101305.png (424.29 KiB) Viewed 891 times
EDIT:

Adding the packs to the "Mod" directory will make 'em show up as if installed through the addon manager.

Known good pack linked manually into Flatpak location:
Monstarch_20220710_141647.png
Monstarch_20220710_141647.png (34.79 KiB) Viewed 869 times
TestPack manually moved into source built location:
Monstarch_20220710_141941.png
Monstarch_20220710_141941.png (42.8 KiB) Viewed 868 times
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: need info about Preference Packs

Post by adrianinsaval »

Hmmm, when I install a preference pack it gets installed into Mod directory too, @chennes is this a bug or should we change the wiki to mention the Mod directory rather than an inexistence Preference Pack directory?

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * A2plus 0.4.54b
  * AirPlaneDesign
  * Assembly4 0.12.1
  * Autoload
  * Behave-Dark-Colors 0.1.1
  * CfdOF 1.17.0
  * CubeMenu
  * CurvedShapes 1.0.0
  * Curves 0.5.0
  * DynamicData 2.34.0
  * fasteners 0.3.38
  * FCGear 1.0.0
  * FC_SU
  * Glass
  * IconThemes
  * Plot
  * SelectorToolbar
  * sheetmetal 0.2.49
User avatar
chennes
Veteran
Posts: 3868
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: need info about Preference Packs

Post by chennes »

Preference Packs installed via the Addon Manager are put into Mod, along with everything else the AM installs. Packs that are saved locally are put in Preference Packs (which is created if it does not exist).
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: need info about Preference Packs

Post by adrianinsaval »

This does not work for me either, I just copy pasted one that I installed from addon manager and it does not show up
Post Reply