Forum

Author Topic: Can't select 'Build DEM' even though model is scaled  (Read 2686 times)

M_P_A_O_X

  • Newbie
  • *
  • Posts: 4
    • View Profile
Can't select 'Build DEM' even though model is scaled
« on: February 13, 2020, 07:18:48 PM »
Hi there!

I am trying to build a DEM from my model.
I followed these steps:
- aligned photos
- reduced error
- build a dense cloud and a mesh
- created two markers and a scale bar (there are no GCPs available), so an [ S ] is indicated next to my chunck in the workspace

Now all that remains is to build a DEM, but it remains greyed out and I can't select it.
I am quite new to this but have looked around for a solution for days now.

Could anybody enlighten me?

Many thanks![/s]
« Last Edit: February 13, 2020, 07:24:27 PM by M_P_A_O_X »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #1 on: February 13, 2020, 07:38:33 PM »
Hello M_P_A_O_X,

Which version of the application you are using?
Best regards,
Alexey Pasumansky,
Agisoft LLC

M_P_A_O_X

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #2 on: February 13, 2020, 07:40:09 PM »
1.2.6 build 2834 (64 bit)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #3 on: February 13, 2020, 07:43:45 PM »
Ok, it seems to be quite an old version. the suggested workflow would work in the latest 1.6 release version.

In 1.2.6 you can try to input and execute the following command in the Console pane after scaling the chunk:
Code: [Select]
PhotoScan.app.document.chunk.transform.matrix = PhotoScan.app.document.chunk.transform.matrixThe chunk will appear to be [R] (referenced) and you would be able to build DEM.
Best regards,
Alexey Pasumansky,
Agisoft LLC

M_P_A_O_X

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #4 on: February 13, 2020, 07:50:59 PM »
I get back the following:
Code: [Select]
File "<console>", line 1, in <module>
NameError: name 'Photoscan' is not defined

Does that make any sense?

Many thanks for your help!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #5 on: February 13, 2020, 09:12:53 PM »
Hello M_P_A_O_X,

"PhotoScan" module name is case sensitive. You can try to copy and paste the command (make sure that there are no additional spaces in the beginning of the line:
PhotoScan.app.document.chunk.transform.matrix = PhotoScan.app.document.chunk.transform.matrix
Best regards,
Alexey Pasumansky,
Agisoft LLC

M_P_A_O_X

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Can't select 'Build DEM' even though model is scaled
« Reply #6 on: February 14, 2020, 10:33:46 AM »
Solved, you're the best!