[nodes] add output mesh file type for Meshing and Mesh Filtering

This commit is contained in:
Thomas Zorroche 2021-08-13 10:21:33 +02:00 committed by Fabien Castan
parent 2aa0bb12d4
commit 173be9f187
2 changed files with 23 additions and 5 deletions

View file

@ -36,6 +36,15 @@ A Graph Cut Max-Flow is applied to optimally cut the volume. This cut represents
value='',
uid=[0],
),
desc.ChoiceParam(
name='outputMeshFileType',
label='File Type',
description='Output Mesh File Type',
value='gltf',
values=('gltf', 'obj', 'fbx', 'stl'),
exclusive=True,
uid=[0],
),
desc.BoolParam(
name='useBoundingBox',
label='Custom Bounding Box',
@ -496,8 +505,8 @@ A Graph Cut Max-Flow is applied to optimally cut the volume. This cut represents
desc.File(
name="outputMesh",
label="Mesh",
description="Output mesh (OBJ file format).",
value="{cache}/{nodeType}/{uid0}/mesh.obj",
description="Output mesh",
value="{cache}/{nodeType}/{uid0}/mesh.{outputMeshFileTypeValue}",
uid=[],
),
desc.File(