isl-org / isl-org/Open3D

some funtion is not valid in vscode such as "build a coordinate and make visualization"

Open
#6,861 5 comments 1 reaction 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](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### My Question

```
python -- version 3.11.9
open3d -- version 0.18.0
```
code:
```
import open3d as o3d

print("start")
coordinate = o3d.geometry.TriangleMesh.create_coordinate_frame(size=1)
print("build coordinate")
o3d.visualization.draw_geometries([coordinate])
print("visualization")
```
result:
```
PS E:\python3.11\workspace> & E:/python3.11/python.exe e:/python3.11/workspace/test.py
start
PS E:\python3.11\workspace>
```
Normally, it will show a window with a coordinate inside it, but it doesn't and no error.
If I show some points, it works!

```
import open3d as o3d
import numpy as np

num_points = 1000
points = np.random.rand(num_points, 3)
point_cloud = o3d.geometry.PointCloud()
point_cloud.points = o3d.utility.Vector3dVector(points)
o3d.visualization.draw_geometries([point_cloud], window_name="Random Point Cloud")
```
result:
`It give me a window with some random point_cloud, sorry for no picture~`

So the coordinate visualization, how can I fix it?

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.