I have a cube stored as a geometry in a PostGIS db.
I get the coordinates using the following SQL:

    select ST_AsEWKT(geom) from polyhedral.vol_1 where id = 1

This presents the following result.

    POLYHEDRALSURFACE(
      ((0 1 0,0 0 0,1 0 0,1 1 0,0 1 0)),
      ((1 -0 1,0 0 1,0 1 1,1 1 1,1 -0 1)),
      ((1 0 0,1 -0 1,1 1 1,1 1 0,1 0 0)),
      ((0 0 0,0 0 1,1 -0 1,1 0 0,0 0 0)),
      ((0 1 0,0 1 1,0 0 1,0 0 0,0 1 0)),
      ((0 1 1,0 1 0,1 1 0,1 1 1,0 1 1))
    )

 would like to use this within the Open3D library.
For .ply files it is simple `mesh = read_triangle_mesh(filename.ply)`

Any ideas how I would get the PostGIS output to be compatible with Open3D?