pyacvd


Namepyacvd JSON
Version 0.3.1 PyPI version JSON
download
home_pageNone
SummaryUniformly remeshes surface meshes
upload_time2024-09-26 00:18:11
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords vtk uniform meshing remeshing acvd
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ########
 pyacvd
########

.. image:: https://img.shields.io/pypi/v/pyacvd.svg
   :target: https://pypi.org/project/pyacvd/

This module takes a surface mesh and returns a uniformly meshed surface
using voronoi clustering. This approach is loosely based on research by
S. Valette, and J. M. Chassery in `ACVD
<https://github.com/valette/ACVD>`_.

**************
 Installation
**************

Installation is straightforward using pip:

.. code::

   $ pip install pyacvd

*********
 Example
*********

This example remeshes a non-uniform quad mesh into a uniform triangular
mesh.

.. code:: python

   from pyvista import examples
   import pyacvd

   # download cow mesh
   cow = examples.download_cow()

   # plot original mesh
   cow.plot(show_edges=True, color='w')

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow.png
   :alt: original cow mesh

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_zoom.png
   :alt: zoomed cow mesh

.. code:: python

   clus = pyacvd.Clustering(cow)
   # mesh is not dense enough for uniform remeshing
   clus.subdivide(3)
   clus.cluster(20000)

   # plot clustered cow mesh
   clus.plot()

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_clus.png
   :alt: zoomed cow mesh

.. code:: python

   # remesh
   remesh = clus.create_mesh()

   # plot uniformly remeshed cow
   remesh.plot(color='w', show_edges=True)

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_remesh.png
   :alt: zoomed cow mesh

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyacvd",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "vtk, uniform, meshing, remeshing, acvd",
    "author": null,
    "author_email": "Alex Kaszynski <akascap@gmail.com>",
    "download_url": null,
    "platform": null,
    "description": "########\n pyacvd\n########\n\n.. image:: https://img.shields.io/pypi/v/pyacvd.svg\n   :target: https://pypi.org/project/pyacvd/\n\nThis module takes a surface mesh and returns a uniformly meshed surface\nusing voronoi clustering. This approach is loosely based on research by\nS. Valette, and J. M. Chassery in `ACVD\n<https://github.com/valette/ACVD>`_.\n\n**************\n Installation\n**************\n\nInstallation is straightforward using pip:\n\n.. code::\n\n   $ pip install pyacvd\n\n*********\n Example\n*********\n\nThis example remeshes a non-uniform quad mesh into a uniform triangular\nmesh.\n\n.. code:: python\n\n   from pyvista import examples\n   import pyacvd\n\n   # download cow mesh\n   cow = examples.download_cow()\n\n   # plot original mesh\n   cow.plot(show_edges=True, color='w')\n\n.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow.png\n   :alt: original cow mesh\n\n.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_zoom.png\n   :alt: zoomed cow mesh\n\n.. code:: python\n\n   clus = pyacvd.Clustering(cow)\n   # mesh is not dense enough for uniform remeshing\n   clus.subdivide(3)\n   clus.cluster(20000)\n\n   # plot clustered cow mesh\n   clus.plot()\n\n.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_clus.png\n   :alt: zoomed cow mesh\n\n.. code:: python\n\n   # remesh\n   remesh = clus.create_mesh()\n\n   # plot uniformly remeshed cow\n   remesh.plot(color='w', show_edges=True)\n\n.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_remesh.png\n   :alt: zoomed cow mesh\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Uniformly remeshes surface meshes",
    "version": "0.3.1",
    "project_urls": null,
    "split_keywords": [
        "vtk",
        " uniform",
        " meshing",
        " remeshing",
        " acvd"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee2ff87aaf297ad15f66cc95e38cb0a4bf6966396da97c2712f4edc31c88b6cd",
                "md5": "f5b150c48d09b97712649a58bab22289",
                "sha256": "333218930031b1c612a6dc1a3e0674cfee35e5020b2a476f43c502cc03af5515"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp310-cp310-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f5b150c48d09b97712649a58bab22289",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 74682,
            "upload_time": "2024-09-26T00:18:11",
            "upload_time_iso_8601": "2024-09-26T00:18:11.828397Z",
            "url": "https://files.pythonhosted.org/packages/ee/2f/f87aaf297ad15f66cc95e38cb0a4bf6966396da97c2712f4edc31c88b6cd/pyacvd-0.3.1-cp310-cp310-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6ec5e42142f4fa4b38b41bebe991f269e52e60b3481580462b6d191f0e7aad74",
                "md5": "0fba25b3a4ccb7c0b01c2dd869e8f071",
                "sha256": "950904f608ce91bf18e9b0ec012b7ffd60d57d8e66e6dbc9a2aa622fd9fab502"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp310-cp310-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "0fba25b3a4ccb7c0b01c2dd869e8f071",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 66962,
            "upload_time": "2024-09-26T00:18:13",
            "upload_time_iso_8601": "2024-09-26T00:18:13.353098Z",
            "url": "https://files.pythonhosted.org/packages/6e/c5/e42142f4fa4b38b41bebe991f269e52e60b3481580462b6d191f0e7aad74/pyacvd-0.3.1-cp310-cp310-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3b95fbf3d2a7c06eb67d7f430ad84be012837ac3ecc2de52c5cf6443ae8aa5a2",
                "md5": "c852592bf69db91302286ca6b3f1d399",
                "sha256": "8abec6efd013e06f706cf14f794a52ecd40878b89e369db94f9190f06e0ac8df"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c852592bf69db91302286ca6b3f1d399",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 98017,
            "upload_time": "2024-09-26T00:18:14",
            "upload_time_iso_8601": "2024-09-26T00:18:14.347775Z",
            "url": "https://files.pythonhosted.org/packages/3b/95/fbf3d2a7c06eb67d7f430ad84be012837ac3ecc2de52c5cf6443ae8aa5a2/pyacvd-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43195f8be67c9c6c49d407323b14ccbdfbfa2dad2d2d6807694ea41e62521ba0",
                "md5": "ec12fa035eb0c6f6344ba79751e63509",
                "sha256": "e6499c9d5a0787839273b26f359dc972941de8a8090bd8433eb1d8c6fa29339d"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ec12fa035eb0c6f6344ba79751e63509",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.9",
            "size": 71876,
            "upload_time": "2024-09-26T00:18:15",
            "upload_time_iso_8601": "2024-09-26T00:18:15.873210Z",
            "url": "https://files.pythonhosted.org/packages/43/19/5f8be67c9c6c49d407323b14ccbdfbfa2dad2d2d6807694ea41e62521ba0/pyacvd-0.3.1-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66c1a3f8ca2cfdfca013bd5e0d4ac5a9ec471f37bf7542d6aa7a569e5b90d7f5",
                "md5": "38f95d4e53ce43787ca0619bf2ab0a5f",
                "sha256": "38f271eaf16d05ca9d3caac1c5c21752c09586b82ac6d80709a7bb31ca51d73c"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp311-cp311-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "38f95d4e53ce43787ca0619bf2ab0a5f",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 74548,
            "upload_time": "2024-09-26T00:18:17",
            "upload_time_iso_8601": "2024-09-26T00:18:17.283985Z",
            "url": "https://files.pythonhosted.org/packages/66/c1/a3f8ca2cfdfca013bd5e0d4ac5a9ec471f37bf7542d6aa7a569e5b90d7f5/pyacvd-0.3.1-cp311-cp311-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "415326c8079e2550c4d2b838edf98b572d9d05c84fa0049f5202c96d92af9ab5",
                "md5": "26c35c8f312e25c4c20bdf23d86e7abf",
                "sha256": "54ede7af9714d6ea68503d2ae7bb385a8a992f7de6fc2b7b1e8513e87fe640e4"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp311-cp311-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "26c35c8f312e25c4c20bdf23d86e7abf",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 66814,
            "upload_time": "2024-09-26T00:18:18",
            "upload_time_iso_8601": "2024-09-26T00:18:18.956972Z",
            "url": "https://files.pythonhosted.org/packages/41/53/26c8079e2550c4d2b838edf98b572d9d05c84fa0049f5202c96d92af9ab5/pyacvd-0.3.1-cp311-cp311-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "739c3791338f89cb24eb00fc5631cdd6d549af7117d43576e04c8b8339c93009",
                "md5": "bdc8bf98dc1c2700697c62e8c3c13b16",
                "sha256": "6ff788659e44b64a0ed3e58a8e4a26d67d0e5fb0abadd8c220f516907cc54269"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "bdc8bf98dc1c2700697c62e8c3c13b16",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 97826,
            "upload_time": "2024-09-26T00:18:21",
            "upload_time_iso_8601": "2024-09-26T00:18:21.436687Z",
            "url": "https://files.pythonhosted.org/packages/73/9c/3791338f89cb24eb00fc5631cdd6d549af7117d43576e04c8b8339c93009/pyacvd-0.3.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1ce62c947470d41bb78aa7779621ffbbdb75fb601d85b758ab4e72ddebbdcfa",
                "md5": "3537d78880fdd7bf8192ae980d051246",
                "sha256": "e5fedfc34278ae43df47486423fa86b6406ea769204a1ea49da70709381755a3"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp311-cp311-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "3537d78880fdd7bf8192ae980d051246",
            "packagetype": "bdist_wheel",
            "python_version": "cp311",
            "requires_python": ">=3.9",
            "size": 71738,
            "upload_time": "2024-09-26T00:18:23",
            "upload_time_iso_8601": "2024-09-26T00:18:23.132436Z",
            "url": "https://files.pythonhosted.org/packages/a1/ce/62c947470d41bb78aa7779621ffbbdb75fb601d85b758ab4e72ddebbdcfa/pyacvd-0.3.1-cp311-cp311-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72cc7d55c62748422c448ef8754da23f3379edb6ae8652598475f10654485eb4",
                "md5": "e6780755e5efc9d7f756b4162ae62f0a",
                "sha256": "2236235be6656c6bb9956b2c874cbef5b8791d0b322ac8b0fe98bf23126f294d"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp312-cp312-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e6780755e5efc9d7f756b4162ae62f0a",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 71573,
            "upload_time": "2024-09-26T00:18:24",
            "upload_time_iso_8601": "2024-09-26T00:18:24.447214Z",
            "url": "https://files.pythonhosted.org/packages/72/cc/7d55c62748422c448ef8754da23f3379edb6ae8652598475f10654485eb4/pyacvd-0.3.1-cp312-cp312-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b641707384c4c64930f378442d960dfb5f51e4a683b968324ae37a1ea13fd958",
                "md5": "00e45482c97fdff03dff1c7e3672e333",
                "sha256": "1767d44097e6406099499edec416274756a1c8067bf2b42b2b3d8940225f902f"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp312-cp312-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "00e45482c97fdff03dff1c7e3672e333",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 64408,
            "upload_time": "2024-09-26T00:18:25",
            "upload_time_iso_8601": "2024-09-26T00:18:25.621721Z",
            "url": "https://files.pythonhosted.org/packages/b6/41/707384c4c64930f378442d960dfb5f51e4a683b968324ae37a1ea13fd958/pyacvd-0.3.1-cp312-cp312-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "16b4e44892dd8cb34db8caf51190324432c5e011cff4cdf6ab687535b797bad8",
                "md5": "2e95bc7b7b9b0e7cfd455583fa5b329b",
                "sha256": "4fc6fbd7de6df2fb7309061fbf2e52327a080d7f685b914c4e6a13fddfa72461"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2e95bc7b7b9b0e7cfd455583fa5b329b",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 94689,
            "upload_time": "2024-09-26T00:18:27",
            "upload_time_iso_8601": "2024-09-26T00:18:27.118003Z",
            "url": "https://files.pythonhosted.org/packages/16/b4/e44892dd8cb34db8caf51190324432c5e011cff4cdf6ab687535b797bad8/pyacvd-0.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1d28486a057f5a36512ea59e2e462a0a701df76e5d89554d16320f62e156505e",
                "md5": "be47787bdf7fefdd0eadb0de08e4277f",
                "sha256": "1d955c24b9982dca6b656e64bfd9abd8d9521c6ebba2f3792c4f698d0f2ac1c6"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp312-cp312-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "be47787bdf7fefdd0eadb0de08e4277f",
            "packagetype": "bdist_wheel",
            "python_version": "cp312",
            "requires_python": ">=3.9",
            "size": 69958,
            "upload_time": "2024-09-26T00:18:28",
            "upload_time_iso_8601": "2024-09-26T00:18:28.472315Z",
            "url": "https://files.pythonhosted.org/packages/1d/28/486a057f5a36512ea59e2e462a0a701df76e5d89554d16320f62e156505e/pyacvd-0.3.1-cp312-cp312-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4cd0dc9141ba4d340d0de4d2c3115f3b01c805cf88a4ba7e7ab97782437498f8",
                "md5": "dbee787d6cc0a2ea12151d854a6d1d46",
                "sha256": "91af3616602426d3b045628fa3697e60f3d973692fe9ca189a45563a4648b840"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp39-cp39-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "dbee787d6cc0a2ea12151d854a6d1d46",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 74715,
            "upload_time": "2024-09-26T00:18:29",
            "upload_time_iso_8601": "2024-09-26T00:18:29.609719Z",
            "url": "https://files.pythonhosted.org/packages/4c/d0/dc9141ba4d340d0de4d2c3115f3b01c805cf88a4ba7e7ab97782437498f8/pyacvd-0.3.1-cp39-cp39-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c514521b7b55ce62651ed780e07e46bb81c8741736e51aae2ec706d491ee4a91",
                "md5": "6a1b217be853ece0c9ae096c36e29e2a",
                "sha256": "8a1ea9c5a2aae4829707aed991c876ac4e6a785783f895efa16053afd394cbe2"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp39-cp39-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "6a1b217be853ece0c9ae096c36e29e2a",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 67012,
            "upload_time": "2024-09-26T00:18:31",
            "upload_time_iso_8601": "2024-09-26T00:18:31.173420Z",
            "url": "https://files.pythonhosted.org/packages/c5/14/521b7b55ce62651ed780e07e46bb81c8741736e51aae2ec706d491ee4a91/pyacvd-0.3.1-cp39-cp39-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ca44af95bec2068641ef1afa20a3f315a16bd6323ce6f8aed97aeb69bc23d18",
                "md5": "e6b37230e8ae384b22ba2a5d55b6d909",
                "sha256": "3d9afaa827797d53d4f892152c79cdbeb2599ff24c947b5d2768e7cc24a9cbfb"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "e6b37230e8ae384b22ba2a5d55b6d909",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 98056,
            "upload_time": "2024-09-26T00:18:32",
            "upload_time_iso_8601": "2024-09-26T00:18:32.647779Z",
            "url": "https://files.pythonhosted.org/packages/5c/a4/4af95bec2068641ef1afa20a3f315a16bd6323ce6f8aed97aeb69bc23d18/pyacvd-0.3.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5e00fce6023e0b3de37b29e7eb69aa3a066f190a50dad78b941af393511206b",
                "md5": "6cf083232b3b2915dfe94ae32ca32c0d",
                "sha256": "7c738930b918c63d5ad683825207c3968c30cbedfbd76690f5e1c940f7ac7165"
            },
            "downloads": -1,
            "filename": "pyacvd-0.3.1-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "6cf083232b3b2915dfe94ae32ca32c0d",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.9",
            "size": 72264,
            "upload_time": "2024-09-26T00:18:33",
            "upload_time_iso_8601": "2024-09-26T00:18:33.676809Z",
            "url": "https://files.pythonhosted.org/packages/e5/e0/0fce6023e0b3de37b29e7eb69aa3a066f190a50dad78b941af393511206b/pyacvd-0.3.1-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-26 00:18:11",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyacvd"
}
        
Elapsed time: 1.74236s