Forum

Export textures only

Started by Thibaud Capra, February 17, 2017, 06:07:41 PM

Previous topic - Next topic

Alexey Pasumansky

Hello Thibaud,

If you need to save the texture from the active chunk, you need to use:

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.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Thibaud Capra

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
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
--