Turning Zolko's theme in to a Preference Pack

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Turning Zolko's theme in to a Preference Pack

Post by Kunda1 »

Image

Anyone interested in helping make this possible?
Ref: Preference Packs

CC @Zolko
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Turning Zolko's theme in to a Preference Pack

Post by Zolko »

Kunda1 wrote: Mon Aug 15, 2022 1:10 pm Anyone interested in helping make this possible?
Ref: Preference Packs
for what it's worth, I attach my config folder (in Linux, in ~/.config/FreeCAD (and my real start-up workbench is Part and not PartDesign, but that should be easy to fix))
Attachments
FreeCAD.zip
(9.46 KiB) Downloaded 83 times
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by Kunda1 »

@Zolko, thanks! Since it's your theme and you should have some attribution, I propose you give it a name and create repo for it. Then we can start pulling it apart in a collaborative way.

Re: start workbench option is a user config parameter that easily customizable, so yea..no worries

Code: Select all

        <FCParamGroup Name="General">
          <FCText Name="AutoloadModule">PartWorkbench</FCText>
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by drmacro »

How does one get the tabs down the left side?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by drmacro »

Wouldn't it be a good starting place to use the preference pack "Save as"?

Just curious... :roll:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by Kunda1 »

Looks like this theme depends on triplus's TabBar addon

Code: Select all

      <FCParamGroup Name="TabBar">
        <FCText Name="Orientation">West</FCText>
        <FCText Name="Style">Text</FCText>
        <FCText Name="Enabled">Assembly4Workbench,WeldingWorkbench,PartWorkbench,PartDesignWorkbench,CurvedShapesWB,CurvesWorkbench,DraftWorkbench,TechDrawWorkbench</FCText>
        <FCText Name="Partially"/>
        <FCText Name="Unchecked">A2plusWorkbench,ArchWorkbench,DrawingWorkbench,FastenersWorkbench,FemWorkbench,GearWorkbench,ImageWorkbench,InspectionWorkbench,MeshWorkbench,NoneWorkbench,OpenSCADWorkbench,PathWorkbench,PointsWorkbench,RaytracingWorkbench,RenderWorkbench,ReverseEngineeringWorkbench,RobotWorkbench,SMWorkbench,SketcherWorkbench,SpreadsheetWorkbench,StartWorkbench,SurfaceWorkbench,TestWorkbench,WebWorkbench</FCText>
        <FCText Name="Position">Assembly4Workbench,WeldingWorkbench,PartWorkbench,PartDesignWorkbench,A2plusWorkbench,ArchWorkbench,CurvedShapesWB,CurvesWorkbench,DraftWorkbench,DrawingWorkbench,FastenersWorkbench,FemWorkbench,GearWorkbench,ImageWorkbench,InspectionWorkbench,MeshWorkbench,NoneWorkbench,OpenSCADWorkbench,PathWorkbench,PointsWorkbench,RaytracingWorkbench,RenderWorkbench,ReverseEngineeringWorkbench,RobotWorkbench,SMWorkbench,SketcherWorkbench,SpreadsheetWorkbench,StartWorkbench,SurfaceWorkbench,TechDrawWorkbench,TestWorkbench,WebWorkbench</FCText>
      </FCParamGroup>

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Turning Zolko's theme in to a Preference Pack

Post by Zolko »

Kunda1 wrote: Mon Aug 15, 2022 1:36 pm Looks like this theme depends on triplus's TabBar addon
yes, and that one should be part of a standard FreeCAD package
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by Kunda1 »

drmacro wrote: Mon Aug 15, 2022 1:35 pm Wouldn't it be a good starting place to use the preference pack "Save as"?

Just curious... :roll:
Indeed drmacro!
@Zolko , would you please do this? (See Preference_Packs#Creating_a_new_pack)

Also I've started a gist for the package.xml file following the Package_Metadata docs.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Turning Zolko's theme in to a Preference Pack

Post by Zolko »

drmacro wrote: Mon Aug 15, 2022 1:35 pm Wouldn't it be a good starting place to use the preference pack "Save as"?
see attached, remove the .txt extension, and place in :

~/.local/share/FreeCAD/SavedPreferencePacks/ZolkoPack/
Attachments
ZolkoPack.cfg.txt
(4.04 KiB) Downloaded 81 times
try the Assembly4 workbench for FreCAD — tutorials here and here
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Turning Zolko's theme in to a Preference Pack

Post by drmacro »

When I us the zolko files it does not find the icon for offset 3D curves.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply