Metadata-Version: 1.2
Name: pyacvd
Version: 0.2.3
Summary: Uniformly remeshes surface meshes
Home-page: https://github.com/akaszynski/pyacvd
Author: Alex Kaszynski
Author-email: akascap@gmail.com
License: MIT
Description: pyacvd
        ======
        .. image:: https://img.shields.io/pypi/v/pyacvd.svg
            :target: https://pypi.org/project/pyacvd/
        
        .. image:: https://travis-ci.org/pyvista/pyacvd.svg?branch=master
            :target: https://travis-ci.org/pyvista/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::
        
            $ 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/master/docs/images/cow.png
            :alt: original cow mesh
        
        .. image:: https://github.com/pyvista/pyacvd/raw/master/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/master/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/master/docs/images/cow_remesh.png
            :alt: zoomed cow mesh
        
Keywords: vtk uniform meshing remeshing,acvd
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
