Skip to content

orient_normals_consistent_tangent_plane method does not accept lambda as a valid argument #7106

@Hennsie

Description

@Hennsie

Checklist

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

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

- 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot a build issue, this is likely a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions