Meshiki
A collection of unusual mesh processing algorithms.
Install
# from pypi, will build extension at first time
pip install meshiki
# locally
cd meshiki
pip install .
Usage
Trigs-to-Quads
Triangulate We want this!
Quads ----------> Trigs ------------> Quads
(obj, blender) (glb, fbx, ...)
This algorithm is aimed for converting a triangulated quad-dominant mesh back to a mixed tri/quad mesh, with as many as possible reasonable quad faces.
Our implementation is based on maximum weighted graph matching, and is usually better compared to the built-in tool (Edit Mode -> Face -> Tris to Quads) of blender.
from meshiki import Mesh
mesh = Mesh.load('mesh.glb', verbose=False)
mesh.quadrangulate()
mesh.export('mesh.obj') # must use obj for quad faces
Salient point sampling
This algorithm samples salient points from mesh surface as proposed in Dora.
from meshiki import Mesh, fps, load_mesh, triangulate
# load mesh
vertices, faces = load_mesh(mesh_path, clean=True)
# make sure it's pure-trig
faces = triangulate(faces)
mesh = Mesh(vertices, faces)
# sample 64K salient points
salient_points = mesh.salient_point_sample(64000, thresh_bihedral=30) # np.ndarray, [64000, 3]
We also implement uniform sampling and furthest point sampling:
# sample 128K uniform points
uniform_points = mesh.uniform_point_sample(128000) # np.ndarray, [128000, 3]
# use FPS to subsample 8K points from uniform points
fps_points = fps(uniform_points, N_FPS, backend='kdline') # np.ndarray, [8000, 3]
Acknowledgement
Metadata
Release files for meshiki 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| meshiki-0.0.7.tar.gz | 62.5 kB | With provenance | Details for meshiki-0.0.7.tar.gz |
Built distributions (wheels)
Total release size: 1.9 MB
Release files / meshiki-0.0.7.tar.gz
| Download URL | meshiki-0.0.7.tar.gz |
|---|---|
| Size | 62.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec8e0db172560e7e1a94a0673d4333398298c9fe71b17a4289ba0c4ec44ab982
|
|
BLAKE2b-256 checksum How to use checksums |
6d7c908c13063c17535d012b1dd08c8d2be2c036201629eb573b9fd850b96336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp312-cp312-win_amd64.whl
| Download URL | meshiki-0.0.7-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 197.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
01cf76b97038e2d196a84872fc3e012dd29d23f6f8c4f80b739376b79fc13953
|
|
BLAKE2b-256 checksum How to use checksums |
7a1f81c2338d163a761a9f5e96401e319bf30b97398be9ac8def7a4860e9b40f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp312-cp312-win32.whl
| Download URL | meshiki-0.0.7-cp312-cp312-win32.whl |
|---|---|
| Size | 168.7 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
59dd7128c9d77c22b134218f4585feb0f4b30fca65b475f95ae8421f5e704623
|
|
BLAKE2b-256 checksum How to use checksums |
27f0a57d37049bd5f2da0a9a12f8c97e22a8fef58e3c7f398afc8435f234a55e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | meshiki-0.0.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 263.0 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c5ce2395661c5334d3f15f967d7bfe6190775bc116902272e8acf1cf062dc90e
|
|
BLAKE2b-256 checksum How to use checksums |
500ba9b969937e1ac50c2f4bc770635e9b442f9a173139448ce06df5c17e4ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp311-cp311-win_amd64.whl
| Download URL | meshiki-0.0.7-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 196.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1b0c1d8014f4717445661d48c74d388c3bb278827d2f49255e76fc6a4a5d8bdd
|
|
BLAKE2b-256 checksum How to use checksums |
ee77ff7928ca116ce690e4759fd997d1a9687e62adf465ca12e1240fd8aa3255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp311-cp311-win32.whl
| Download URL | meshiki-0.0.7-cp311-cp311-win32.whl |
|---|---|
| Size | 168.7 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
d74f5d91bb474dfdd55da2b40b92613bf42bf122ce635603167163416dc3b14f
|
|
BLAKE2b-256 checksum How to use checksums |
8cfe54904785081ddd268a2e920e15f72ec6ef9d53bd38150fa6bccab56347fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | meshiki-0.0.7-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 262.5 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
85e7589b73564b6bdf28d65073aa3b41b22ae25a71033c24caf123b0756d1ea3
|
|
BLAKE2b-256 checksum How to use checksums |
73e8b8c7bbcc171d8b6506d659637df290b5cc9a6150061f30522bd005230ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp310-cp310-win_amd64.whl
| Download URL | meshiki-0.0.7-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 195.4 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2b60f09ae012e5a3eb44bfc8a70a0f0a2f4c0fea5543b82bdcb5d9828057e215
|
|
BLAKE2b-256 checksum How to use checksums |
cc22620a9605735101548b8d8f1ffc98974f53e3067c72803a4923d91817e54a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp310-cp310-win32.whl
| Download URL | meshiki-0.0.7-cp310-cp310-win32.whl |
|---|---|
| Size | 167.6 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
57a9511b9499fd18054905f5eb6372ee9ce1296d45159da9d7f15a620f122ea8
|
|
BLAKE2b-256 checksum How to use checksums |
bb4913f6010abb7c3811b56f0934ca176e4658e7cbf91652aba427553cda61ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logRelease files / meshiki-0.0.7-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | meshiki-0.0.7-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 261.0 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
79799368606ecacb1e77cfb853a3d3f5eefc17eedd25fc044d83c5074298ff8d
|
|
BLAKE2b-256 checksum How to use checksums |
c96a7f0ea96d32fcacc7042ed5a08819ecb654f7692b7a432c87857343acaf2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logSecurity for meshiki 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 10 files in this release have been uploaded with provenance metadata.
Attestation for meshiki-0.0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 17, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.