delete plotting stuff
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user