[Macro] Bit of help for super users :)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [Macro] Bit of help for super users :)
I think not, but if put in addon manager it would be best to have with the auto load stuff
Re: [Macro] Bit of help for super users :)
I start building it as a WB so it's easier to install, also fixing bugs and adding/merging some features inside. I didn't have had so much time lately, but hopefully I can end it in the coming months.
Re: [Macro] Bit of help for super users :)
Nice!
Do you have a public branch that you're open to sharing and would you accept PRs?
Do you have a public branch that you're open to sharing and would you accept PRs?
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
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
Re: [Macro] Bit of help for super users :)
Public repo is here (dev branch) : https://github.com/0penBrain/FCsuWB/tree/dev
Feel free to PR anyone.
Re: [Macro] Bit of help for super users :)
The slider seems rather polished and useful.
Why has it not been merged in master rather than in a macro?
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: [Macro] Bit of help for super users :)
@openBrain, since some time copying of the FreeCAD infos doesn't work anymore. The info dialog opens but the infos aren't copied nor is the dialog closed again.
I used it quite often, it's probably my most frequently used macro when I'm busy in the forum.
Is there any possibility to get it back ?
It still worked in this version, where I used it to copy the following:
I used it quite often, it's probably my most frequently used macro when I'm busy in the forum.
Is there any possibility to get it back ?
It still worked in this version, where I used it to copy the following:
Code: Select all
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.10.9, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods:
* FC_SU
* freecad.gears 1.0.0
* FeedsAndSpeeds 0.5.0
* dxf-library
* fcgear 1.0.0
* fasteners 0.4.59
* sheetmetal 0.2.62
* ExplodedAssembly
* Curves 0.6.8
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: [Macro] Bit of help for super users :)
Hi, not sure exactly what version of FCSU you are using (you may ignore it yourself as it was not properly versioned ).
May you be kind to test this code to check it works (it is supposed to copy the FC infos in the clipboard):
Code: Select all
from PySide2 import QtCore, QtWidgets
import FreeCADGui as Gui
class AboutInfo(QtCore.QObject):
def eventFilter(self, obj, ev):
if obj.metaObject().className() == 'Gui::Dialog::AboutDialog':
if ev.type() == ev.ChildPolished:
copyBut = obj.findChild(QtWidgets.QPushButton, 'copyButton')
if copyBut:
QtWidgets.QApplication.instance().removeEventFilter(self)
copyBut.click()
QtCore.QMetaObject.invokeMethod(obj, 'reject', QtCore.Qt.QueuedConnection)
return False
def getFCInfo():
ai=AboutInfo()
QtWidgets.QApplication.instance().installEventFilter(ai)
Gui.runCommand('Std_About')
del ai
getFCInfo()
Re: [Macro] Bit of help for super users :)
It works again! Thank you very much!
Sidenote: There are additional blanks in the empty line before def getFCInfo():. These are a problem if the code is executed in the console.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.