Forum

Author Topic: Creating Mesh Programatically with Python API  (Read 393 times)

hippodamos

  • Newbie
  • *
  • Posts: 2
    • View Profile
Creating Mesh Programatically with Python API
« on: November 10, 2018, 02:22:32 PM »
Hello,

I wonder if there is a way to create a mesh with python api. I could create mesh holder (I dont remember the class name) but I couldn't populate the vertices and faces array. Is there a way to populate these arrays and build a mesh? Or should I wait developers to implement this feature into python api?

Thanks.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 10440
    • View Profile
Re: Creating Mesh Programatically with Python API
« Reply #1 on: November 19, 2018, 04:46:53 PM »
Hello hippodamos,

In version 1.4.4 it is not possible to add new polygons to the mesh model.

In the version 1.5.0 it is possible to extend the number of polygons in the mesh using chunk.model.resize(new_poly_count) method.
Best regards,
Alexey Pasumansky,
AgiSoft LLC