首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法运行PyMeshLab (filter_sketchfab.dll似乎不是Qt插件)。

无法运行PyMeshLab (filter_sketchfab.dll似乎不是Qt插件)。
EN

Stack Overflow用户
提问于 2021-02-27 17:57:43
回答 1查看 794关注 0票数 1

我对此非常陌生,并且很难遵循PyMeshLab (https://pymeshlab.readthedocs.io/en/latest/about.html)的教程。

我想做的是:

  • 通过PyMeshLab
  • 打开一个文件(例如xyz.ply点云)一些过滤器动作
  • 保存过滤文件(例如xyz.obj)

我的“代码”是从教程“加载网格”,“应用过滤器”和“保存网格”拼接在一起的。

它在导入库时已经提示了一个警告。

进口果肉..。

->

警告:无法加载以下插件:

代码语言:javascript
复制
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。

有什么想法吗?

谢谢

EN

回答 1

Stack Overflow用户

发布于 2021-03-01 15:11:31

我也收到这个警告。不过,除了"MeshSet.print_filter_list()“之类的打印函数外,它似乎还能工作,您可能已经从示例代码中复制了这些函数。您可以轻松地将打印函数替换为模块级的函数:

代码语言:javascript
复制
import pymeshlab
pymeshlab.print_pymeshlab_version()
filters = pymeshlab.filter_list()
print(filters)
pymeshlab.print_filter_parameter_list('discrete_curvatures')

结果:

代码语言:javascript
复制
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函数对我来说没有问题,例如:

代码语言:javascript
复制
ms = pymeshlab.MeshSet()
ms.load_new_mesh('test.ply')
ms.apply_filter('discrete_curvatures')
ms.save_current_mesh(output_vis)
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66401798

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档