diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-30 04:27:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-30 04:27:36 +0300 |
commit | f53017167bdd9854a65690c23cbc90cf1f9d37ea (patch) | |
tree | 75da45a520bed7e8464c255fb2cf5952c767bd34 /add_curve_extra_objects/add_surface_plane_cone.py | |
parent | fba8c3db998fb8deb2e85037581b748ee895952c (diff) |
Cleanup: warnings in descriptions (end with '.')
Diffstat (limited to 'add_curve_extra_objects/add_surface_plane_cone.py')
-rw-r--r-- | add_curve_extra_objects/add_surface_plane_cone.py | 152 |
1 files changed, 88 insertions, 64 deletions
diff --git a/add_curve_extra_objects/add_surface_plane_cone.py b/add_curve_extra_objects/add_surface_plane_cone.py index 98369047..58ca48f2 100644 --- a/add_curve_extra_objects/add_surface_plane_cone.py +++ b/add_curve_extra_objects/add_surface_plane_cone.py @@ -42,22 +42,28 @@ class MakeSurfaceWedge(Operator): bl_options = {'REGISTER', 'UNDO'} # get input for size and resolution - size = FloatProperty(name="Size", - description="Size of the object.", - default=1.0, - min=0.01, - max=100.0, - unit="LENGTH") - res_u = IntProperty(name="Resolution U", - description="Surface resolution in u direction", - default=1, - min=1, - max=500) - res_v = IntProperty(name="Resolution V", - description="Surface resolution in v direction", - default=1, - min=1, - max=500) + size = FloatProperty( + name="Size", + description="Size of the object", + default=1.0, + min=0.01, + max=100.0, + unit="LENGTH", + ) + res_u = IntProperty( + name="Resolution U", + description="Surface resolution in u direction", + default=1, + min=1, + max=500, + ) + res_v = IntProperty( + name="Resolution V", + description="Surface resolution in v direction", + default=1, + min=1, + max=500, + ) @classmethod def poll(cls, context): @@ -129,22 +135,28 @@ class MakeSurfaceCone(Operator): bl_context = "object" bl_options = {'REGISTER', 'UNDO'} - size = FloatProperty(name="Size", - description="Size of the object.", - default=1.0, - min=0.01, - max=100.0, - unit="LENGTH") - res_u = IntProperty(name="Resolution U", - description="Surface resolution in u direction", - default=4, - min=1, - max=500) - res_v = IntProperty(name="Resolution V", - description="Surface resolution in v direction", - default=4, - min=1, - max=500) + size = FloatProperty( + name="Size", + description="Size of the object", + default=1.0, + min=0.01, + max=100.0, + unit="LENGTH", + ) + res_u = IntProperty( + name="Resolution U", + description="Surface resolution in u direction", + default=4, + min=1, + max=500, + ) + res_v = IntProperty( + name="Resolution V", + description="Surface resolution in v direction", + default=4, + min=1, + max=500, + ) @classmethod def poll(cls, context): @@ -214,22 +226,28 @@ class MakeSurfaceStar(Operator): bl_context = "object" bl_options = {'REGISTER', 'UNDO'} - size = FloatProperty(name="Size", - description="Size of the object.", - default=1.0, - min=0.01, - max=100.0, - unit="LENGTH") - res_u = IntProperty(name="Resolution U", - description="Surface resolution in u direction", - default=1, - min=1, - max=500) - res_v = IntProperty(name="Resolution V", - description="Surface resolution in v direction", - default=1, - min=1, - max=500) + size = FloatProperty( + name="Size", + description="Size of the object", + default=1.0, + min=0.01, + max=100.0, + unit="LENGTH", + ) + res_u = IntProperty( + name="Resolution U", + description="Surface resolution in u direction", + default=1, + min=1, + max=500, + ) + res_v = IntProperty( + name="Resolution V", + description="Surface resolution in v direction", + default=1, + min=1, + max=500, + ) @classmethod def poll(cls, context): @@ -314,22 +332,28 @@ class MakeSurfacePlane(Operator): bl_context = "object" bl_options = {'REGISTER', 'UNDO'} - size = FloatProperty(name="Size", - description="Size of the object.", - default=1.0, - min=0.01, - max=100.0, - unit="LENGTH") - res_u = IntProperty(name="Resolution U", - description="Surface resolution in u direction", - default=1, - min=1, - max=500) - res_v = IntProperty(name="Resolution V", - description="Surface resolution in v direction", - default=1, - min=1, - max=500) + size = FloatProperty( + name="Size", + description="Size of the object", + default=1.0, + min=0.01, + max=100.0, + unit="LENGTH", + ) + res_u = IntProperty( + name="Resolution U", + description="Surface resolution in u direction", + default=1, + min=1, + max=500, + ) + res_v = IntProperty( + name="Resolution V", + description="Surface resolution in v direction", + default=1, + min=1, + max=500, + ) @classmethod def poll(cls, context): |