Draft: fix source typo in draftobjects/patharray.py
This commit is contained in:
@@ -683,7 +683,7 @@ def placements_on_path(shapeRotation, pathwire, count, xlate, align,
|
||||
fullSpacingPattern = [spacingPattern[i % len(spacingPattern)] for i in range(segCount)]
|
||||
sumWeights = sum(fullSpacingPattern)
|
||||
distPerWeightUnit = totalDist / sumWeights
|
||||
steps = [distPerWeightUnit * weigth for weigth in fullSpacingPattern]
|
||||
steps = [distPerWeightUnit * weight for weight in fullSpacingPattern]
|
||||
|
||||
else:
|
||||
# Available length will be evenly divided (the original spacing method):
|
||||
|
||||
Reference in New Issue
Block a user