Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: lukasz.brozek on June 22, 2015, 11:02:20 AM
-
Hi! I'm new in Python scrypting and I have trouble. I read Photoscan Python Api manual, but I can't find solution.
Do you know how to make selection part of mesh outside of bounding box and delete it?
-
Hello lukasz.brozek,
I think that you need to check every polygon (face) in the mesh model, whether its' vertices are inside or outside the Bounding Box. If all vertices are outside you can remove such polygon.
-
Could you tell me how I can get vertex coordinates of bounding box?