Forum

Creating Mesh Programatically with Python API

Started by hippodamos, November 10, 2018, 02:22:32 PM

Previous topic - Next topic

hippodamos

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

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

smiller

Hello,
Is there a way to do this in v1.7.1 or v1.7.2 to create a mesh from a list of points?