Skip to main content

Uniformly remeshes surface meshes

Project description

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.


Installation is straightforward using pip:

$ pip install pyacvd


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

from pyvista import examples
import pyacvd

# download cow mesh
cow = examples.download_cow()

# plot original mesh
cow.plot(show_edges=True, color='w')
original cow mesh zoomed cow mesh
clus = pyacvd.Clustering(cow)
# mesh is not dense enough for uniform remeshing

# plot clustered cow mesh
zoomed cow mesh
# remesh
remesh = clus.create_mesh()

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyacvd-0.2.7.tar.gz (13.8 kB view hashes)

Uploaded source

Built Distributions

pyacvd-0.2.7-cp39-cp39-win_amd64.whl (126.0 kB view hashes)

Uploaded cp39

pyacvd-0.2.7-cp38-cp38-win_amd64.whl (127.5 kB view hashes)

Uploaded cp38

pyacvd-0.2.7-cp37-cp37m-win_amd64.whl (125.1 kB view hashes)

Uploaded cp37

pyacvd-0.2.7-cp36-cp36m-win_amd64.whl (125.0 kB view hashes)

Uploaded cp36

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page