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
Installation is straightforward using pip:
$ pip install pyacvd
Example
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')
clus = pyacvd.Clustering(cow)
# mesh is not dense enough for uniform remeshing
clus.subdivide(3)
clus.cluster(20000)
# plot clustered cow mesh
clus.plot()
# remesh
remesh = clus.create_mesh()
# plot uniformly remeshed cow
remesh.plot(color='w', show_edges=True)
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(13.8 kB
view hashes)
Built Distributions
pyacvd-0.2.6-cp38-cp38-win_amd64.whl
(127.8 kB
view hashes)
pyacvd-0.2.6-cp37-cp37m-win_amd64.whl
(125.2 kB
view hashes)
pyacvd-0.2.6-cp36-cp36m-win_amd64.whl
(125.0 kB
view hashes)
Close
Hashes for pyacvd-0.2.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54df1d5ad1875295f94cb48aa048c92a7a6bfa1c77b6c2c4b1319334dfa8f316 |
|
MD5 | 71104238abcd605019e0346866c95845 |
|
BLAKE2b-256 | e039a912f5c03c05acfada77f33aef1ce8327ff90ea10e6b4c925d7c863603f8 |
Close
Hashes for pyacvd-0.2.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04ca76e5bf2be88c6bf1f9c8a06678d717d07eef2d4f69a4bd25e96417775118 |
|
MD5 | a15b3ef7e65f0e8089af1c0088ca0e8e |
|
BLAKE2b-256 | 2f48341f4b920ed4da145bd774c6b7d5b8e44273235a489bebf2caf474691d72 |
Close
Hashes for pyacvd-0.2.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2479c1eaf9f81d902a40a2ea81d1ddb61a45cf8a92de4a45f3c0b1dfba3b87d |
|
MD5 | 3b8a21cb78ec1c8bdbb96dfcb30b53bd |
|
BLAKE2b-256 | d22fcfd4992c2c67ba50a3d295f207d70c5cc455fb3a64021c19d858ae13aa29 |
Close
Hashes for pyacvd-0.2.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 847a2ad090c432f8022b000485f16f2ddfd70c235b356ab35806f9beca7aa04e |
|
MD5 | 2696742ea868048acd30389505d4063d |
|
BLAKE2b-256 | f9e6640a767660aeff3e6bec490b8d9305473d261af7a56e0381a8402d4d71c4 |
Close
Hashes for pyacvd-0.2.6-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d2f12bd5604e54e53eb840e275c4fec94680bd9f2c13b9a4d058066d231583 |
|
MD5 | 1e51d59b01e8b5bdaa169730a8e5ef1e |
|
BLAKE2b-256 | 4a39d742ed7f45f1fa3d62bbd27edd1ec23b8f6c125d59df9a658c03d3bd56a7 |
Close
Hashes for pyacvd-0.2.6-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8096c9b40ff9006fdd200ed3978076f6b8a6b25fad60bad2c4489956f7a266d |
|
MD5 | 9f0541ce29d69c1a22e5f0e7a03c40a4 |
|
BLAKE2b-256 | 9185267fe67fd1619040e973be44ad991724e266f5842c2ef5a7d1014f565def |