Macro GMSH/ru

From FreeCAD Documentation
This page is a translated version of the page Macro GMSH and the translation is 60% complete.
Outdated translations are marked like this.
Other languages:

GMSH Macro

описание
Создание сетки метода конечных элементов с помощью генератора сеток GMSH. Возможно создание внутри линейных или билинейных (квадратичных) элементов Балки, Оболочки и Объема.

Макрос версии : 1.0
Дата последней модификации : 2015-08-24
FreeCAD версия : Все
Скачать : ToolBar Icon
автор : psicofil
автор
psicofil
Скачать
ToolBar Icon
Links
Версия
1.0
Дата последней модификации
2015-08-24
Версии FreeCAD
Все
Ярлык по умолчанию
None
Смотрите также
None

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.

Описание

Создание сетки метода конечных элементов с помощью генератора сеток GMSH. Возможно создание внутри линейных или билинейных (квадратичных) элементов Балки, Оболочки и Объема.

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

Скрипт

Вы можете найти макрос в следующем репозитории github: GMSH Macro

ToolBar Icon

GMSHMesh.FCMacro GMSH Macro.FCMacro

Дополнительные установки

Должен быть установлен GMSH. Смотрите gmsh.info. Макрос предназначен для работы в операционных системах Linux, OSX и Windows. Бинарный путь GMSH должен быть адаптирован в макросе.

Ссылки

Страница обсуждения макроса GMSH

Смотрите использование макроса на YouTube (англ).