Macro GMSH/fr: Difference between revisions

From FreeCAD Documentation
mNo edit summary
mNo edit summary
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Macro/fr
{{Macro/fr|Icon=Text-x-python|Name=GMSHMacro|Name/fr=GMSHMacro|Description=Crée un maillage FÉM avec un mailleur GMSH|Author=psicofil|Version=1.0|Date=2015-08-24}}
|Name=GMSH Macro
|Icon=Macro_GMSH.png
|Description=Crée un maillage FEM avec un mailleur GMSH. Il est possible de créer une coquille et un volume linéaire ou bilinéaire (quadratique).
|Author=psicofil
|Version=1.0
|Date=2015-08-24
|FCVersion=Toutes versions
|Download=[https://www.freecadweb.org/wiki/images/a/a2/Macro_GMSH.png Icône pour votre barre d'outils]
}}


==Description==
==Description==
Line 8: Line 17:
{{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 GMSH.png|480px|GMSH]]
[[File:Macro GMSH00.png|480px|GMSH]]


==Utilisation==
==Script==
Vous pouvez télécharger la macro dans le référentiel de GitHub : [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/GMSHMesh.FCMacro GMSH Macro]
Vous pouvez télécharger la macro dans le référentiel de GitHub : [https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/GMSHMesh.FCMacro GMSH Macro]

ToolBar Icon [[Image:Macro_GMSH.png]]

'''GMSHMesh.FCMacro GMSH Macro.FCMacro'''


==Installation additionnelle==
==Installation additionnelle==
Quand GMSH est installé, voir [http://gmsh.info/]. La macro fonctionne dans les systèmes d'exploitation Linux, OSX et Windows. Le chemin du binaire gmsh.exe doit être modifié dans le code de la macro (voir ligne 9).
Quand GMSH est installé, voir [http://gmsh.info/ gmsh.info]. La macro fonctionne dans les systèmes d'exploitation Linux, OSX et Windows. Le chemin du binaire gmsh.exe doit être modifié dans le code de la macro (voir ligne 9).


==Lien==
==Lien==

Revision as of 15:35, 7 August 2019

Other languages:

GMSH Macro

Description
Crée un maillage FEM avec un mailleur GMSH. Il est possible de créer une coquille et un volume linéaire ou bilinéaire (quadratique).

Version macro : 1.0
Date dernière modification : 2015-08-24
Version FreeCAD : Toutes versions
Téléchargement : Icône pour votre barre d'outils
Auteur: psicofil
Auteur
psicofil
Téléchargement
Icône pour votre barre d'outils
Liens
Version Macro
1.0
Dernière modification
2015-08-24
Version(s) FreeCAD
Toutes versions
Raccourci clavier
None
Voir aussi
None

Description

Macro qui crée un maillage FEM avec le mailleur GMSH. Il est possible de créer une coquille et un volume linéaire ou bilinéaire (quadratique).

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

Vous pouvez télécharger la macro dans le référentiel de GitHub : GMSH Macro

ToolBar Icon

GMSHMesh.FCMacro GMSH Macro.FCMacro

Installation additionnelle

Quand GMSH est installé, voir gmsh.info. La macro fonctionne dans les systèmes d'exploitation Linux, OSX et Windows. Le chemin du binaire gmsh.exe doit être modifié dans le code de la macro (voir ligne 9).

Lien

La page de discussion sur le forum GMSH macro

Le fonctionnement de la macro sur YouTube.