Open rakrsh opened 2 years ago
Dont import open3d as o3dtut. - import open3d as o3dtut
The code for edges_to_lineset
is available here: https://github.com/isl-org/Open3D/blob/main/docs/jupyter/open3d_tutorial.py. This code is not a part of open3d package when installed but is also available in https://github.com/isl-org/Open3D/blob/main/examples/python/open3d_example.py#L30 which is part of open3d.
>>> from open3d.examples import open3d_example
>>> open3d_example.edges_to_lineset()
Checklist
master
branch).Describe the issue
I am trying to run the code snippet from the documentation for mesh properties: http://www.open3d.org/docs/release/tutorial/geometry/mesh.html
https://github.com/ravikr1/open3d-examples/blob/main/mesh/mesh_properties.py
Steps to reproduce the bug
Error message
File "mesh_properties.py", line 56, in
check_properties('Mobius', o3dtut.geometry.TriangleMesh.create_mobius(twists=1))
File "mesh_properties.py", line 29, in check_properties
geoms.append(o3dtut.edges_to_lineset(mesh, edges, (0, 1, 0)))
AttributeError: module 'open3d' has no attribute 'edges_to_lineset'
Expected behavior
No response
Open3D, Python and System information
Additional information
No response