Skip to content

Commit

Permalink
/trunk: Removed final points in UI strings and messages.
Browse files Browse the repository at this point in the history
Plus a few styling enhancements.

[[Split portion of a mixed commit.]]
  • Loading branch information
Bastien Montagne committed Sep 19, 2011
1 parent 0dd8120 commit 1d14820
Show file tree
Hide file tree
Showing 52 changed files with 503 additions and 424 deletions.
26 changes: 13 additions & 13 deletions add_curve_ivygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"api": 39307,
"location": "View3D > Add > Curve",
"description": "Adds generated ivy to a mesh object starting at the 3D"\
" cursor.",
" cursor",
"warning": "",
"wiki_url": "https://wiki.blender.org/index.php/Extensions:2.5/Py/"\
"Scripts/Curve/Ivy_Gen",
Expand Down Expand Up @@ -448,45 +448,45 @@ class IvyGen(bpy.types.Operator):
bl_options = {'REGISTER', 'UNDO'}

maxIvyLength = FloatProperty(name="Max Ivy Length",
description="Maximum ivy length in Blender Units.",
description="Maximum ivy length in Blender Units",
default=1.0,
min=0.0,
soft_max=3.0,
subtype='DISTANCE',
unit='LENGTH')
primaryWeight = FloatProperty(name="Primary Weight",
description="Weighting given to the current direction.",
description="Weighting given to the current direction",
default=0.5,
min=0.0,
soft_max=1.0)
randomWeight = FloatProperty(name="Random Weight",
description="Weighting given to the random direction.",
description="Weighting given to the random direction",
default=0.2,
min=0.0,
soft_max=1.0)
gravityWeight = FloatProperty(name="Gravity Weight",
description="Weighting given to the gravity direction.",
description="Weighting given to the gravity direction",
default=1.0,
min=0.0,
soft_max=1.0)
adhesionWeight = FloatProperty(name="Adhesion Weight",
description="Weighting given to the adhesion direction.",
description="Weighting given to the adhesion direction",
default=0.1,
min=0.0,
soft_max=1.0)
branchingProbability = FloatProperty(name="Branching Probability",
description="Probability of a new branch forming.",
description="Probability of a new branch forming",
default=0.05,
min=0.0,
soft_max=1.0)
leafProbability = FloatProperty(name="Leaf Probability",
description="Probability of a leaf forming.",
description="Probability of a leaf forming",
default=0.35,
min=0.0,
soft_max=1.0)
ivySize = FloatProperty(name="Ivy Size",
description=("The length of an ivy segment in Blender"
" Units."),
" Units"),
default=0.02,
min=0.0,
soft_max=1.0,
Expand All @@ -505,19 +505,19 @@ class IvyGen(bpy.types.Operator):
precision=4)
maxFloatLength = FloatProperty(name="Max Float Length",
description=("The maximum distance that a branch "
"can live while floating."),
"can live while floating"),
default=0.5,
min=0.0,
soft_max=1.0)
maxAdhesionDistance = FloatProperty(name="Max Adhesion Length",
description=("The maximum distance that a branch "
"will feel the effects of adhesion."),
"will feel the effects of adhesion"),
default=1.0,
min=0.0,
soft_max=2.0,
precision=2)
randomSeed = IntProperty(name="Random Seed",
description="The seed governing random generation.",
description="The seed governing random generation",
default=0,
min=0)
maxTime = FloatProperty(name="Maximum Time",
Expand All @@ -527,7 +527,7 @@ class IvyGen(bpy.types.Operator):
min=0.0,
soft_max=10)
growLeaves = BoolProperty(name="Grow Leaves",
description="Grow leaves or not.",
description="Grow leaves or not",
default=True)
updateIvy = BoolProperty(name="Update Ivy", default=False)

Expand Down
2 changes: 1 addition & 1 deletion add_curve_torus_knots.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class torus_knot_plus(bpy.types.Operator, AddObjectHelper):
#### general options
options_plus = BoolProperty(name="plus options",
default=False,
description="Show more options (the plus part).")
description="Show more options (the plus part)")

#### GEO Options
geo_surf = BoolProperty(name="Surface",
Expand Down
2 changes: 1 addition & 1 deletion add_mesh_BoltFactory/createMesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def unpack_face_list(list_of_tuples):
face = [i for i in t]

if len(face) != 3 and len(face) != 4:
raise RuntimeError("{0} vertices in face.".format(len(face)))
raise RuntimeError("{0} vertices in face".format(len(face)))

# rotate indices if the 4th is 0
if len(face) == 4 and face[3] == 0:
Expand Down
10 changes: 5 additions & 5 deletions add_mesh_ant_landscape.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,31 +534,31 @@ class landscape_add(bpy.types.Operator):
min=1,
max=16,
default=6,
description="Noise Depth - number of frequencies in the fBm.")
description="Noise Depth - number of frequencies in the fBm")

