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
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

need info about Preference Packs

Post by uwestoehr »

I am currently documenting the new feature "Preference Packs":
https://wiki.freecadweb.org/Preference_Packs
and I need more info.

For example I have changed the background color in the "Display" section of the preferences. I want to create a new pack that contains this preferences change. How is this done?

chennes wrote: .
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 »

I've added a bunch of content to that page (and thanks for your edits, as well). Please have a look and let me know what you feel still needs more detail. It's sort of a moving target as I rewrite the Addon Manager, but that will be done soon.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: need info about Preference Packs

Post by uwestoehr »

chennes wrote: Tue Dec 07, 2021 5:15 am I've added a bunch of content to that page (and thanks for your edits, as well). Please have a look and let me know what you feel still needs more detail. It's sort of a moving target as I rewrite the Addon Manager, but that will be done soon.
Many thanks!

I have further questions:

- how can I add and change tags for a package? In the preferences i see that the default pack has the tags "built-in, colors".

- how can I change the name of a pack? I created a new pack named "test". Now I am happy with it and wanted to give it a more sensible name but don't know how.
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 »

All of that is set in the package.xml metadata file: see https://wiki.freecadweb.org/Package_Metadata
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: need info about Preference Packs

Post by uwestoehr »

chennes wrote: Wed Dec 08, 2021 1:15 am All of that is set in the package.xml metadata file: see https://wiki.freecadweb.org/Package_Metadata
Thanks. So in https://wiki.freecadweb.org/Preference_Packs only the info is missing that setting a tag or changing the pack name has to be done via the package.xml file and how. Could you please add this?
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 »

Done.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
kaktus
Veteran
Posts: 1149
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: need info about Preference Packs

Post by kaktus »

Hi.

chennes I looked at your article.
The included screenshot is no longer valid (the first one).
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
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 »

kaktus wrote: Thu Dec 09, 2021 1:41 pm The included screenshot is no longer valid (the first one).
What is wrong with it? I only took it yesterday! :shock:
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
kaktus
Veteran
Posts: 1149
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: need info about Preference Packs

Post by kaktus »

It's just outdated, it's not current.
;)
preferencje_nowe.png
preferencje_nowe.png (142.92 KiB) Viewed 5387 times
It lacks the options I have highlighted.

:idea:
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
Roy_043
Veteran
Posts: 8409
Joined: Thu Dec 27, 2018 12:28 pm

Re: need info about Preference Packs

Post by Roy_043 »

Another new feature seems to be the "Manage..." button:
https://wiki.freecadweb.org/File:Prefer ... eneral.png
Post Reply