Info Workbench - Help with icons please.

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Intermezzo
Posts: 31
Joined: Fri Sep 25, 2015 8:09 pm
Location: Germany

Re: Info Workbench - Help with icons please.

Post by Intermezzo »

mario52 wrote:hi
the file is false zip you must delete ".zip" and use
or what's the problem ?
or the link my macros to gists https://gist.github.com/mario52a (FCInfo last page)
mario
:roll: OK. I feel like an idiot.
But it works now :D
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Info Workbench - Help with icons please.

Post by mario52 »

hi
no problem thanks for report
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
roberto52
Posts: 11
Joined: Tue Sep 19, 2017 3:50 am

Re: Info Workbench - Help with icons please.

Post by roberto52 »

I have installed the macro ObjectInfo
When I open info a warning appear on the screen
No module named PyQt4
Can you help me ?
thanks
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Info Workbench - Help with icons please.

Post by jmaustpc »

roberto52 wrote: Thu Mar 01, 2018 7:56 am I have installed the macro ObjectInfo
When I open info a warning appear on the screen
No module named PyQt4
Can you help me ?
thanks
Please start by providing your version data in the manner explained in the forum rules link above the Help forum.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Info Workbench - Help with icons please.

Post by sgrogan »

roberto52 wrote: Thu Mar 01, 2018 7:56 am I have installed the macro ObjectInfo
When I open info a warning appear on the screen
No module named PyQt4
Can you help me ?
thanks
You have an old version of the macro that uses PyQt4, FreeCAD now uses Pyside instead.
You can get the latest version of the macro and the icons here:https://gist.github.com/mario52a/8d40ab6c018c2bde678f
Instructions here: https://www.freecadweb.org/wiki/index.p ... cro_FCInfo
"fight the good fight"
roberto52
Posts: 11
Joined: Tue Sep 19, 2017 3:50 am

Re: Info Workbench - Help with icons please.

Post by roberto52 »

thanks for the quick answer
herrdeh
Posts: 431
Joined: Wed Sep 03, 2014 12:15 pm

Re: Info Workbench - Help with icons please.

Post by herrdeh »

Hello,

love this macro, I think these essential infos should be part of "FC core"...

Now I found a little glitch - not sure whether it's my wrong. I can nicely find out lengths of sketcher lines, but with the sketch "open" (means: sketch is in editable mode), I get wrong results:
Bildschirmfoto von 2019-10-11 21-19-39.png
Bildschirmfoto von 2019-10-11 21-19-39.png (43.81 KiB) Viewed 2017 times
Bildschirmfoto von 2019-10-11 21-19-52.png
Bildschirmfoto von 2019-10-11 21-19-52.png (31.96 KiB) Viewed 2017 times
Bildschirmfoto von 2019-10-11 21-20-04.png
Bildschirmfoto von 2019-10-11 21-20-04.png (22.81 KiB) Viewed 2017 times
Bildschirmfoto von 2019-10-11 21-20-14.png
Bildschirmfoto von 2019-10-11 21-20-14.png (31.64 KiB) Viewed 2017 times
Bildschirmfoto von 2019-10-11 21-20-28.png
Bildschirmfoto von 2019-10-11 21-20-28.png (34.34 KiB) Viewed 2017 times
It's not a big deal, but can be a problem if you do not know that you MUST ONLY USE FCInfo, if sketcher is closed. So a closer examination might be worth...

Cheers,
Wolf
herrdeh
Posts: 431
Joined: Wed Sep 03, 2014 12:15 pm

Re: Info Workbench - Help with icons please.

Post by herrdeh »

NB:

Code: Select all

30/05/2019 ver "01.21-rmu"

Code: Select all

OS: Ubuntu 18.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)

Here comes my example file.
Attachments
FCInfo.FCStd
(4.75 KiB) Downloaded 55 times
Last edited by herrdeh on Fri Oct 11, 2019 7:40 pm, edited 1 time in total.
herrdeh
Posts: 431
Joined: Wed Sep 03, 2014 12:15 pm

Re: Info Workbench - Help with icons please.

Post by herrdeh »

NB2:
I think it would be a good idea if the macro would read from global settings about "digits behind decimal point".
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Info Workbench - Help with icons please.

Post by mario52 »

hi

tanks for report but I do not know how to correct in sketcher open

FCinfo_Sketch00.gif
FCinfo_Sketch00.gif (530.04 KiB) Viewed 1983 times
herrdeh wrote: Fri Oct 11, 2019 7:38 pm "digits behind decimal point"
yes for the next version and save the config in file, icon include in macro and other little adding

FCinfo_Arround00.gif
FCinfo_Arround00.gif (243.23 KiB) Viewed 1983 times
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
Post Reply