Forum

Author Topic: Editing reconstruction volume  (Read 5510 times)

IvanShubin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Editing reconstruction volume
« on: September 03, 2013, 02:04:37 PM »
How to chenge reconstruction volume using console commands? I use the following command:

ch.region.center[0] = -2

but reconstruction volume doesn't change

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14927
    • View Profile
Re: Editing reconstruction volume
« Reply #1 on: September 03, 2013, 02:10:13 PM »
Hello Ivan,

To change working volume you need to create new PhotoScan.Region() instance at first.

For example:

Code: [Select]
new_region = ch.region

new_region.center = PhotoScan.Vector([x, y, z])
new_region.rot = PhotoScan.Matrix(...)

ch.region = new_region
Best regards,
Alexey Pasumansky,
Agisoft LLC