FreeCAD modern look script

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: FreeCAD modern look script

Post by Zolko »

dulouie wrote: Mon Nov 16, 2020 7:42 pm And the thing with the missing backup is a disadvantage, but I have already fixed it.

Code: Select all

    src = userDir + "user.cfg"
    des = userDir + "user_backup.cfg"
    copyfile(src, des)
what if you do it twice ? You overwrite the backup file, which means that the original user.cfg is gone. You seem to be a nice person with goodwill, so I'll give you an advice: Murphy is your friend.
try the Assembly4 workbench for FreCAD — tutorials here and here
User avatar
dulouie
Posts: 95
Joined: Tue Oct 03, 2017 4:14 pm

Re: FreeCAD modern look script

Post by dulouie »

Zolko wrote: Mon Nov 16, 2020 8:05 pm
dulouie wrote: Mon Nov 16, 2020 7:42 pm And the thing with the missing backup is a disadvantage, but I have already fixed it.
what if you do it twice ? You overwrite the backup file, which means that the original user.cfg is gone. You seem to be a nice person with goodwill, so I'll give you an advice: Murphy is your friend.
Yes i've forgotten the check, will be delivered later.
edit: should be fixed.
User avatar
RedBaron
Posts: 371
Joined: Wed Sep 23, 2020 12:53 pm

Re: FreeCAD modern look script

Post by RedBaron »

@dulouie
Many thanks for the script.

@Zolko
Thanks for the hints and the Assembly 4 Workbench.
Post Reply