Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Remove selection
« previous
next »
Print
Pages: [
1
]
Author
Topic: Remove selection (Read 4551 times)
lukasz.brozek
Newbie
Posts: 3
Remove selection
«
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?
«
Last Edit: June 22, 2015, 12:24:22 PM by lukasz.brozek
»
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15029
Re: Remove selection
«
Reply #1 on:
June 22, 2015, 06:23:03 PM »
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.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
lukasz.brozek
Newbie
Posts: 3
Re: Remove selection
«
Reply #2 on:
July 06, 2015, 09:44:00 AM »
Could you tell me how I can get vertex coordinates of bounding box?
Logged
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Remove selection
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)