isl-org / isl-org/Open3D

orient_normals_consistent_tangent_plane method does not accept lambda as a valid argument

Open
#7,106 2 comments 0 reactions 0 assignees View on GitHub
bug
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).

### Describe the issue

Attempting to use the orient_normals_consistent_tangent_plane method in Open3D, the function does not recognize lambda as a valid argument name.

### Steps to reproduce the bug

```python
import numpy as np
import open3d as o3d
points = np.random.random((100,3))
pcd = o3d.geometry.PointCloud(o3d.utility.Vector3dVector(points))
pcd.estimate_normals()
pcd.orient_normals_consistent_tangent_plane(k=5, lambda=0.1)
```

### Error message

SyntaxError: invalid syntax

### Expected behavior

Just an other name for the argument lambda for example lambda_

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 22.04.5
- Python version: 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0]
- Open3D version: 0.18.0
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: pip
```

### Additional information

_No response_

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.