Draft: fix source typo in draftobjects/patharray.py

This commit is contained in:
Luz Paz
2025-04-01 10:05:08 -04:00
parent b3d8020e77
commit b9d03abc7b

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