Forum

Author Topic: chunk.exportPointCloud method doesn't honor ExportPointCloud/precision tweak  (Read 8665 times)

andyroo

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
I just finished some testing and found that in v2.1.4, I can use the [ExportPointCloud/precision = 0.001] tweak to get desired output precision in .laz files when exporting through the GUI, but not when using the chunk.exportPointCloud method in the Python API. Would it be possible to add a resolution option to the API method or have it check for/honor tweaks?

vineg

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Hi!

This tweak is available as a hidden method parameter:

Please, try
Code: [Select]
Metashape.app.document.chunk.exportPointCloud("/path/to/output.laz", precision=0.001)

andyroo

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Thank you!