{ "info": { "author": "Francois Cuvelier", "author_email": "cuvelier@math.univ-paris13.fr", "bugtrack_url": null, "classifiers": [ "Topic :: Scientific/Engineering" ], "description": ".. _gmsh: http://gmsh.info\n \n.. _fc-oogmsh: http://www.math.univ-paris13.fr/~cuvelier/software/fc-oogmsh-Python.html \n\n.. _fc-mayavi4mesh: http://www.math.univ-paris13.fr/~cuvelier/software/Python/fc-mayavi4mesh.html \n \n.. _fc-meshtools: http://www.math.univ-paris13.fr/~cuvelier/software/fc-meshtools-Python.html \n \n.. _python: http://www.python.org\n \n.. _mayavi: http://docs.enthought.com/mayavi/mayavi/\n \n.. image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/pyfc-mayavi4mesh_400.png\n :width: 200px\n :align: left\n\nThe **fc\\_mayavi4mesh** Python package allows to display simplicial meshes or datas on simplicial meshes by using `mayavi`_ (>= 4.6.2)\nPython package. The simplicial meshes must be given by two arrays : the vertices array and the connectivity array.\n \nIntroduction:\n------------- \n\nSimplicial meshes could be:\n\n - a triangular mesh in dimension 2, made with 2-simplices (ie. triangles),\n - a tetrahedral mesh in dimension 3, made with 3-simplices (ie. tetrahedron),\n - a triangular mesh in dimension 3 (surface mesh), made with 2-simplices,\n - a line mesh in dimension 2 or 3 made with 1-simplices (ie. lines).\n\nA simplicial mesh is given by its vertices array **q** and its connectivity array **me**.\nFor demonstration purpose, we used some simplicial meshes provided by the `fc-meshtools`_ Python package: \nthey can be load by using the function ``getMesh2D``, ``getMesh3D`` or ``getMesh3Ds``\nof the ``fc_meshtools.simplicial`` module.\n\nDocumentation is available on `fc-mayavi4mesh`_ dedicated web page.\n\n\nInstallation:\n-------------\n\nThe **fc\\_mayavi4mesh** Python package is available from the Python Package Index, so to install/upgrade simply type\n\n.. code:: \n\n pip install fc_mayavi4mesh -U\n \n\nThereafter, it's possible to run one of the demo functions \n\n.. code:: python\n\n import fc_mayavi4mesh\n fc_mayavi4mesh.demos.plot2D()\n \n \n.. |plot2D_fig1| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot2D_fig1.png \n :width: 300\n :align: middle\n \n.. |plot2D_fig2| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot2D_fig2.png \n :width: 300\n :align: middle\n \n.. |plot2D_fig3| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot2D_fig3.png \n :width: 300\n :align: middle\n \n.. |plot2D_fig4| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot2D_fig4.png \n :width: 300\n :align: middle\n \n+---------------+---------------+---------------+---------------+\n| |plot2D_fig1| | |plot2D_fig2| | |plot2D_fig3| | |plot2D_fig4| |\n+---------------+---------------+---------------+---------------+\n\n.. code:: python\n\n import fc_mayavi4mesh\n fc_mayavi4mesh.demos.plot3D()\n \n \n.. |plot3D_fig1| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot3D_fig1.png \n :width: 300\n :align: middle\n \n.. |plot3D_fig2| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot3D_fig2.png \n :width: 300\n :align: middle\n \n.. |plot3D_fig3| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot3D_fig3.png \n :width: 300\n :align: middle\n \n+---------------+---------------+---------------+\n| |plot3D_fig1| | |plot3D_fig2| | |plot3D_fig3| |\n+---------------+---------------+---------------+\n\n.. code:: python\n\n import fc_mayavi4mesh\n fc_mayavi4mesh.demos.streamline3D01()\n \n \n.. |streamline_fig1| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_streamline_fig1.png \n :width: 300\n :align: middle\n \n.. |streamline_fig2| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_streamline_fig2.png \n :width: 300\n :align: middle\n \n.. |streamline_fig3| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_streamline_fig3.png \n :width: 300\n :align: middle\n \n.. |streamline_fig4| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_streamline_fig4.png \n :width: 300\n :align: middle\n \n+-------------------+-------------------+-------------------+-------------------+\n| |streamline_fig1| | |streamline_fig2| | |streamline_fig3| | |streamline_fig4| |\n+-------------------+-------------------+-------------------+-------------------+\n\nExample:\n--------\n\nThere is a complete source code used to represent a function on a sphere\n\n.. code:: python\n\n from mayavi import mlab\n from fc_meshtools import simplicial as mshsim\n import fc_mayavi4mesh.simplicial as mlab4sim\n import numpy as np\n q2,me2=mshsim.getMesh3Ds(2)[:2]\n q1,me1=mshsim.getMesh3Ds(1)[:2]\n f=lambda x,y,z: np.cos(3*x-1)*np.sin(2*y-2)*np.sin(3*z)\n u2=f(q2[:,0],q2[:,1],q2[:,2])\n u1=f(q1[:,0],q1[:,1],q1[:,2])\n mlab.figure(1)\n mlab4sim.plot(q2,me2,u2)\n mlab4sim.plotmesh(q1,me1,color='Black',line_width=2)\n mlab.colorbar()\n mlab.figure(2)\n mlab4sim.plot(q1,me1,u1,line_width=2,vmin=min(u2),vmax=max(u2))\n mlab4sim.plotmesh(q2,me2,color='LightGray',opacity=0.1)\n mlab.colorbar()\n\n.. |plot3Ds_fig1| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot3Ds_fig1.png \n :width: 300\n :align: middle\n \n.. |plot3Ds_fig2| image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-mayavi4mesh/snapshots/mayavi4mesh_plot3Ds_fig2.png \n :width: 300\n :align: middle\n\n+----------------+----------------+\n| |plot3Ds_fig1| | |plot3Ds_fig2| |\n+----------------+----------------+", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.math.univ-paris13.fr/~cuvelier/software", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "fc-mayavi4mesh", "package_url": "https://pypi.org/project/fc-mayavi4mesh/", "platform": "Linux", "project_url": "https://pypi.org/project/fc-mayavi4mesh/", "project_urls": { "Homepage": "http://www.math.univ-paris13.fr/~cuvelier/software" }, "release_url": "https://pypi.org/project/fc-mayavi4mesh/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "The fc_mayavi4mesh package displays simplicial meshes or datas on simplicial meshes by using Mayavi", "version": "0.1.2" }, "last_serial": 5262350, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d6ac1b0b26e87f43e2f08940e78dddeb", "sha256": "77697753519e405cb534b0e28ef085fe18a2b68b77ad6b46341f4dcafc0e6082" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d6ac1b0b26e87f43e2f08940e78dddeb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2585581, "upload_time": "2017-04-22T13:26:11", "url": "https://files.pythonhosted.org/packages/0f/5d/ebfc127db597eed7d48c998e0b46745385d68be69f01c909c36022100fbe/fc_mayavi4mesh-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "98338d15fccc31524025e915a11049f3", "sha256": "3b392b2c31d4c1f450d7a9756c56edb07cca8ea4ff099ce66e0619a48fcf4432" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.0.2.tar.gz", "has_sig": false, "md5_digest": "98338d15fccc31524025e915a11049f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2586413, "upload_time": "2017-04-23T06:25:14", "url": "https://files.pythonhosted.org/packages/cf/64/a6a15f14ff276936fb0bd00c9623d454bc465744b0d2e8b2c3655c3881e9/fc_mayavi4mesh-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4176b39f2667a879a6a509831461decf", "sha256": "b53c815aec7ff60f77f723b1ddbe9a55c4ed71e58bc2caa2d2336797ee3f47f4" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4176b39f2667a879a6a509831461decf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2586413, "upload_time": "2017-04-30T09:26:15", "url": "https://files.pythonhosted.org/packages/fa/5d/3ca23f9179130b14a147ca8fa0053adbf82204c2fae1c588bf6f9cef5626/fc_mayavi4mesh-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "14c4911e66d4c02be20eb7d67b2556d6", "sha256": "a6109628901278891fa772252ccea2d50f9e6723425c8deaaa26bc418e2f26b9" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.0.4.tar.gz", "has_sig": false, "md5_digest": "14c4911e66d4c02be20eb7d67b2556d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2586439, "upload_time": "2017-06-14T08:56:56", "url": "https://files.pythonhosted.org/packages/2e/c0/374754139ab286004747e99a24c0f430bd57884114352446b3f6fbb7381c/fc_mayavi4mesh-0.0.4.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "274de9d45e99a269b9f5eba201be7bec", "sha256": "e550340ff4be9c9a98a67ea2aff8fedb67278743500fb5a2a474524aa43f7a26" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.1.2.tar.gz", "has_sig": false, "md5_digest": "274de9d45e99a269b9f5eba201be7bec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12727, "upload_time": "2019-05-13T13:40:29", "url": "https://files.pythonhosted.org/packages/10/5b/495a993413a877653b44edcd4dcf384b65ef9a10dc8a0c8a561f18327d0a/fc_mayavi4mesh-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "274de9d45e99a269b9f5eba201be7bec", "sha256": "e550340ff4be9c9a98a67ea2aff8fedb67278743500fb5a2a474524aa43f7a26" }, "downloads": -1, "filename": "fc_mayavi4mesh-0.1.2.tar.gz", "has_sig": false, "md5_digest": "274de9d45e99a269b9f5eba201be7bec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12727, "upload_time": "2019-05-13T13:40:29", "url": "https://files.pythonhosted.org/packages/10/5b/495a993413a877653b44edcd4dcf384b65ef9a10dc8a0c8a561f18327d0a/fc_mayavi4mesh-0.1.2.tar.gz" } ] }