Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Inheritance of classes

Open wojiazaiyugang opened this issue 3 years ago • 0 comments

Checklist

Describe the issue

same as https://github.com/isl-org/Open3D/issues/572

    class Test(o3d.geometry.TriangleMesh):
        pass

    if __name__ == '__main__':
        a = Test()

    TypeError: pybind11::init(): unable to convert returned instance to required alias class: no `Alias<Class>(Class &&)` constructor available

Steps to reproduce the bug

class Test(o3d.geometry.TriangleMesh):
        pass

    if __name__ == '__main__':
        a = Test()

    TypeError: pybind11::init(): unable to convert returned instance to required alias class: no `Alias<Class>(Class &&)` constructor available

Error message

No response

Expected behavior

No response

Open3D, Python and System information

- Operating system: Ubuntu 20.04
- Python version: Python 3.8
- Open3D version: 0.15.2
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip

Additional information

No response

wojiazaiyugang avatar Aug 17 '22 07:08 wojiazaiyugang