This guide shows how to export the Agisoft Metashape project into the model and XML blocks exchange files to be imported into TwinSpect.
1. Align Photos
Once you have inserted the photos, press 'Workflow' in the menu and then 'Align Photos'.
Here you make the following settings:
IMPORTANT: If you move the point cloud again, you must repeat this step and then create the mesh.
If you move the whole mesh, you have to start again at the step "Align photos".
2. Build Mesh
Then go to "Build Mesh" in the "Workflow" menu and make the following settings:
3. Build Texture
After the mesh is created, you create the textures as follows under "Workflow" and then "Build Textures":
IMPORTANT:
The texture size and number must be set differently for each model.
The larger the model, the more textures must be created.
The texture size must be set to 4k or 8k.
4. Export model
Export the generated model into a 3D mesh in the OBJ wavefront format. See below for the format options. By this, an OBJ file of the model with the corresponding textures will be generated.
Note: please make sure to choose the correct coordinate system, and to choose the same coordinate system for both the model and cameras export.
5. Export Cameras
After exporting the model into the OBJ format, please export the cameras into the blocks exchange format as an XML file. For this, please click on “File” and ”Export Cameras…” (see screenshot below).
2.1. Save Dialog: Then, the save dialog will show up. Please choose a filename and select the “Blocks Exchange (*.xml)” format and click on “Save”.
2.2. Export Cameras Dialog Finally, the following dialog will show up.
Note: please make sure to have deselected the red highlighted check boxes for the tie points and control points. Further, please make sure to have selected the same coordinate system as you chosen when exporting the 3D model.
When clicking on “OK“, the corresponding XML file will be generated that can be used to import the original inspection photos into Twinspect.