remove unused variables

This commit is contained in:
lorenz
2020-07-17 10:46:40 +02:00
committed by GitHub
parent 9bb4c72dd3
commit f89214dad4

View File

@@ -810,12 +810,9 @@ class TimingGear(object):
m_34 = (r5 - r_34) * np.array([-np.sin(phi4), np.cos(phi4)])
x1 = np.array([0., r5 - h])
x2 = np.array([-r_12 * np.sin(phi_12), m_12[1] - r_12 * np.cos(phi_12)])
x3 = m_34 + r_34 / (r_34 + r_23) * (m_23 - m_34)
x4 = r4 * np.array([-np.sin(phi4), np.cos(phi4)])
x5 = r5 * np.array([-np.sin(phi5), np.cos(phi5)])
ref = reflection(-phi5 - np.pi / 2)
@@ -980,4 +977,4 @@ def makeBSplineWire(pts):
def on_mirror_plane(face, z, direction, small_size=0.000001):
# the tolerance is very high. Maybe there is a bug in Part.makeHelix.
return (face.normalAt(0, 0).cross(direction).Length < small_size and
abs(face.CenterOfMass.z - z) < small_size)
abs(face.CenterOfMass.z - z) < small_size)