From 8bc4b8d1afaac85a4897fedf9a915372d0367516 Mon Sep 17 00:00:00 2001 From: Luz Paz Date: Tue, 1 Apr 2025 10:05:08 -0400 Subject: [PATCH] Draft: fix source typo in draftobjects/patharray.py --- src/Mod/Draft/draftobjects/patharray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Draft/draftobjects/patharray.py b/src/Mod/Draft/draftobjects/patharray.py index 146319f730..7871eb8fd1 100644 --- a/src/Mod/Draft/draftobjects/patharray.py +++ b/src/Mod/Draft/draftobjects/patharray.py @@ -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):