Macro GMSH: Difference between revisions
mNo edit summary |
(Marked this version for translation) |
||
(9 intermediate revisions by 6 users not shown) | |||
Line 2: | Line 2: | ||
<translate> |
<translate> |
||
<!--T:1--> |
<!--T:1--> |
||
{{Macro |
|||
{{Macro|Icon=Text-x-python|Name=GMSHMacro|Description=Create FEM Meshes by GMSH Mesh Generator|Author=psicofil|Version=1.0|Date=2015-08-24}} |
|||
|Name=GMSH Macro |
|||
|Icon=Macro_GMSH.png |
|||
|Description=Create FEM Meshes by GMSH Mesh Generator. It is possible to create linear or bilinear (quadratic) Beam-, Shell- and Volumeelements in |
|||
|Author=psicofil |
|||
|Version=1.0 |
|||
|Date=2015-08-24 |
|||
|FCVersion=All |
|||
|Download=[https://www.freecadweb.org/wiki/images/a/a2/Macro_GMSH.png ToolBar Icon] |
|||
|SeeAlso = [[FEM MeshGmshFromShape|FEM Mesh from shape by Gmsh]] |
|||
}} |
|||
==Important information== <!--T:8--> |
|||
<!--T:9--> |
|||
This macro is outdated. It is Python 2.x code. All the code has been directly integrated in the FEM Workbench before FreeCAD Version 0.20. See [[FEM_MeshGmshFromShape|FEM MeshGmshFromShape]]. |
|||
==Description== <!--T:2--> |
==Description== <!--T:2--> |
||
Line 12: | Line 27: | ||
{{Codeextralink|https://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/GMSHMesh.FCMacro}} |
{{Codeextralink|https://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/GMSHMesh.FCMacro}} |
||
[[File:Macro |
[[File:Macro GMSH00.png|480px|GMSH]] |
||
<translate> |
<translate> |
||
<!--T:3--> |
|||
==Script== |
|||
The macro you can find in the following github repository: [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/GMSHMesh.FCMacro GMSH Macro] |
The macro you can find in the following github repository: [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/GMSHMesh.FCMacro GMSH Macro] |
||
</translate> |
|||
⚫ | |||
ToolBar Icon [[Image:Macro_GMSH.png]] |
|||
⚫ | |||
'''GMSHMesh.FCMacro GMSH Macro.FCMacro''' |
|||
<translate> |
|||
<!--T:4--> |
|||
⚫ | |||
⚫ | |||
<!--T:5--> |
|||
==Link== |
|||
The page discussion [http://forum.freecadweb.org/viewtopic.php?t=11182 GMSH macro] |
The page discussion [http://forum.freecadweb.org/viewtopic.php?t=11182 GMSH macro] |
||
Latest revision as of 10:31, 6 April 2024
Description |
---|
Create FEM Meshes by GMSH Mesh Generator. It is possible to create linear or bilinear (quadratic) Beam-, Shell- and Volumeelements in Macro version: 1.0 Last modified: 2015-08-24 FreeCAD version: All Download: ToolBar Icon Author: psicofil |
Author |
psicofil |
Download |
ToolBar Icon |
Links |
Macros recipes How to install macros How to customize toolbars |
Macro Version |
1.0 |
Date last modified |
2015-08-24 |
FreeCAD Version(s) |
All |
Default shortcut |
None |
See also |
FEM Mesh from shape by Gmsh |
Important information
This macro is outdated. It is Python 2.x code. All the code has been directly integrated in the FEM Workbench before FreeCAD Version 0.20. See FEM MeshGmshFromShape.
Description
Simple macro to create FEM Meshes by the Mesh Generator GMSH. It is possible to create linear or bilinear (quadratic) Beam-, Shell- and Volumeelements in
Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro
# This code is copied instead of the original macro code # to guide the user to the online download page. # Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki # or if the RAW code URL is somewhere else in the wiki. from PySide import QtGui, QtCore diag = QtGui.QMessageBox(QtGui.QMessageBox.Information, "Information", "This macro must be downloaded from this link\n" "\n" "https://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/GMSHMesh.FCMacro" + "\n" "\n" "Quit this window to access the download page") diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) diag.setWindowModality(QtCore.Qt.ApplicationModal) diag.exec_() import webbrowser webbrowser.open("https://raw.githubusercontent.com/psicofil/Macros_FreeCAD/master/Macros/GMSHMesh.FCMacro")
Script
The macro you can find in the following github repository: GMSH Macro
GMSHMesh.FCMacro GMSH Macro.FCMacro
Additional Installations
GMSH has to be installed. See gmsh.info. The macro is intended to run on Linux, OSX and Windows operating system. The binary path of GMSH has to be adapted in the macro.
Link
The page discussion GMSH macro