*  Python / Mesh / fc_oogmsh package

        * Requirements
        * Current development release
        * Installation under Linux
        * Configuration
        * Version history
        * Old development release

pict pict


pict

The pict Python package make it possible to generate mesh files from .geo file by using gmsh. It’s also possible with the ooGmsh class to read the mesh file and to store its contains in more user-friendly form. This package must be regarded as a very simple interface between gmsh files and Python. So you are free to create any data structure or object you want from an ooGmsh object.

*  Requirements

This package needs

*  Current development release




Version

date

archives

User’s Guide





0.1.0

May 10, 2019

pict (28 Ko)

pict (2266 Ko)





This package was tested under




OS Python gmsh






CentOS 7.6 python.org 2.7.16, 3.5.7, 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6



Debian 9.9 python.org 2.7.16, 3.5.7, 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6



Ubuntu 18.04 LTS python.org 2.7.16, 3.5.7, 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6



OpenSuse 15.0 python.org 3.5.7, 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6



Fedora 29 python.org 2.7.16, 3.5.7, 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6






MacOS Mojave 10.14.4 python.org : 3.5.4, 3.6.8, 3.7.2 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6






Windows 10 (1809) python.org : 3.6.8, 3.7.3 4.3.0, 4.2.3, 4.1.5, 4.0.7, 3.0.6



*  Installation under Linux

For Python 3 installation, pip3 must be used instead of pip.

To enable the graphic tools one has to install at least one of these packages. For example, to use the fc-matplotlib4mesh package :

$ pip install --user fc_oogmsh[matplotlib4mesh]

One can also install the two packages fc-matplotlib4mesh and fc-mayavi4mesh :

$ pip install --user fc_oogmsh[matplotlib4mesh,mayavi4mesh]

*  Configuration

By default, the gmsh binary supposed to be in your path. To specify a specific location one can use the fc_oogmsh.sys.configure function

Python Console

import fc_oogmsh  
fc_oogmsh.sys.configure(gmsh_bin=’<PATH_TO_GMSH>/gmsh’)

where <PATH_TO_GMSH> is the path to the gmsh binary file.

*  Version history

*  Old development release




Version

date

archives

User’s Guide





0.0.6

October 20, 2018

pict (21 Ko)

pict (616 Ko)





0.0.4

May 10, 2017

pict (16 Ko)

pict (362 Ko)





0.0.3

April 22, 2017

pict (17 Ko)

pict (362 Ko)





0.0.2

March 6, 2017

pict (15 Ko)

pict (348 Ko)





0.0.1

March 6, 2017

pict (6 Ko)

pict (348 Ko)