Meshemy: Python toolbelt for manipulating mesh
Consolidation package for manipulating mesh. Comes with cookbook models from each package
Installation
pip install meshemy[full]
Use it in your poetry package
poetry add meshemy -E full
Usage
You need to pick at least one extra for this package to be useful. Install all modules by installing full.
Cookbook
Currently, Blender, Open3D, and Trimesh is supported.
Blender
The blender extra must be installed.
from meshemy.cookbook.blender import BlenderCookbook
blender_cook = BlenderCookbook.from_file("path_to_mesh.<any_format>")
blender_cook.planar_decimate(degree_tol=5.0)
You can convert to any other cookbook .to_o3d(), for instance.
Open3D
The open3d extra must be installed.
from meshemy.cookbook.open3d import Open3dCookbook
o3d_cook = Open3dCookbook.from_file("path_to_mesh.<any_format>")
o3d_cook.smoothen(5)
o3d_cook.repair()
Open3D
The trimesh extra must be installed.
from meshemy.cookbook.trimesh import TrimeshCookbook
trimesh_cook = TrimeshCookbook.from_file("path_to_mesh.<any_format>")
trimesh_cook.contains(vertices)
More
For more information, look at the source code, it is relatively easy to read. Start in the cookbook submodule.
Metadata
Release files for meshemy 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meshemy-2.0.0.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meshemy-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.4 kB
Release files / meshemy-2.0.0.tar.gz
| Download URL | meshemy-2.0.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5f0bb0e123749682add75bd50c8b4747915fe4892657cdef78d9ecaf2ab7b70
|
|
BLAKE2b-256 checksum How to use checksums |
922e1efb2f966e6cd3a6ae94fb67f644e4d55906a5c4f35dd37fa22a46f2f4fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-zen1-1-zen
|
Release files / meshemy-2.0.0-py3-none-any.whl
| Download URL | meshemy-2.0.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
168ffbd6a5c7b874eefd928969c9661fcfd29588624cbd709f33748a725412b1
|
|
BLAKE2b-256 checksum How to use checksums |
64843c8dec82877a30a112249402576e92afa574000556097ee44750b0adc563
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.3 Linux/6.4.6-zen1-1-zen
|