mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 03:26:30 +02:00
42 lines
1.3 KiB
Python
42 lines
1.3 KiB
Python
__version__ = "1.0"
|
|
|
|
from meshroom.core import desc
|
|
from meshroom.core.utils import VERBOSE_LEVEL
|
|
|
|
|
|
class ExportMaya(desc.AVCommandLineNode):
|
|
commandLine = 'aliceVision_exportMeshroomMaya {allParams}'
|
|
|
|
category = 'Export'
|
|
documentation = '''
|
|
Export a scene for Autodesk Maya, with an Alembic file describing the SfM: cameras and 3D points.
|
|
It will export half-size undistorted images to use as image planes for cameras and also export thumbnails.
|
|
Use the MeshroomMaya plugin, to load the ABC file. It will recognize the file structure and will setup the scene.
|
|
MeshroomMaya contains a user interface to browse all cameras.
|
|
'''
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name="input",
|
|
label="Input SfMData",
|
|
description="Input SfMData file.",
|
|
value="",
|
|
),
|
|
desc.ChoiceParam(
|
|
name="verboseLevel",
|
|
label="Verbose Level",
|
|
description="Verbosity level (fatal, error, warning, info, debug, trace).",
|
|
values=VERBOSE_LEVEL,
|
|
value="info",
|
|
exclusive=True,
|
|
),
|
|
]
|
|
|
|
outputs = [
|
|
desc.File(
|
|
name="output",
|
|
label="Folder",
|
|
description="Folder for MeshroomMaya outputs: undistorted images and thumbnails.",
|
|
value=desc.Node.internalFolder,
|
|
),
|
|
]
|