Selecting internal faces of a pressure vessel

About the development of the FEM module/workbench.

Moderator: bernd

HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Selecting internal faces of a pressure vessel

Post by HoWil »

mario52 wrote:hi
i add this line before self.dialog.show() and the window StaysOnTopHint

Code: Select all

        self.dialog.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)    # 

        self.dialog.show()
        self.dialog.exec_()
mario
Thank you mario for this hint. Will consider it for the next 'release' of the macro.
BR
HoWil
freecad-heini-1
Veteran
Posts: 7790
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Selecting internal faces of a pressure vessel

Post by freecad-heini-1 »

Thank you so much for coding such a useful tool, but it did not work for me:
Image
freecad-heini-1
Veteran
Posts: 7790
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Selecting internal faces of a pressure vessel

Post by freecad-heini-1 »

I tried the first script, it worked for me:
https://forum.freecadweb.org/download/file.php?id=30847

Code: Select all

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6710 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: f8eca0f9311f07c125dd6742a607724c1fa0b77c
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Selecting internal faces of a pressure vessel

Post by HoWil »

freecad-heini-1 wrote: Sun Jun 18, 2017 7:37 am Thank you so much for coding such a useful tool, but it did not work for me:
Image
Hi freecad-heini-1,
could you please again attach the above image so I can get an impression whats going wrong.
BTW: I did not test it with 0.16 since the FEM did evolve massively in 0.17 and almost all FEM related work is going on on 0.17. But I am happy that you found a solution.
BR,
HoWil
Post Reply