Forum

Author Topic: ExportModel Parameters  (Read 1283 times)

tailong

  • Newbie
  • *
  • Posts: 3
    • View Profile
ExportModel Parameters
« on: August 27, 2022, 01:34:41 AM »
I want to be able to export a model in FBX format using the same parameters in the GUI regardless of coordinate system (see attached image):
export vertex colors
export vertex normals
export texture (jpeg)
binary encoding
convert to 8 bit rgb
save alpha
embed texture
clip to boundary
shift of (0,0,0)

do not export cameras
do not export markers
do not include comment
no raster transform

currently i am using the line
Code: [Select]
chunk.exportModel(path=' MODEL.fbx', save_cameras=False, save_markers=False, save_alpha=True, embed_texture=True, crs=crs, shift=Metashape.Vector((0,0,0)), save_comment=False)
the output file appears to be the same size, but there are notable differences in the mesh when using programs such as cloud compare. Suppose I know for certain that the coordinate system is not the problem, is there any parameters or code that I am missing? What would be the correct function parameters?


« Last Edit: August 27, 2022, 02:31:00 AM by tailong »