Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - echinophoria

Pages: [1]
1
Hi,
I am reviving this topic. But I am having some problem and I have read the API documentation up and down and the whole py script added here and still can figure out what I am missing.
I am doing the same thing the OP is doing. I apply the script and I get the vertices with the projection coordinates. Somehow it only works with the point_cloud but not with the dense_cloud.
Anyway the problem is when creating the shape. I create an empty shape. But from there on I get the error

Code: [Select]

shape.type = Metashape.Shape.Type.Polygon
2022-06-16 19:02:22 Traceback (most recent call last):
2022-06-16 19:02:22   File "<console>", line 1, in <module>
2022-06-16 19:02:22 AttributeError: type object 'Metashape.Shape' has no attribute 'Type'
The same happens with vertices, while Vertices it gives a read only error. has_z doesn't appear as an attribute either...What am I missing?

Pages: [1]