diff options
author | Jacques Lucke <mail@jlucke.com> | 2019-02-05 18:46:33 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-02-05 18:46:33 +0300 |
commit | 6f0deb3b89dd17458d0079bd97b183758fb4e80e (patch) | |
tree | 3f42ced5a6733b124421c7a5f9834e731965e26f | |
parent | 899c287a85b3127538619ff90326ad23599795f8 (diff) |
Add descriptions to properties in Object Scatter addon
-rw-r--r-- | object_scatter/ui.py | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/object_scatter/ui.py b/object_scatter/ui.py index 94d97a9c..075daba4 100644 --- a/object_scatter/ui.py +++ b/object_scatter/ui.py @@ -35,14 +35,16 @@ ScatterSettings = namedtuple("ScatterSettings", class ObjectScatterProperties(bpy.types.PropertyGroup): seed: IntProperty( name="Seed", - default=0 + default=0, + description="Change it to get a different scatter pattern", ) density: FloatProperty( name="Density", default=10, min=0, - soft_max=50 + soft_max=50, + description="The amount of objects per unit on the line", ) radius: FloatProperty( @@ -51,14 +53,16 @@ class ObjectScatterProperties(bpy.types.PropertyGroup): min=0, soft_max=5, subtype='DISTANCE', - unit='LENGTH' + unit='LENGTH', + description="Maximum distance of the objects to the line", ) scale: FloatProperty( name="Scale", default=0.3, min=0.00001, - soft_max=1 + soft_max=1, + description="Size of the generated objects", ) random_scale_percentage: FloatProperty( @@ -67,7 +71,8 @@ class ObjectScatterProperties(bpy.types.PropertyGroup): min=0, max=100, subtype='PERCENTAGE', - precision=0 + precision=0, + description="Increase to get a larger range of sizes", ) rotation: FloatProperty( @@ -77,14 +82,16 @@ class ObjectScatterProperties(bpy.types.PropertyGroup): max=math.pi * 2, soft_max=math.pi / 2, subtype='ANGLE', - unit='ROTATION' + unit='ROTATION', + description="Maximum rotation of the generated objects", ) normal_offset: FloatProperty( name="Normal Offset", default=0, soft_min=-1.0, - soft_max=1.0 + soft_max=1.0, + description="Distance from the surface", ) def to_settings(self): |