How to make the file tab to remember the WB used

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: How to make the file tab to remember the WB used

Post by triplus »

As this question came up twice in the past couple of months i actually went ahead and implemented a small module (made a prototype earlier today), but now i see that @openBrain beat me to it with a macro.

Better luck next time i guess. ;)
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: How to make the file tab to remember the WB used

Post by triplus »

Anyway, better to have two solutions compared to one. Tomorrow i will clean up the prototype and publish it. Would do that today but can't come up with a reasonable module name.
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

Re: How to make the file tab to remember the WB used

Post by dxp.dev »

And the link to the feature request post : https://forum.freecadweb.org/viewtopic.php?f=8&t=43345
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
User avatar
dcapeletti
Posts: 504
Joined: Wed Jul 23, 2014 2:27 pm

Re: How to make the file tab to remember the WB used

Post by dcapeletti »

Absolutely right, I think it should be integrated into FreeCAD.
User avatar
salp
Posts: 252
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: How to make the file tab to remember the WB used

Post by salp »

This is a great macro.

Thank you.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: How to make the file tab to remember the WB used

Post by triplus »

openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: How to make the file tab to remember the WB used

Post by openBrain »

salp wrote: Fri Feb 14, 2020 11:39 pm This is a great macro.

Thank you.
Welcome. I opened a dedicated thread in the Python section so feedback & updates are easier to manage.
dcapeletti wrote: Fri Feb 14, 2020 10:10 pm Absolutely right, I think it should be integrated into FreeCAD.
I think it's possible because it won't create a big overhead in the code. Let's ask who knows :
wmayer wrote: Ping
@wmayer : where do you think it would be better integrated in the mainline code ? As a mod ? Or directly somewhere like MainWindow.cpp ? Thx for insight.
wmayer
Founder
Posts: 20301
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: How to make the file tab to remember the WB used

Post by wmayer »

@wmayer : where do you think it would be better integrated in the mainline code ? As a mod ? Or directly somewhere like MainWindow.cpp ? Thx for insight.
I think the best would be to put it to the FreeCAD-addons repo.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: How to make the file tab to remember the WB used

Post by openBrain »

wmayer wrote: Sat Feb 15, 2020 1:32 pm I think the best would be to put it to the FreeCAD-addons repo.
The question was more about porting the feature into the "core" code (probably in C++). ;) Do you think it's not worth having this as a native feature (optionally enabled) ?
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

Re: How to make the file tab to remember the WB used

Post by dxp.dev »

RemBench just got added to the Add-on Manager, and it works well on my side.

Once installed and FC restarted, just activate or de-activate it from the "Accessories" menu bar.


Thanks for that !



OS: macOS Mojave (10.14)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19566 (Git)
Build type: Release
Branch: master
Hash: 9960b673997a926c101b8b61a65e8d3796664c01
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
Post Reply