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.5.tar.gz
(190.1 kB
view hashes)
Built Distributions
pyacvd-0.2.5-cp38-cp38-win_amd64.whl
(122.9 kB
view hashes)
pyacvd-0.2.5-cp37-cp37m-win_amd64.whl
(118.2 kB
view hashes)
pyacvd-0.2.5-cp36-cp36m-win_amd64.whl
(118.2 kB
view hashes)
pyacvd-0.2.5-cp35-cp35m-win_amd64.whl
(112.6 kB
view hashes)
Close
Hashes for pyacvd-0.2.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece298ec73a07b8f2eb0e38f1cacbeee53140f6c5355498bbef4e5065606a8a2 |
|
MD5 | e8b72e42dc2e3ce5de93de30510bf66e |
|
BLAKE2b-256 | 27dc84b6220ce01f4b43af154451699e070a1343ba2c2e859c6e99b1e09b4bbb |
Close
Hashes for pyacvd-0.2.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec9f1b9c691d5b455264dc9795108dcf409b255a13547659e30e3b990c4948b |
|
MD5 | 3a83898882c69046ef17f55e3e03aca4 |
|
BLAKE2b-256 | 7452b4ede29d3bc450a1e0310a94d8f505185d740ac58a1408b131790b193625 |
Close
Hashes for pyacvd-0.2.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7d6d8daae0719db10f434d306301c163b27a9fa8fdf691e928c172e477c286 |
|
MD5 | aac7ee29a269d44016c448acc4d2f81e |
|
BLAKE2b-256 | 77d3e0b0fea2c804cd36f7ba019d48d9c0572de851557d751debad6364d2894c |
Close
Hashes for pyacvd-0.2.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f84347b9f1eb3e7bc9c28a662b49453370ed9d536f1a52497861aef24b075a04 |
|
MD5 | b4efc064cdbc1617841ccdbff2452028 |
|
BLAKE2b-256 | 89b708986934a85761fee7f17513387446e2cc5252ae6fba32f80c9ac2937cd7 |
Close
Hashes for pyacvd-0.2.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b05a820529d414276d21528099b1b1abb0a88f574c413c22f39c57dd1e92f11 |
|
MD5 | ca7025feda76584efd4860e842117aa2 |
|
BLAKE2b-256 | 39a000fcb93402bf47f1c894c1362148d067c4255a4603ff846133465a0aac9f |
Close
Hashes for pyacvd-0.2.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c407117a083ef3b69f741efbf6bd573d38a39409dbfeffb51b0b95d8704b91a |
|
MD5 | d275c4db037d35e6d298d97ad6b0e788 |
|
BLAKE2b-256 | 1bce10b023d7ef80d27fd3d578abad9f1f21ce1ee7ef949b6439c3ba0bf290f1 |
Close
Hashes for pyacvd-0.2.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7be7129d85090850ec34417015b13103d576af783d652f020d203e77e82d009 |
|
MD5 | c6e9fbfbcd332bb2425448f73b41215f |
|
BLAKE2b-256 | 7600d89563f7f3a0d5ce52639fc7a568a090f51b5e0211bbe06fa655f14eded7 |
Close
Hashes for pyacvd-0.2.5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d9f41626546492ae8f60cd0fc298130e613108afed612655139f312fca25b0 |
|
MD5 | 45c778d9a173204a5e676c55713c03be |
|
BLAKE2b-256 | bf53eab03d9d88eca408484e4fe3497ecf40ed9f5991645f39c187d15ae40b49 |
Close
Hashes for pyacvd-0.2.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 554694bc77a2f32e682478899a699fd7c547689ac372fb50458b06de0704a254 |
|
MD5 | 9af16db980928649a7f7586a06b90271 |
|
BLAKE2b-256 | 5f5fee6e508f5beeaaf5dbde144b8e8642b46375c919717147de9b396e8c2d37 |
Close
Hashes for pyacvd-0.2.5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fa17db9547843b8bc2402b04c8ccf4fc360196a9c55a7988c5456b3f12707c |
|
MD5 | 69035e84faa3fc8e80727a373ea66b51 |
|
BLAKE2b-256 | 1682764359fa8b7499506a02f5e990168c5759fa48d3d207a908606ad1f8214b |
Close
Hashes for pyacvd-0.2.5-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 311fa3dd890d5e29aff7547faaddbbfa799dd68cbdfb36e2e27d9ca61ed2291e |
|
MD5 | 130a5744ec2f15644df9da3f7f095314 |
|
BLAKE2b-256 | 4ceea56825902386f7649f811802c8beb15470b40a95988f9d24ef8a6aa6fc68 |