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.10.tar.gz (14.7 kB view hashes)

Uploaded source

Built Distributions

pyacvd-0.2.10-cp312-cp312-win_amd64.whl (132.5 kB view hashes)

Uploaded cp312

pyacvd-0.2.10-cp311-cp311-win_amd64.whl (136.1 kB view hashes)

Uploaded cp311

pyacvd-0.2.10-cp310-cp310-win_amd64.whl (136.0 kB view hashes)

Uploaded cp310

pyacvd-0.2.10-cp39-cp39-win_amd64.whl (136.3 kB view hashes)

Uploaded cp39

pyacvd-0.2.10-cp38-cp38-win_amd64.whl (136.6 kB view hashes)

Uploaded cp38

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page