Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: aphextwin on January 31, 2013, 06:46:03 PM
-
Is it possible to perform a gradual selection on a mesh with python? I couldn?t find something in the reference :-/
-
Hi,
Same question here.
We use multi-frame chunks.
For a single frame, we can manually use this to clean geometry :
-Edit-->Gradual Selection-->Connected component size-->Level 95%
-Delete selected.
But we have a lot of frames, it would be very tedious to do it manually.
Is there a way to use python for this ?
Thanks.
-
Hello,
Unfortunately, such options are not yet supported.
-
Thanks.
Arggll, 1500 frames by hand (1 minute of final movie)...
-
Hello alainfx,
Probably, we will implement the access to connected components filtering via Python in the upcoming update. However, there will be a max number of faces in the component and not percentage as an argument.
-
Thanks !
-
Hello alainfx,
Please check the new build 1812 and chunk.model.removeComponents() method. As argument it should be given threshold number of faces for the connected components.
-
Excellent, thanks !