Fix various typos

This commit is contained in:
Luz Paz
2025-03-13 10:36:21 -04:00
parent 9a6a98f824
commit 17102251e5
21 changed files with 35 additions and 35 deletions

View File

@@ -679,14 +679,14 @@ def placements_on_path(shapeRotation, pathwire, count, xlate, align,
segCount = max(segCount, 1)
if useSpacingPattern:
# Available lenth will be non-uniformly divided in proportions from SpacingPattern:
# Available length will be non-uniformly divided in proportions from SpacingPattern:
fullSpacingPattern = [spacingPattern[i % len(spacingPattern)] for i in range(segCount)]
sumWeights = sum(fullSpacingPattern)
distPerWeightUnit = totalDist / sumWeights
steps = [distPerWeightUnit * weigth for weigth in fullSpacingPattern]
else:
# Available lenght will be evenly divided (the original spacing method):
# Available length will be evenly divided (the original spacing method):
steps = [totalDist / segCount]
if useFixedSpacing: