Forum

Author Topic: Making sure all points are exported, ignoring region bounding box  (Read 234 times)

csherwood

  • Newbie
  • *
  • Posts: 5
    • View Profile
I am working with the script of Mike James that uses a randomization process to generate new sparse point clouds. Sometimes it generates points that lie outside the region, and these points are not exported.

Is there a way to ensure all points are exported, ignoring the region?

Alternatively, is there a way to set the region to include all points?

Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 10167
    • View Profile
Re: Making sure all points are exported, ignoring region bounding box
« Reply #1 on: October 25, 2018, 08:34:05 PM »
Hello csherwood,

Please try to set chunk.region.size to PhotoScan.Vector([0,0,0]) prior to the point cloud export. If the bounding box has zero size then all points will be exported.
Best regards,
Alexey Pasumansky,
AgiSoft LLC