Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Export textures only
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Export textures only (Read 15144 times)
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15354
Re: Export textures only
«
Reply #15 on:
February 21, 2017, 12:58:59 PM »
Hello Thibaud,
If you need to save the texture from the active chunk, you need to use:
Code:
[Select]
chunk = PhotoScan.app.document.chunk
chunk.model.saveTexture(path_tex)
You are trying to use .saveTexture() method on PhotoScan.Model() class and not on the object of that class.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Thibaud Capra
Full Member
Posts: 101
Master Student in Geodetic Engineering & Surveying
Re: Export textures only
«
Reply #16 on:
February 21, 2017, 03:08:34 PM »
Hello Alexey,
Thanks, it's working now.
I finished the rest of the code, using your advice of using print for debugging, everything's ready and already running!
Thanks a lot
Logged
Best regards.
--
Thibaud CAPRA
Master Student in Geodetic Engineering, Cartography & Surveying
Master Thesis in Automated Processing of UAV-based Photogrammetric Data (ResearchGate Link)
INSA de Strasbourg, FRANCE
--
Print
Pages:
1
[
2
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Export textures only
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)