[英]Edge data from generated polyline in Meshlab
I am generating polylines in Meshlab through the 'Compute Planar Section' filter.我正在通过“计算平面部分”过滤器在 Meshlab 中生成多段线。 What I would like to be able to do is obtain the data that is used to connect one point to another.
我希望能够做的是获取用于将一个点连接到另一个点的数据。 Meshlab holds this data, as when I export my polyline to DXF, the edges are present, correctly joined together.
Meshlab 保存这些数据,因为当我将多段线导出到 DXF 时,边缘存在,正确连接在一起。
I imagine a list, where each edge has a start and endpoint (potentially vertex ID), as seen in the DXF would be the most help.我想象一个列表,其中每条边都有一个起点和终点(可能是顶点 ID),如 DXF 中所见将是最有帮助的。
Any guidance in helping obtain this information would be greatly appreciated.任何帮助获取此信息的指导将不胜感激。
I have to bring bad news.我必须带来坏消息。 At current day (October 2021) the edge information that you request is stored internally in the VCG meshes but it is not exposed to python API, so you can't read it using pymeshlab.
在当天(2021 年 10 月),您请求的边缘信息内部存储在 VCG 网格中,但未向 Python API 公开,因此您无法使用 pymeshlab 读取它。 You can only read the number of edges using the m.edge_number() method.
您只能使用 m.edge_number() 方法读取边数。
If you need to continue with your project, yours options are:如果您需要继续您的项目,您的选择是:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.