[nodes] format MeshDecimate/Denoising documentation

This commit is contained in:
Yann Lanthony 2018-03-01 14:29:30 +01:00
parent 36ed1a5236
commit c993559e48
2 changed files with 9 additions and 3 deletions

View file

@ -50,7 +50,9 @@ class MeshDecimate(desc.CommandLineNode):
desc.BoolParam( desc.BoolParam(
name='flipNormals', name='flipNormals',
label='Flip Normals', label='Flip Normals',
description='''Option to flip face normals. It can be needed as it depends on the vertices order in triangles and the convention change from one software to another.''', description='Option to flip face normals.\n'
'It can be needed as it depends on the vertices order in triangles\n'
'and the convention change from one software to another.',
value=False, value=False,
uid=[0], uid=[0],
), ),

View file

@ -41,7 +41,9 @@ class MeshDenoising(desc.CommandLineNode):
desc.FloatParam( desc.FloatParam(
name='eta', name='eta',
label='Eta', label='Eta',
description='''Gaussian standard deviation for spatial weight, scaled by the average distance between adjacent face cetroids. Must be positive.''', description='Gaussian standard deviation for spatial weight, '
'scaled by the average distance between adjacent face centroids.\n'
'Must be positive.',
value=1.5, value=1.5,
range=(0.0, 20.0, 0.01), range=(0.0, 20.0, 0.01),
uid=[0], uid=[0],
@ -65,7 +67,9 @@ class MeshDenoising(desc.CommandLineNode):
desc.ChoiceParam( desc.ChoiceParam(
name='meshUpdateMethod', name='meshUpdateMethod',
label='Mesh Update Method', label='Mesh Update Method',
description='Mesh Update Method: * ITERATIVE_UPDATE(SDFilter::MeshFilter Parameters::ITERATIVE_UPDATE) (default): ShapeUp styled iterative solver * POISSON_UPDATE(SDFilter::MeshFilterPa rameters::POISSON_UPDATE): Poisson-based update from [Want et al. 2015]', description='Mesh Update Method\n'
' * ITERATIVE_UPDATE (default): ShapeUp styled iterative solver \n'
' * POISSON_UPDATE: Poisson-based update from [Want et al. 2015]',
value=0, value=0,
values=(0, 1), values=(0, 1),
exclusive=True, exclusive=True,