Draft: fix source typo in draftobjects/patharray.py

This commit is contained in:
Luz Paz
2025-04-01 10:05:08 -04:00
parent 62b0e6eb4f
commit 8bc4b8d1af

View File

@@ -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):