Macro GMSH: Difference between revisions

From FreeCAD Documentation
No edit summary
mNo edit summary
Line 15: Line 15:


<translate>
<translate>
===Use=== <!--T:3-->
==Use== <!--T:3-->
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]


===Additional Installations=== <!--T:4-->
==Additional Installations== <!--T:4-->
GMSH has to be installed. See [http://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.
GMSH has to be installed. See [http://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=== <!--T:5-->
==Link== <!--T:5-->
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]



Revision as of 17:36, 8 August 2018

Other languages:

File:Text-x-python GMSHMacro

Description
Create FEM Meshes by GMSH Mesh Generator

Macro version: 1.0
Last modified: 2015-08-24
Author: psicofil
Author
psicofil
Download
None
Links
Macro Version
1.0
Date last modified
2015-08-24
FreeCAD Version(s)
None
Default shortcut
None
See also
None

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")


GMSH

Use

The macro you can find in the following github repository: GMSH Macro

Additional Installations

GMSH has to be installed. See [1]. 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

See the how to use the macro on YouTube.