PDAL / python

PDAL's Python Support
Other
117 stars 35 forks source link

Access to faces in python? #58

Closed dmfenton closed 4 years ago

dmfenton commented 4 years ago

I'm attempting to create a python notebook where I do the following:

  1. run poisson reconstruction in pdal
  2. enrich the new point cloud w/ additional data
  3. write out a ply file with faces

However, the ply file does not include any faces and so I am left with a point cloud when I want a mesh. Am I doing something wrong here or is this unsupported?

hobu commented 4 years ago

Nope, not supported at the moment. If you muck with the cython, you should be able to expose them from the PointView, however.

hobu commented 4 years ago

If you write a pipeline, you'll be able to write it to an actual file and then use some other PLY reader to get back the faces. Not ideal, but cheap hackery.

dmfenton commented 4 years ago

Thanks for the quick response @hobu. Despite this roadblock I'm finding PDAL to be super fun and easy to work with.

hobu commented 4 years ago

Reopen with a PR or if you are stuck with something.