Forum

Author Topic: Remove Free Vertices  (Read 1545 times)

SamT

  • Newbie
  • *
  • Posts: 40
    • View Profile
Remove Free Vertices
« on: April 30, 2019, 06:02:42 AM »
Is there a method of removing unused vertices from a model via the python API?

I am writing a custom format and I need to either remove them and remap the vertices in my code or do it in Photoscan.

SamT

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Remove Free Vertices
« Reply #1 on: April 30, 2019, 10:48:57 AM »
Model.fixTopology()

Seems to do the trick.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: Remove Free Vertices
« Reply #2 on: April 30, 2019, 11:41:17 AM »
Hello SamT,

If you need to remove the isolated mesh components you can use gradual selection filters.
Best regards,
Alexey Pasumansky,
Agisoft LLC