Developer friendly suite for manipulating mesh
Project description
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, only Blender and Open3D 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
blender_cook = Open3dCookbook.from_file("path_to_mesh.<any_format>")
blender_cook.smoothen(5)
blender_cook.repair()
More
For more information, look at the source code, it is relatively easy to read. Start in the cookbook
submodule.
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
meshemy-0.4.2.tar.gz
(6.9 kB
view hashes)