Forum

Author Topic: Import 3D-Mesh after post processing  (Read 10118 times)

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Import 3D-Mesh after post processing
« on: March 15, 2021, 03:42:16 PM »
Hello,

I created a Mesh in Metashape out of drone pictures. After I processed it I exported it into Blender to clean up the Mesh.
Without noticing I screwed up the coordinate orientation in this step. Now I wanted to create the texture oft the Mesh in Metashape, which is not possible because the imported Mesh is not in the right position. Is there a way to orientate the Mesh again so I can create a texture.

Thank for your help!

frmgsft

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #1 on: March 15, 2021, 05:06:18 PM »
If you rotated the object in object mode, then select it and press Alt+R to clear rotation. Otherwise there will be some manual alignment involved.

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #2 on: March 16, 2021, 12:34:43 AM »
Yeah, I dient do that so that is definetly not the problem.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15615
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #3 on: March 16, 2021, 01:21:23 AM »
Hello Regon,

In case the data is not that sensible, can you please provide the screenshot of the original mesh in Metashape window and the imported mesh to the same scene?

Please also check in Blender, what happens if you load the original model (exported from Metashape) to the same Blender scene - do they overlap perfectly?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #4 on: March 16, 2021, 09:39:04 AM »
Hello,
thanks for your answer.
They are not matching in Blender either.

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #5 on: March 16, 2021, 11:07:14 AM »
Ok i know where I screwed up in Blender, I rotated the Mesh. Is there a way to fix this in Agisoft for example reallign it with markers?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15615
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #6 on: March 17, 2021, 01:32:54 AM »
Hello Regon,

You can try to use align_model_to_model script, providing that you have both original and modified models in the same chunk:
https://github.com/agisoft-llc/metashape-scripts/blob/master/src/align_model_to_model.py
Best regards,
Alexey Pasumansky,
Agisoft LLC

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #7 on: March 17, 2021, 01:09:40 PM »
Hello,
Thanks for the answer.
I tried the script but it didn`t work. The edited model just disappered.
You can see the used parameters in th screenshot below.
« Last Edit: March 17, 2021, 01:17:51 PM by Regon »

Regon

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Import 3D-Mesh after post processing
« Reply #8 on: March 18, 2021, 10:58:24 AM »
Today I tried it again and for some reason the script worked, if I put both models in a new created project.

Thanks for your help!