diff --git a/src/Mod/PartDesign/Scripts/RadialCopy.py b/src/Mod/PartDesign/Scripts/RadialCopy.py index 55a23f88c..170981bec 100644 --- a/src/Mod/PartDesign/Scripts/RadialCopy.py +++ b/src/Mod/PartDesign/Scripts/RadialCopy.py @@ -14,7 +14,7 @@ from FreeCAD import Base def makeCopy(shape, radius, angle): mat = Base.Matrix() mat.rotateZ(math.radians(angle)) - step = 360.0 / angle + step = int(360.0 / angle) shape = shape.copy() shape.translate((radius, 0, 0)) comp = shape.copy()