photogrammetry_importer.operators.opensfm_import_op

Module Contents

class photogrammetry_importer.operators.opensfm_import_op.ImportOpenSfMOperator

Bases: photogrammetry_importer.operators.import_op.ImportOperator, photogrammetry_importer.importers.camera_importer.CameraImporter, photogrammetry_importer.importers.point_importer.PointImporter, photogrammetry_importer.operators.general_options.GeneralOptions, bpy_extras.io_utils.ImportHelper

Import an OpenSfM JSON file

bl_idname = import_scene.opensfm_json
bl_label = Import OpenSfM JSON
bl_options
filepath :StringProperty(name='OpenSfM JSON File Path', description='File path used for importing the OpenSfM JSON file')
directory :StringProperty()
filter_glob :StringProperty(default='*.json', options={'HIDDEN'})
reconstruction_number :IntProperty(name='Reconstruction Number', description='If the input file contains multiple reconstructions, use' + ' this property to select the desired reconstruction.', default=0)
execute(context)

Import an OpenSfM JSON file.

invoke(context, event)

Set the default import options before running the operator.

draw(context)

Draw the import options corresponding to this operator.