diff options
Diffstat (limited to 'add_curve_sapling')
-rw-r--r-- | add_curve_sapling/__init__.py | 6 | ||||
-rw-r--r-- | add_curve_sapling/utils.py | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py index 15cd7291..a63e55c1 100644 --- a/add_curve_sapling/__init__.py +++ b/add_curve_sapling/__init__.py @@ -108,7 +108,7 @@ branchmodes = [("original", "Original", "rotate around each branch"), def getPresetpath(): """Support user defined scripts directory - Find the first ocurrence of add_curve_sapling/presets in possible script paths + Find the first occurrence of add_curve_sapling/presets in possible script paths and return it as preset path""" # presetpath = "" # for p in bpy.utils.script_paths(): @@ -526,7 +526,7 @@ class AddTree(Operator): ) autoTaper = BoolProperty( name='Auto Taper', - description='Calculate taper automaticly based on branch lengths', + description='Calculate taper automatically based on branch lengths', default=True, update=update_tree ) taper = FloatVectorProperty( @@ -804,7 +804,7 @@ class AddTree(Operator): ) gustF = FloatProperty( name='Wind Gust Fequency', - description='The Fequency of directional movement', + description='The Frequency of directional movement', default=0.075, update=update_tree ) af1 = FloatProperty( diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py index 00949a81..7f6a45b7 100644 --- a/add_curve_sapling/utils.py +++ b/add_curve_sapling/utils.py @@ -501,7 +501,7 @@ def growSpline(n, stem, numSplit, splitAng, splitAngV, splineList, # If this isn't the last point on a stem, then we need to add it # to the list of stems to continue growing # print(stem.seg != stem.segMax, stem.seg, stem.segMax) - # if stem.seg != stem.segMax: # if probs not nessesary + # if stem.seg != stem.segMax: # if probs not necessary nstem = stemSpline( newSpline, stem.curv, stem.curvV, stem.vertAtt, stem.seg + 1, stem.segMax, stemL, stem.children, @@ -1334,7 +1334,7 @@ def perform_pruning(baseSize, baseSplits, childP, cu, currentMax, currentMin, cu numSplit = 0 elif (k == 1) and (n == 0): numSplit = baseSplits - # allways split at splitHeight + # always split at splitHeight elif (n == 0) and (k == int((curveRes[n] - 1) * splitHeight) + 1) and (splitVal > 0): numSplit = 1 else: @@ -1430,7 +1430,7 @@ def perform_pruning(baseSize, baseSplits, childP, cu, currentMax, currentMin, cu return ratio, splineToBone -# calculate taper automaticly +# calculate taper automatically def findtaper(length, taper, shape, shapeS, levels, customShape): taperS = [] for i, t in enumerate(length): @@ -1684,7 +1684,7 @@ def addTree(props): kickstart_trunk(addstem, levels, leaves, branches, cu, curve, curveRes, curveV, attractUp, length, lengthV, ratio, ratioPower, resU, scale0, scaleV0, scaleVal, taper, minRadius, rootFlare) - # If this isn't the trunk then we may have multiple stem to intialise + # If this isn't the trunk then we may have multiple stem to initialise else: # For each of the points defined in the list of stem starting points we need to grow a stem. fabricate_stems(addsplinetobone, addstem, baseSize, branches, childP, cu, curve, curveBack, |