我对此非常陌生,并且很难遵循PyMeshLab (https://pymeshlab.readthedocs.io/en/latest/about.html)的教程。
我想做的是:
我的“代码”是从教程“加载网格”,“应用过滤器”和“保存网格”拼接在一起的。
它在导入库时已经提示了一个警告。
进口果肉..。
->
警告:无法加载以下插件:
filter_sketchfab.dll: filter_sketchfab.dll does not seem to be a Qt Plugin.无法加载库C:\Users\bvis\AppData\Local\Programs\Python\Python39\lib\site-packages\pymeshlab\lib\plugins\filter_sketchfab.dll:,Das,angegebene,Modul,wurde,nicht gefunden。
有什么想法吗?
谢谢
发布于 2021-03-01 15:11:31
我也收到这个警告。不过,除了"MeshSet.print_filter_list()“之类的打印函数外,它似乎还能工作,您可能已经从示例代码中复制了这些函数。您可以轻松地将打印函数替换为模块级的函数:
import pymeshlab
pymeshlab.print_pymeshlab_version()
filters = pymeshlab.filter_list()
print(filters)
pymeshlab.print_filter_parameter_list('discrete_curvatures')结果:
PyMeshLab 0.2 based on MeshLab 2020.12d
['alpha_complex_shape', 'ambient_occlusion', 'annulus', 'box_cube', ... 'voronoi_sampling', 'voronoi_scaffolding', 'voronoi_vertex_coloring']
Please note: some parameters depend on the mesh(es) used as input of the
filter. Default values listed here are computed on a 1x1x1 cube
(pymeshlab/tests/sample/cube.obj), and they will be computed on the input mesh
if they are left as default.
surface_reconstruction_screened_poisson filter - list of parameter names:
visiblelayer : bool = False
depth : int = 8
fulldepth : int = 5
cgdepth : int = 0
scale : float = 1.1
samplespernode : float = 1.5
pointweight : float = 4
iters : int = 8
confidence : bool = False
preclean : bool = False其他MeshSet函数对我来说没有问题,例如:
ms = pymeshlab.MeshSet()
ms.load_new_mesh('test.ply')
ms.apply_filter('discrete_curvatures')
ms.save_current_mesh(output_vis)https://stackoverflow.com/questions/66401798
复制相似问题