Macro GMSH

From FreeCAD Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Macro GMSH and the translation is 100% complete.
Other languages:

GMSHMacro

Descrizione
Crea Mesh FEM con il generatore di Mesh GMSH. La macro è idonea per essere eseguita su sistema operativo Linux, OSX e Windows. Il percorso binario di Gmsh deve essere adattato nella macro.

Versione macro: 1.0
Ultima modifica: 2015-08-24
Versione FreeCAD: Tutte versione
Download: Icona per la ToolBar
Autore: psicofil
Autore
psicofil
Download
Icona per la ToolBar
Link
Versione macro
1.0
Data ultima modifica
2015-08-24
Versioni di FreeCAD
Tutte versione
Scorciatoia
Nessuna
Vedere anche
Mesh FEM da forma con GMSH

Informazioni importanti

Questa macro è obsoleta. È in codice Python 2.x. Tutto il codice è stato integrato direttamente nell'ambiente FEM prima della versione 0.20 di FreeCAD. Vedere MeshGmshFromShape in FEM.

Descrizione

Semplice macro per creareMesh FEM Mesh con il generatore di mesh Gmsh. È possibile creare reticoli bidimensionali o tridimensionali

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

Script

La macro si può trovare nel seguente repositorio github: GMSH Macro

ToolBar Icon

GMSHMesh.FCMacro GMSH Macro.FCMacro

Installazioni aggiuntive

GMSH deve essere installato. Vedere gmsh.info. La macro è idonea per essere eseguita su sistema operativo Linux, OSX e Windows. Il percorso binario di Gmsh deve essere adattato nella macro.

Link

La pagina della discussione nel forum: GMSH macro

Vedere su YouTube come utilizzare la macro.