delete plotting stuff

This commit is contained in:
looooo
2020-02-10 11:15:09 +01:00
parent 13e7b19cf0
commit 0e50169000
3 changed files with 0 additions and 33 deletions

View File

@@ -160,11 +160,3 @@ class BevelTooth(object):
pressure_angle=self.pressure_angle,
pitch_angle=self.pitch_angle,
backlash=self.backlash, module=self.module)
if __name__ == "__main__":
from matplotlib import pyplot
gear = BevelTooth(z=60, clearance=0.0, pitch_angle=np.deg2rad(45))
x, y, z = gear.involute_points().T
pyplot.plot(x, y)
pyplot.show()

View File

@@ -105,15 +105,3 @@ class CycloideTooth():
self.__init__(m=self.m, z=self.z, z1=self.z1, z2=self.z2,
clearance=self.clearance, backlash=self.backlash)
if __name__ == "__main__":
from matplotlib import pyplot
gear = CycloideTooth()
x = []
y = []
for i in gear.points(30):
for j in i:
x.append(j[0])
y.append(j[1])
pyplot.plot(x[-60:], y[-60:])
pyplot.show()

View File

@@ -219,16 +219,3 @@ class InvoluteRack(object):
pitch = m * np.pi
return m, m_n, pitch, pressure_angle_t
if __name__ == "__main__":
from matplotlib import pyplot
gear = InvoluteRack()
x = []
y = []
for i in gear.points(30):
x.append(i[0])
y.append(i[1])
pyplot.plot(x, y)
pyplot.show()