Questions tagged [pymeshlab]

PyMeshLab is a Python library that interfaces to MeshLab, the popular open source application for editing and processing large 3D triangle meshes. Python bindings are generated using pybind11.

The official repository of pyMeshlab and installation instruction is at https://github.com/cnr-isti-vclab/PyMeshLab

You can find the official documentation at https://pymeshlab.readthedocs.io/.

36 questions
1
vote
1 answer

Cannot get PyMeshLab running (filter_sketchfab.dll does not seem to be a Qt Plugin.)

im absolutely new to this and struggle with following the tutorial from PyMeshLab (https://pymeshlab.readthedocs.io/en/latest/about.html). What i want to do: open a file (e.g. xyz.ply - point cloud) via PyMeshLab some filter action save filtered…
BjoH
  • 11
  • 2
1
vote
1 answer

How to import the 3D points coordinates in txt file to the pymeshlab in python

I am new to this area. I have a list of 3D points(xyz coordinates) stored in a txt file. I want to find/build meshes/surface using those points. I know the meshlab surface reconstruction feature help with this. I would love to use pymeshlab. From…
sylviaGG
  • 15
  • 3
1
vote
2 answers

How to obtain bounding box info in pymeshlab?

I just started using pymeshlab and am really enjoying it. I am having trouble with one thing, however. I'm trying to use the vertex_attribute_transfer filter, but would rather use a world unit rather than a percentage for the upperbound parameter.…
0
votes
1 answer

PyMeshLab Saving Exception

I am trying to perform a very simple operation in pymeshlab. Import an stl Count the vertices and facets and print them in a txt file Save the mesh with a different name I am using this as a test case having isolated the problem in the…
AeroSpelax
  • 11
  • 5
0
votes
1 answer

Determing accurate direction and distance of models in meshlab

I am working on a project where I need to evaluate models in various viewing directions and distances (zoom in/out) using MeshLab. I would greatly appreciate any assistance on how to determine the distance and direction of the model accurately. If…
Robert
  • 1
0
votes
1 answer

pymeshlab's function "meshing_decimation_quadric_edge_collapse" replacement in open3d

Thanks for your help in advance I am new to 3D. I am trying to implement open3d to replace pymeshlab. Even going through several documents I could not come up with a relacement of the function from pymeshlab…
greeksalad
  • 33
  • 3
0
votes
1 answer

perform **batch** coverting gltf to textured obj format with texture map

perform batch coverting gltf to textured obj format with texture map. I can use meshlab App to covert gltf to textured obj format with texture map. how to perform batch coverting gltf to textured obj format with texture map.
ziwenjie
  • 9
  • 3
0
votes
1 answer

Updating a mesh in meshlab live, from command line

So I have a mesh (a triangulation) which I am performing moves on (Pachner moves...) using a C code, which I want to have some visualizations for. I implemented something in gnuplot, in which the mesh is updated every time a make I move (and I will…
levitopher
  • 117
  • 6
0
votes
1 answer

Can not save mesh when using pymeshlab(MeshSet.save_current_mesh())

I tried the simplest sample of Pymeshlab but there is a Exception. import pymeshlab ms = pymeshlab.MeshSet() ms.load_new_mesh('test.obj') ms.generate_convex_hull() ms.save_current_mesh('convex_hull.ply') File "main.py", line 7, in
Dust
  • 3
  • 1
0
votes
0 answers

Meshlab merge coplanar

Is there a function in Meshlab to merge coplanar faces of a mesh? Using pymeshlab but any other python mesh manipulation tool might be good enough. Certain plugins exist for 3D modelling software that can clean up meshes in this way but using python…
DavorP
  • 1
0
votes
1 answer

pymeshlab install missing MeshSet?

vscode intellisense not working for package. I've installed pymeshlab using the pip3 install pymeshlab command. After installation I followed the getting started instructions using: import pymeshlab ms = pymeshlab.MeshSet() I noticed that MeshSet()…
0
votes
1 answer

Using pymeshlab from python, how to get the faces selected by the filter compute_selection_by_self_intersections_per_face()?

I have a 3d object with self intersections. I load it with meshlab and when I apply the Select Self Intersection Face filter, it selects the faces with self intersections. Applying the same method with pymeshlab, loading the object applying the…
0
votes
1 answer

Import error when using pymeshlab and Pyinstaller

I am currently writing a program using pymeshlab, which I would like to deploy using pyinstaller. After I deployed the program, I tried to run it and got the folowing error. [78981] Module object for struct is NULL! Traceback (most recent call…
jabru
  • 101
  • 3
0
votes
1 answer

Pyinstaller and Pymeshlab

I'm trying to get Pyinstaller to work with a program that uses pymeshlab. Below is an example python script (main.py) that uses a function I want: import pymeshlab import numpy as np mesh_a_verts = np.array([[0., 0., 0.], [0., 0., 1.], [0., 1.,…
Andrew
  • 155
  • 7
0
votes
2 answers

MeshLab: How to process multiple obj files and save them to the disk

I have 50+ meshes to be processed. For each mesh, I need to import the obj file, apply the same filter and then save it to the disk. My question is if there exists a method, either by clicking the mouse or by writing command lines, that can help get…
HoiM
  • 81
  • 6