mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-06 12:51:57 +02:00
[nodes] Add node ExportAbimatedCamera
This commit is contained in:
parent
e27a2145b7
commit
2ebcf8289c
1 changed files with 42 additions and 0 deletions
42
meshroom/nodes/aliceVision/ExportAnimatedCamera.py
Normal file
42
meshroom/nodes/aliceVision/ExportAnimatedCamera.py
Normal file
|
@ -0,0 +1,42 @@
|
|||
from meshroom.core import desc
|
||||
|
||||
|
||||
class ExportAnimatedCamera(desc.CommandLineNode):
|
||||
internalFolder = '{cache}/{nodeType}/{uid0}/'
|
||||
commandLine = 'aliceVision_exportAnimatedCamera {allParams}'
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input SfMData',
|
||||
description='SfMData file containing a complete SfM.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='filter',
|
||||
label='SfMData Filter',
|
||||
description='A SfMData file use as filter.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='verboseLevel',
|
||||
label='Verbose Level',
|
||||
description='Verbosity level (fatal, error, warning, info, debug, trace).',
|
||||
value='info',
|
||||
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
|
||||
exclusive=True,
|
||||
uid=[],
|
||||
)
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='Output filename',
|
||||
description='Output filename for the alembic animated camera.',
|
||||
value='{cache}/{nodeType}/{uid0}/camera.abc',
|
||||
uid=[],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue