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.7.tar.gz
(13.8 kB
view hashes)
Built Distributions
pyacvd-0.2.7-cp39-cp39-win_amd64.whl
(126.0 kB
view hashes)
pyacvd-0.2.7-cp38-cp38-win_amd64.whl
(127.5 kB
view hashes)
pyacvd-0.2.7-cp37-cp37m-win_amd64.whl
(125.1 kB
view hashes)
pyacvd-0.2.7-cp36-cp36m-win_amd64.whl
(125.0 kB
view hashes)
Close
Hashes for pyacvd-0.2.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957826a144659a31724ae087b9375bbcd06de496af0c7729d478db8b6a7133e9 |
|
MD5 | be67e5dde30f4bbcd09f33130446b5d5 |
|
BLAKE2b-256 | 772564ce7f9aa99d37ed37fd581323075b65f4dcda536fe7ffcdb906aa80d5fd |
Close
Hashes for pyacvd-0.2.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb1637d484e2d5cea456438b55912e675e529380f044e5b404eefe5f5c3d8c4 |
|
MD5 | bb9c8f98cf256aa405c568442d726fd5 |
|
BLAKE2b-256 | 62a534def94543ca69c3a5f70b037ec095295eeeee8ea4b2be02ae6ec9656f1c |
Close
Hashes for pyacvd-0.2.7-cp39-cp39-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8da5129a02674c1e8a5d20b707f33be375698f86f36e484c0ce8a8296e6dea9 |
|
MD5 | c899cec8cd58984d95b0fb9fcdcca1d9 |
|
BLAKE2b-256 | ca05162a8f9fe7985f2f1808a0907f464a15f645f67c42268319bc0fee622fbc |
Close
Hashes for pyacvd-0.2.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c58f09cb73e89d5b00735683dc363289d42182aeb9a41c5891ba1a031a376e |
|
MD5 | 3f055b1f06b83790b132ebb38a23ca26 |
|
BLAKE2b-256 | 530a2264f93ccc30223379fcd2b9472c9ce2cb96dbc555f40e6926b5756e681b |
Close
Hashes for pyacvd-0.2.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07767e9563b1bc8929bc3ab8ea16d0fb4512a54d590712fb2043a2758ecd7d0e |
|
MD5 | 72f41e6727dd394b476d9c4895d7d0fd |
|
BLAKE2b-256 | 3d65563d27c9acb15d8f7005c6b897ed6e8dbadbb3541455e2eb25bde738ed9d |
Close
Hashes for pyacvd-0.2.7-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d1192cc2122df931c5e3a33c5b266ac183d0655d62ec6c950d0bf2434b6ad77 |
|
MD5 | f7e5ae3345fd0f7e7edc86916d0ea729 |
|
BLAKE2b-256 | 99d6a1fbd89ad81fa5b85db60d8d81e89beeaad5cb9d97e977eccc7293e8d677 |
Close
Hashes for pyacvd-0.2.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1cb8aad05368386be3037c3d4531c620f4cb20b8aa4e158f3acc80c108d2b3 |
|
MD5 | 09f960b3e526ff38ac20573fb39159c6 |
|
BLAKE2b-256 | b913a4554fe30a5a48db846608758a7e40fe71b1d397c5f05d9f7b899abdb2a9 |
Close
Hashes for pyacvd-0.2.7-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950f1bfc430fb9146953484bb73e886e6e49a627f67c95d0faf3bda6f4ca324f |
|
MD5 | b548be2662d828e2378b9a5a5098bae1 |
|
BLAKE2b-256 | 8712252faf05a11268384ecf36858d33ccb1b0c5436c1e86e158a1df4a823522 |
Close
Hashes for pyacvd-0.2.7-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40207195bc1674b76088313351642250f34583638da34d6c93bb5887086e92e6 |
|
MD5 | 76b490c1989b0f1dc72834708de99229 |
|
BLAKE2b-256 | 5acf5a393c521d6dff829bc5a2c5eb8c9bd47de5d81b12bf547d46f86a37a7e4 |
Close
Hashes for pyacvd-0.2.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9e83ac60c17d29f7d4188fdf3bba7c84bb8e66ca5c0090cf244c27f6b5d1405 |
|
MD5 | e8836c99ba18a9b3a8cdf12c13188841 |
|
BLAKE2b-256 | f27234450e396f82d2b597869358c51993ee9c9ee76c75124437961f034a7630 |
Close
Hashes for pyacvd-0.2.7-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e6b01eb37c5be30b21d4cf3274e4744efa2f49ddfe7d6278a388c15b9b868e1 |
|
MD5 | 76b24f5a562232c323f3989cb019482a |
|
BLAKE2b-256 | 44c04bc526c08c263f172364fcd3c91abf45377c67dd523e515b1725385103ff |
Close
Hashes for pyacvd-0.2.7-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8fb727c44d70f243a8c71116acb90bd954662dac780dddf2af3df1e0a9c5a9e |
|
MD5 | abd9ed9af9e146d033403160b4af7609 |
|
BLAKE2b-256 | 850670ce0011aacf12e9ab3f1858e321350ba8e62844cec22bfd224b41d87d8a |