photogrammetry_importer.operators.meshroom_import_op

Module Contents

class photogrammetry_importer.operators.meshroom_import_op.ImportMeshroomOperator

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

Import a Meshroom MG/SfM/JSON file.

bl_idname = import_scene.meshroom_sfm_json
bl_label = Import Meshroom SfM/JSON/MG
bl_options
filepath :StringProperty(name='Meshroom JSON File Path', description='File path used for importing the Meshroom SfM/JSON/MG' + ' file')
directory :StringProperty()
filter_glob :StringProperty(default='*.sfm;*.json;*.mg', options={'HIDDEN'})
sfm_node_items = [['AUTOMATIC', 'AUTOMATIC', '', 1], ['ConvertSfMFormatNode', 'ConvertSfMFormatNode', '', 2],...
sfm_node_type :EnumProperty(name='Structure From Motion Node Type', description='Use this property to select the node with the structure' + ' from motion results to import', items=sfm_node_items)
sfm_node_number :IntProperty(name='ConvertSfMFormat Node Number', description='Use this property to select the desired node.' + ' By default the node with the highest number is imported.', default=-1)
mesh_node_items = [['AUTOMATIC', 'AUTOMATIC', '', 1], ['Texturing', 'Texturing', '', 2], ['MeshFiltering',...
mesh_node_type :EnumProperty(name='Mesh Node Type', description='Use this property to select the node with the mesh' + ' results to import', items=mesh_node_items)
mesh_node_number :IntProperty(name='Mesh Node Number', description='Use this property to select the desired node.' + ' By default the node with the highest number is imported.', default=-1)
prepare_node_number :IntProperty(name='Prepare Dense Node Number', description='Use this property to select the desired node.' + ' By default the node with the highest number is imported.', default=-1)
execute(context)

Import a Meshroom file/workspace.

invoke(context, event)

Set the default import options before running the operator.

draw(context)

Draw the import options corresponding to this operator.