Info Workbench - Help with icons please.

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Intermezzo
Posts: 31
Joined: Fri Sep 25, 2015 8:09 pm
Location: Germany

Re: Info Workbench - Help with icons please.

Postby Intermezzo » Thu Nov 12, 2015 2:49 pm

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
Posts: 2674
Joined: Wed May 16, 2012 2:13 pm

Re: Info Workbench - Help with icons please.

Postby mario52 » Thu Nov 12, 2015 4:12 pm

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

Re: Info Workbench - Help with icons please.

Postby roberto52 » 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
jmaustpc
Posts: 9566
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Info Workbench - Help with icons please.

Postby jmaustpc » Thu Mar 01, 2018 1:58 pm

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
Posts: 5423
Joined: Wed Oct 22, 2014 5:02 pm

Re: Info Workbench - Help with icons please.

Postby sgrogan » Thu Mar 01, 2018 4:12 pm

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
roberto52
Posts: 11
Joined: Tue Sep 19, 2017 3:50 am

Re: Info Workbench - Help with icons please.

Postby roberto52 » Fri Mar 02, 2018 6:01 am

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

Re: Info Workbench - Help with icons please.

Postby herrdeh » Fri Oct 11, 2019 7:31 pm

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 240 times
Bildschirmfoto von 2019-10-11 21-19-52.png
Bildschirmfoto von 2019-10-11 21-19-52.png (31.96 KiB) Viewed 240 times
Bildschirmfoto von 2019-10-11 21-20-04.png
Bildschirmfoto von 2019-10-11 21-20-04.png (22.81 KiB) Viewed 240 times
Bildschirmfoto von 2019-10-11 21-20-14.png
Bildschirmfoto von 2019-10-11 21-20-14.png (31.64 KiB) Viewed 240 times
Bildschirmfoto von 2019-10-11 21-20-28.png
Bildschirmfoto von 2019-10-11 21-20-28.png (34.34 KiB) Viewed 240 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
ubuntu 18.04.1
herrdeh
Posts: 341
Joined: Wed Sep 03, 2014 12:15 pm

Re: Info Workbench - Help with icons please.

Postby herrdeh » Fri Oct 11, 2019 7:34 pm

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 9 times
Last edited by herrdeh on Fri Oct 11, 2019 7:40 pm, edited 1 time in total.
ubuntu 18.04.1
herrdeh
Posts: 341
Joined: Wed Sep 03, 2014 12:15 pm

Re: Info Workbench - Help with icons please.

Postby herrdeh » Fri Oct 11, 2019 7:38 pm

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

Re: Info Workbench - Help with icons please.

Postby mario52 » Sat Oct 12, 2019 9:33 pm

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 206 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 206 times
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Dialog creation. My macros on Gist.github.