[Solved, only Q&D] Gmsh Task Panel Misbehavior

About the development of the FEM module/workbench.

Moderator: bernd

UR_
Posts: 1171
Joined: Tue Jan 03, 2017 8:42 pm

[Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by UR_ » Wed Sep 04, 2019 5:43 pm

Task panel:

Screenshot 001.png
Screenshot 001.png (18.65 KiB) Viewed 686 times

workflow:
- load 3D-cantilever example from FreeeCAD's start page
- select "Cube" and open new Gmsh task panel
- input something like 500 to "Max element size"
- hit "Apply" button

:sob:
value is not accepted!

got error message in report view instead
TypeError: Can't call meta function because I have no idea how to handle Base::Quantity


version:
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18065 (Git)
Build type: Release
Branch: master
Hash: 349acc75ad0f73fc01227b6bad64e76e85203b93
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Last edited by UR_ on Sun Sep 29, 2019 2:22 am, edited 2 times in total.
User avatar
bernd
Posts: 9246
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh Task Panel Misbehavior

Post by bernd » Wed Sep 04, 2019 9:06 pm

works great here on

OS: Debian GNU/Linux 10 (buster) (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18038 (Git)
Build type: Unknown
Branch: master
Hash: 864619fcec2d8ccaba1ac2f5aef5ba870756a81a
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
User avatar
bernd
Posts: 9246
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh Task Panel Misbehavior

Post by bernd » Wed Sep 04, 2019 9:09 pm

in swiss german no komma is used but a dot instead. Try https://forum.freecadweb.org/viewtopic. ... 10#p118866
UR_
Posts: 1171
Joined: Tue Jan 03, 2017 8:42 pm

Re: Gmsh Task Panel Misbehavior

Post by UR_ » Thu Sep 05, 2019 7:31 am

Just using clean build


OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18071 (Git)
Build type: Release
Branch: master
Hash: c3b07a97150a32a0d84ed860bb89d76b450f8377
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)


GIF.gif
GIF.gif (74.47 KiB) Viewed 603 times

And after that:

Screenshot 002.png
Screenshot 002.png (12.77 KiB) Viewed 609 times



EDIT:
BTW, got this error message in report view
TypeError: Can't call meta function because I have no idea how to handle Base::Quantity
UR_
Posts: 1171
Joined: Tue Jan 03, 2017 8:42 pm

Re: Gmsh Task Panel Misbehavior

Post by UR_ » Thu Sep 05, 2019 6:54 pm

Same error message in task panel ElementGeometry2D.

Was discussed some weeks ago.

Please see here: https://forum.freecadweb.org/viewtopic.php?f=10&t=31776
User avatar
bernd
Posts: 9246
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Gmsh Task Panel Misbehavior

Post by bernd » Fri Sep 06, 2019 8:09 pm

I have no idea and will be of not a big help in this regard.
UR_
Posts: 1171
Joined: Tue Jan 03, 2017 8:42 pm

Re: Gmsh Task Panel Misbehavior

Post by UR_ » Sat Sep 07, 2019 6:16 am

bernd wrote:
Fri Sep 06, 2019 8:09 pm
I have no idea and will be of not a big help in this regard.
Nevertheless big Thanks!

But meanwhile problem was "solved", Q&eD (quick and extremely dirty) :rofl:

Reason is a CMakeLists.txt bug regarding qt 5.12.1 and PySide2/Shiboken2

Adding these 4 lines solved build issues

Code: Select all

set(PYSIDE_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/PySide2")
set(SHIBOKEN_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/shiboken2")
set(PYSIDE_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/pyside2.cp37-win_amd64.lib")
set(SHIBOKEN_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/shiboken2.cp37-win_amd64.lib")
:oops:
User avatar
Kunda1
Posts: 7008
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by Kunda1 » Sat Sep 07, 2019 1:02 pm

UR_ wrote:
Sat Sep 07, 2019 6:16 am
But meanwhile problem was "solved", Q&eD (quick and extremely dirty) :rofl:
Reason is a CMakeLists.txt bug regarding qt 5.12.1 and PySide2/Shiboken2
Adding these 4 lines solved build issues

Code: Select all

set(PYSIDE_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/PySide2")
set(SHIBOKEN_INCLUDE_DIR "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/include/shiboken2")
set(PYSIDE_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/pyside2.cp37-win_amd64.lib")
set(SHIBOKEN_LIBRARY "C:/Users/aio/Miniconda3/envs/freecad-dev/Library/lib/shiboken2.cp37-win_amd64.lib")
Do these need to be added to CMake? should we let @looo know?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
UR_
Posts: 1171
Joined: Tue Jan 03, 2017 8:42 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by UR_ » Sat Sep 07, 2019 3:05 pm

Kunda1 wrote:
Sat Sep 07, 2019 1:02 pm
should we let @looo know?
Of course, he got the news! :newspaper_roll:
User avatar
Kunda1
Posts: 7008
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Solved, only Q&D] Gmsh Task Panel Misbehavior

Post by Kunda1 » Sat Sep 07, 2019 4:01 pm

UR_ wrote:
Sat Sep 07, 2019 3:05 pm
Of course, he got the news! :newspaper_roll:
:+1:
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
Post Reply

Who is online

Users browsing this forum: mpetrasinovic and 3 guests