[nodes] ConvertMesh: add out mesh file type parameter

This commit is contained in:
Thomas Zorroche 2021-08-13 17:09:56 +02:00 committed by Fabien Castan
parent f26aea656e
commit 295dee5dd9

View file

@ -18,14 +18,13 @@ class ConvertMesh(desc.CommandLineNode):
uid=[0], uid=[0],
), ),
desc.ChoiceParam( desc.ChoiceParam(
name='outputMeshFormat', name='outputMeshFileType',
label='Output Mesh Format', label='File Type',
description='''Output Mesh Format (*.obj, *.mesh, *.meshb, *.ply, *.off, *.stl).''', description='''Output Mesh Format (*.obj, *.gltf, *.fbx, *.stl).''',
value='obj', value='gltf',
values=['obj', 'mesh', 'meshb', 'ply', 'off','stl'], values=('gltf', 'obj', 'fbx', 'stl'),
exclusive=True, exclusive=True,
uid=[0], uid=[0],
group='',
), ),
desc.ChoiceParam( desc.ChoiceParam(
name='verboseLevel', name='verboseLevel',
@ -43,7 +42,7 @@ class ConvertMesh(desc.CommandLineNode):
name='output', name='output',
label='Output Mesh', label='Output Mesh',
description='''Output mesh (*.obj, *.mesh, *.meshb, *.ply, *.off, *.stl).''', description='''Output mesh (*.obj, *.mesh, *.meshb, *.ply, *.off, *.stl).''',
value=desc.Node.internalFolder + 'mesh.' + '{outputMeshFormatValue}', value=desc.Node.internalFolder + 'mesh.' + '{outputMeshFileTypeValue}',
uid=[], uid=[],
), ),
] ]