I am hitting the problem where the export from the GUI and the export from the Python API are not at all the same.
The GUI export has a folder in the zip file called "data" and is full of files that are then referenced in the JS file. However when you do an export using the Python API, you get no "data" folder in the zip file and the JS file has completely different data in it, only the structure is the same.
My Steps:
1. Open project file
2. Click "File", "Export Points", Type name and select "Potree" as file type, Click "Save"
3. Make sure "Dense cloud" is selected, Click "OK"
4. Export should start
5. Run the following line in the CLI "PhotoScan.app.document.chunk.exportPoints("/location/to/my/export/potree.zip", format="potree", source=PhotoScan.PointsSource.DensePoints)"
6. Compare outputs and they are not the same.
It seems that the script output is not generating any data, its kind of just a blank JS potree file.
Can anyone tell me what I might be missing or why this is happening.