Forum

Author Topic: Markers export as .ma file  (Read 1163 times)

Broken1334

  • Newbie
  • *
  • Posts: 2
    • View Profile
Markers export as .ma file
« on: January 28, 2022, 08:40:05 AM »
Hi!
Tried to export markers (without model) using chunk.exportCameras with save_markers=True, but I don't understand how to use .ma file format here. Metashape Python Reference also doesn't have any info.
Fbx with save_markers=True gives me cameras only.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14839
    • View Profile
Re: Markers export as .ma file
« Reply #1 on: January 28, 2022, 06:04:32 PM »
Hello Broken1334,

What information you need to be exported for the markers? Also please specify which Metashape version you are using.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Broken1334

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Markers export as .ma file
« Reply #2 on: January 28, 2022, 06:40:14 PM »
I need markers position as helpers for modeling (something like ImageModeler workflow).
If I have generated mesh I can correctly export it with cameras and markers via fbx. But without mesh (not enough images for building) I cannot export markers in formats that Maya understand (.dxf in Maya works quite bad). In console output I see "format = 19" when click "File" -"Export" - "Export Cameras" - as .ma file, but not sure how to use it as Python script.
Metashape 1.8.0 and Maya 2018.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14839
    • View Profile
Re: Markers export as .ma file
« Reply #3 on: January 28, 2022, 08:28:27 PM »
Hello Broken1334,

Are you able to build the rough mesh model using tie points as a source?

Currently Maya cameras format doesn't yet have corresponding enum in API, so you can use format=19, as you see it in the GUI command log.
Best regards,
Alexey Pasumansky,
Agisoft LLC