isl-org / isl-org/Open3D

How to convert LineSet to a Mesh

Open
#5,196 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### My Question

I am trying to visualize an object from which I would like to select some points. This object is within a dictionary containing a Mesh and a LineSet. The Mesh is divided in two meshes that are overlaped just by adding one to the other, while the LineSet is defining the boundaries of the area in which these two objects are located. However, the LineSet neither can be added to the Mesh nor can be added as a geometry, since the "vis.add_geometry()" function from "vis = o3d.visualization.VisualizerWithVertexSelection()" only allows one geometry per run. Is there a way to get the view of both LineSet and Mesh, while being able to select the vertex of the Mesh?

![image](https://user-images.githubusercontent.com/89065325/173580996-2906dc5f-e0e1-444f-88f8-3af68be8b784.png)

![image](https://user-images.githubusercontent.com/89065325/173580831-bbc5ff09-5f74-4914-9f7a-164b9a0ea893.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.