Forum

Author Topic: Python script for exporting model??  (Read 7718 times)

an198317

  • Newbie
  • *
  • Posts: 42
    • View Profile
Python script for exporting model??
« on: September 03, 2013, 05:35:41 PM »
Hi all,

I want to add a export model routine in my workflow to export model as a ply file with normals and colors. I didn't find there is such a routine for Python script. But I did find "save". There is export_normals, but there is no export vertex colors for ply file.

When the ply file is exported, I don't want choose "Binary Encoding" option.

How can I do this in the PhotoScan Pro??

Thanks in advance!
Nan

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Python script for exporting model??
« Reply #1 on: September 03, 2013, 05:50:18 PM »
Hello Nan,

Unfortunately, these options currently are not changeable via Python, we'll try to add corresponding parameters to model.export function in the next updates.

By default, colors are saved and binary encoding is on (if applicable).
Best regards,
Alexey Pasumansky,
Agisoft LLC

an198317

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Python script for exporting model??
« Reply #2 on: September 03, 2013, 08:34:51 PM »
Hi Alexey,

That's a big unfortunate to us. We just found out we can utilize ply model really well than point cloud. I am wondering what time the next update will be released? As you know, my project is heavily relied on PhotoScan Pro.

Thanks a lot!
Nan

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Python script for exporting model??
« Reply #3 on: September 03, 2013, 09:04:14 PM »
Hello Nan,

We are currently working on 1.0.0 version and updates of the pre-release are quite frequent. I'll try to put this task on top of our priority list, but I can't say for sure if it will be implemented in the next update, but hopefully in this month.
Best regards,
Alexey Pasumansky,
Agisoft LLC

an198317

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Python script for exporting model??
« Reply #4 on: September 04, 2013, 12:05:01 AM »
Thanks, Alexey for your great information. I really hope those options could be implemented in the next updates. I think it's gonna be beneficial for a lot of users eventually. And I am looking forward to see the next update and final 1.0.0 version!

Nan