Forum

Author Topic: Merge Chunks - Mesh Merge not working  (Read 2111 times)

SP74

  • Newbie
  • *
  • Posts: 20
    • View Profile
Merge Chunks - Mesh Merge not working
« on: March 18, 2019, 07:48:13 AM »
Hi,

Using Metashape Pro Build 7618, I have used the Split into Chucks Python script to split a chuck in 2 x 2 chunks.  I have batched processed a 3D Model for each chunk, using high settings and 10,000,000 faces.  The 3d Models within the chunks are fine.  However when I try to merge the chunks together, ticking the Merge models checkbox, a merged chunk is produced very quickly, but no merged model is produced.

No error is reported in to console, only;

MergeChunks: merge_dense_clouds = off, merge_models = on.
Merging chunks....

I have tried to decimate the models down to 100,000 faces, but it makes no difference.  I have attached a screenshot showing the 4 chucks displayed together and the empty "Merge Chunk"

Cheers,

Stu.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14103
    • View Profile
Re: Merge Chunks - Mesh Merge not working
« Reply #1 on: March 18, 2019, 05:25:10 PM »
Hello Stu,

I think that executing the following line in the Console pane for this project should fix the issue and you'll be able to merge the models:

Code: [Select]
for chunk in Metashape.app.document.chunks: chunk.transform.matrix = chunk.transform.matrix
Best regards,
Alexey Pasumansky,
Agisoft LLC