Forum

Author Topic: Export Model with Shift and Rotation  (Read 4737 times)

FabianN

  • Newbie
  • *
  • Posts: 18
    • View Profile
Export Model with Shift and Rotation
« on: October 31, 2022, 01:32:34 PM »
Hi all,

The python function exportModel allows to specify a shift vector for the vertex coordinates. What I need is a shift and a rotation (around the origin along the geographic height axis) for the vertex coordinates.
The rotation should be applied after the shift. What is the best procedure for this?

Thank you!
Fabian

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15354
    • View Profile
Re: Export Model with Shift and Rotation
« Reply #1 on: November 01, 2022, 01:07:15 PM »
Hello Fabian,

Can you elaborate for what purposes such kind of transformation is required?

Originally, the Shift option for coordinates has been implemented to deal with the overflow of the data format for external applications that cannot properly deal with values exceeding millions of units.
Best regards,
Alexey Pasumansky,
Agisoft LLC

FabianN

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Export Model with Shift and Rotation
« Reply #2 on: November 01, 2022, 03:11:06 PM »
Hi Alexey,

The purpose is to have the models available in a local coordinate frame such that they can be compared to other products / scans. Besides the coordinate shift (to handle the overflow of large coordinates) those local coordinate systems typically are rotated around the vertical axis such that the X-axis is aligned to a given structure (f.e. the principle axis of a building).

My task is to deliver models in such a local coordinate system.