[Gears] Remove Deepcopy dependency

This commit is contained in:
Syres916
2023-11-25 22:19:46 +00:00
committed by lorenz
parent e6e6e9b7d4
commit c6f09bd864

View File

@@ -18,7 +18,6 @@
from __future__ import division
import os
import copy
import numpy as np
import math
@@ -620,7 +619,7 @@ class InvoluteGearRack(BaseGear):
teeth = [tooth]
for i in range(obj.teeth - 1):
tooth = copy.deepcopy(tooth)
tooth = tooth.copy()
tooth.translate(App.Vector(0, np.pi * m, 0))
teeth.append(tooth)
@@ -780,7 +779,7 @@ class CycloidGearRack(BaseGear):
teeth = [tooth]
for i in range(obj.teeth - 1):
tooth = copy.deepcopy(tooth)
tooth = tooth.copy()
tooth.translate(App.Vector(0, np.pi * m, 0))
teeth.append(tooth)