PyMeshLab
PyMeshLab copied to clipboard
The open source mesh processing python library
I would like to save a `MeshSet` object in a specific format (say, e.g. `.obj`) but keep the resulting string/blob in a variable instead of writing it to disk. Is...
Hello, I am trying to convert .obj to .ply with some filters. In the output .ply, I got ``` property double x property double y property double z property double...
python 3.7.6 pymeshlab 0.1.8 filter: compute_normals_for_point_sets reproduce code: ```python= ms = ml.MeshSet() ms.load_new_mesh('longdress_vox10_1051.ply') ms.apply_filter('compute_normals_for_point_sets', k=30) ms.save_current_mesh('longdress_vox10_1051_normal.ply') ``` Attached is the model I used. [longdress_vox10_1051.zip](https://github.com/cnr-isti-vclab/PyMeshLab/files/5885412/longdress_vox10_1051.zip) The process is done perfectly in...
Hi, I'm trying to apply the `colorize_curvature_apss` filter with `curvaturetype=K1, K2` on a sample mesh, but it crashes. This is the error I get: ``` *** Error in `python': double...
Given the messy and definitely non-dynamic library load system of the external u3d exporter, the call ``` ms.save_current_mesh('file.u3d') ``` fails raising a PyMeshLabException. See #25
Hey there I get very consistently, if I first apply the filter `generate_splitting_by_connected_components` and then the filter `compute_curvature_principal_directions_per_vertex(methid=4)` that the runtime for the calculation becomes really long. Before the calculation...
After using `meshing_close_holes()` on a MeshSet, `apply_coord_laplacian_smoothing()` won't have any effect. Details in mwe: ``` import pymeshlab pymeshlab.print_pymeshlab_version() mesh_path ="bunny10k.ply" ms = pymeshlab.MeshSet() ms.load_new_mesh(mesh_path) ms.meshing_close_holes() verts_before = ms.current_mesh().vertex_matrix() ms.apply_coord_laplacian_smoothing() verts_after...
while i runing: import pymeshlab ms = pymeshlab.MeshSet () ms.load_new_mesh (ipath) ms.save_current_mesh (opath) The following error occor: Traceback (most recent call last): File "", line 991, in _find_and_load File "",...
I have camera positions and rotations from a camera alignment ([4x4 transformation matrices][1]). Visualizing them with [open3d][2] works fine. The following code produces the scene below with the object in...
hi. I have a stl, i show it on meshlab: Vertices: 379,251 Faces: 757,616 then I use the button which is "remove_duplicate_vertices", it becomes as: Vertices: 370,280 Faces: 757,616 ___________________________________________...