{ "info": { "author": "Bane Sullivan", "author_email": "info@pvgeo.org", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "OMF-VTK\n=======\n\n.. image:: https://img.shields.io/pypi/v/omfvista.svg?logo=python&logoColor=white\n :target: https://pypi.org/project/omfvista/\n :alt: PyPI\n\n.. image:: https://img.shields.io/travis/OpenGeoVis/omfvista/master.svg?label=build&logo=travis\n :target: https://travis-ci.org/OpenGeoVis/omfvista\n :alt: Build Status Linux\n\n.. image:: https://ci.appveyor.com/api/projects/status/49tewkw60mykh1nb?svg=true\n :target: https://ci.appveyor.com/project/banesullivan/omfvista\n :alt: Build Status Windows\n\n.. image:: https://codecov.io/gh/OpenGeoVis/omfvista/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/OpenGeoVis/omfvista\n\n.. image:: https://img.shields.io/github/stars/OpenGeoVis/omfvista.svg?style=social&label=Stars\n :target: https://github.com/OpenGeoVis/omfvista\n :alt: GitHub\n\n\nA PyVista (and VTK) interface for the `Open Mining Format package`_ (``omf``)\nproviding Python 3D visualization and useable mesh data structures for\nprocessing datasets in the OMF specification.\n\n\n.. _Open Mining Format package: https://omf.readthedocs.io/en/latest/\n\nDocumentation is hosted at https://opengeovis.github.io/omfvista/\n\nCheck out the `Example Notebook`_ on NBViewer! Or\n`launch the Notebook on MyBinder`_ to run the code yourself!\n\n.. _Example Notebook: https://nbviewer.jupyter.org/github/OpenGeoVis/omfvista/blob/master/Example.ipynb\n.. _launch the Notebook on MyBinder: https://mybinder.org/v2/gh/OpenGeoVis/omfvista/master?filepath=Example.ipynb\n\nInstallation\n------------\n\nInstallation is simply::\n\n pip install omfvista\n\nAll necessary dependencies will be installed alongside ``omfvista``. Please\nnote that this package heavily leverages the PyVista_ package.\n\n.. _PyVista: https://github.com/pyvista/pyvista\n\n\nQuestions & Support\n-------------------\n\nFor general questions about the project, its applications, or about software\nusage, please create an issue in the `pyvista/pyvista-support`_ repository\nwhere the PyVista community can collectively address your questions.\nYou are also welcome to join us on join `@OpenGeoVis`_ on our\n`Slack workspace`_ under the ``#omfvista`` channel or send one of the\ndevelopers an email. The project support team can be reached at\n`info@opengeovis.org`_.\n\n.. _pyvista/pyvista-support: https://github.com/pyvista/pyvista-support\n.. _@OpenGeoVis: https://github.com/OpenGeoVis\n.. _Slack workspace: http://slack.opengeovis.org\n.. _info@opengeovis.org: mailto:info@opengeovis.org\n\nExample Use\n-----------\n\n.. image:: https://mybinder.org/badge_logo.svg\n :target: https://mybinder.org/v2/gh/OpenGeoVis/omfvista/master?filepath=Example.ipynb\n\nBe sure to check out the `Example Notebook`_ that demos ``omfvista`` or our\n`Example Gallery`_ in the documentation!\nHere's an example using the sample data hosted in the `OMF repository`_.\n\n.. _Example Gallery: https://opengeovis.github.io/omfvista/examples/index.html\n.. _OMF repository: https://github.com/gmggroup/omf/tree/master/assets\n\n.. code-block:: python\n\n import pyvista as pv\n import omfvista\n\n project = omfvista.load_project('test_file.omf')\n project\n\n.. image:: https://github.com/OpenGeoVis/omfvista/raw/master/assets/table-repr.png\n :alt: Table Representation\n\n\nOnce the data is loaded as a ``pyvista.MultiBlock`` dataset from ``omfvista``, then\nthat object can be directly used for interactive 3D visualization from PyVista_:\n\n.. code-block:: python\n\n project.plot(notebook=False)\n\nOr an interactive scene can be created and manipulated to create a compelling\nfigure directly in a Jupyter notebook. First, grab the elements from the project:\n\n.. code-block:: python\n\n # Grab a few elements of interest and plot em up!\n vol = project['Block Model']\n assay = project['wolfpass_WP_assay']\n topo = project['Topography']\n dacite = project['Dacite']\n\nThen apply a filtering tool from PyVista_ to the volumetric data:\n\n.. code-block:: python\n\n thresher = pv.Threshold(vol)\n\n.. figure:: https://github.com/OpenGeoVis/omfvista/raw/master/assets/threshold.gif\n :alt: IPython Thresholding Tool\n\nThen you can put it all in one environment!\n\n.. code-block:: python\n\n # Grab the active plotting window\n # from the thresher tool\n p = thresher.plotter\n # Add our datasets\n p.add_mesh(topo, cmap='gist_earth', opacity=0.5)\n p.add_mesh(assay, color='blue', line_width=3)\n p.add_mesh(dacite, color='yellow', opacity=0.6)\n # Add the bounds axis\n p.show_bounds()\n\n\n.. figure:: https://github.com/OpenGeoVis/omfvista/raw/master/assets/interactive.gif\n :alt: Interactive Rendering\n\n\nAnd once you like what the render view displays, you can save a screenshot:\n\n.. code-block:: python\n\n p.screenshot('wolfpass.png')\n\n.. image:: https://github.com/OpenGeoVis/omfvista/raw/master/wolfpass.png\n :alt: Wolf Pass Screenshot", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OpenGeoVis/omfvista", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "omfvista", "package_url": "https://pypi.org/project/omfvista/", "platform": "", "project_url": "https://pypi.org/project/omfvista/", "project_urls": { "Homepage": "https://github.com/OpenGeoVis/omfvista" }, "release_url": "https://pypi.org/project/omfvista/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "3D visualization for the Open Mining Format (omf)", "version": "0.2.1" }, "last_serial": 5715927, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d6bf01cf52b0ba0596f09dd45a3b263c", "sha256": "b5d654fa6de5dcb7b15c9568067900f93d0bde6daec0ae0ac9e5c88d30e3c303" }, "downloads": -1, "filename": "omfvista-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d6bf01cf52b0ba0596f09dd45a3b263c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7747, "upload_time": "2019-05-08T18:30:26", "url": "https://files.pythonhosted.org/packages/dd/7f/40976d10cfacd1e267ddf5e89771d969fa34a55c9293982f422e5967ebe2/omfvista-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0b624f52565fc353f8fc843d714de662", "sha256": "2d9cac9e2445c96e29d7238cf5737ced4e24aefa36b6f99c46f84260a44b394b" }, "downloads": -1, "filename": "omfvista-0.2.0.tar.gz", "has_sig": false, "md5_digest": "0b624f52565fc353f8fc843d714de662", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7747, "upload_time": "2019-05-12T17:26:21", "url": "https://files.pythonhosted.org/packages/88/f5/f3fef938bc18024387e873623b7446c807dda5219c30faf3877b0f4ebb62/omfvista-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "21e0bd59128b4b425261ce1b88dd1a4b", "sha256": "7b621b5ad08e46ff2a3b8f09dd249120985ba0aa8da645faeace36ccbbfaeae0" }, "downloads": -1, "filename": "omfvista-0.2.1.tar.gz", "has_sig": false, "md5_digest": "21e0bd59128b4b425261ce1b88dd1a4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8153, "upload_time": "2019-08-22T15:48:05", "url": "https://files.pythonhosted.org/packages/b4/fa/910aae583fa70ec4a55fbb5bf63a04a19d85d43435c5d2334c71a8b98c6a/omfvista-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21e0bd59128b4b425261ce1b88dd1a4b", "sha256": "7b621b5ad08e46ff2a3b8f09dd249120985ba0aa8da645faeace36ccbbfaeae0" }, "downloads": -1, "filename": "omfvista-0.2.1.tar.gz", "has_sig": false, "md5_digest": "21e0bd59128b4b425261ce1b88dd1a4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8153, "upload_time": "2019-08-22T15:48:05", "url": "https://files.pythonhosted.org/packages/b4/fa/910aae583fa70ec4a55fbb5bf63a04a19d85d43435c5d2334c71a8b98c6a/omfvista-0.2.1.tar.gz" } ] }