mDimension = FloatProperty(name="Dimension",
min=0.01,
max=2.0,
default=1.0,
description="H - fractal dimension of the roughest areas.")
description="H - fractal dimension of the roughest areas")

mLacunarity = FloatProperty(name="Lacunarity",
min=0.01,
max=6.0,
default=2.0,
description="Lacunarity - gap between successive frequencies.")
description="Lacunarity - gap between successive frequencies")

mOffset = FloatProperty(name="Offset",
min=0.01,
max=6.0,
default=1.0,
description="Offset - raises the terrain from sea level.")
description="Offset - raises the terrain from sea level")

mGain = FloatProperty(name="Gain",
min=0.01,
max=6.0,
default=1.0,
description="Gain - scale factor.")
description="Gain - scale factor")

BiasTypes = [
("0","Sin","Sin"),
Expand Down
16 changes: 8 additions & 8 deletions add_mesh_extra_objects/add_mesh_3d_function_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,24 +239,24 @@ class AddZFunctionSurface(bpy.types.Operator):
default="1 - ( x**2 + y**2 )")

div_x = IntProperty(name="X Subdivisions",
description="Number of vertices in x direction.",
description="Number of vertices in x direction",
default=16,
min=3,
max=256)
div_y = IntProperty(name="Y Subdivisions",
description="Number of vertices in y direction.",
description="Number of vertices in y direction",
default=16,
min=3,
max=256)

size_x = FloatProperty(name="X Size",
description="Size of the x axis.",
description="Size of the x axis",
default=2.0,
min=0.01,
max=100.0,
unit="LENGTH")
size_y = FloatProperty(name="Y Size",
description="Size of the y axis.",
description="Size of the y axis",
default=2.0,
min=0.01,
max=100.0,
Expand Down Expand Up @@ -504,13 +504,13 @@ class AddXYZFunctionSurface(bpy.types.Operator):
default="sin(v)*(1+cos(u))*sin(v/8)")

range_u_min = FloatProperty(name="U min",
description="Minimum U value. Lower boundary of U range.",
description="Minimum U value. Lower boundary of U range",
min=-100.00,
max=0.00,
default=0.00)

range_u_max = FloatProperty(name="U max",
description="Maximum U value. Upper boundary of U range.",
description="Maximum U value. Upper boundary of U range",
min=0.00,
max=100.00,
default=2 * pi)
Expand All @@ -526,13 +526,13 @@ class AddXYZFunctionSurface(bpy.types.Operator):
default=True)

range_v_min = FloatProperty(name="V min",
description="Minimum V value. Lower boundary of V range.",
description="Minimum V value. Lower boundary of V range",
min=-100.00,
max=0.00,
default=0.00)

range_v_max = FloatProperty(name="V max",
description="Maximum V value. Upper boundary of V range.",
description="Maximum V value. Upper boundary of V range",
min=0.00,
max=100.00,
default=4 * pi)
Expand Down
4 changes: 2 additions & 2 deletions add_mesh_extra_objects/add_mesh_extra_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ class AddSqorus(bpy.types.Operator):
max=1.99,
default=2.0 / 3.0)
subdivide = BoolProperty(name="Subdivide Outside",
description="Enable to subdivide the faces on the outside." \
" This results in equally spaced vertices.",
description="Enable to subdivide the faces on the outside " \
"(this results in equally spaced vertices)",
default=True)

def execute(self, context):
Expand Down
8 changes: 4 additions & 4 deletions add_mesh_extra_objects/add_mesh_gemstones.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class AddGem(bpy.types.Operator):
"""Add a diamond gem"""
bl_idname = "mesh.primitive_gem_add"
bl_label = "Add Gem"
bl_description = "Create an offset faceted gem."
bl_description = "Create an offset faceted gem"
bl_options = {'REGISTER', 'UNDO'}

segments = IntProperty(name="Segments",
Expand All @@ -300,17 +300,17 @@ class AddGem(bpy.types.Operator):
max=9999.0,
default=1.0)
crown_radius = FloatProperty(name="Table Radius",
description="Radius of the table(top).",
description="Radius of the table(top)",
min=0.01,
max=9999.0,
default=0.6)
crown_height = FloatProperty(name="Table height",
description="Height of the top half.",
description="Height of the top half",
min=0.01,
max=9999.0,
default=0.35)
pavilion_height = FloatProperty(name="Pavilion height",
description="Height of bottom half.",
description="Height of bottom half",
min=0.01,
max=9999.0,
default=0.8)
Expand Down
Loading

0 comments on commit 1d14820

Please sign in to comment.