Planetary2: Put planet gears in the order they need to go together
This commit is contained in:
parent
7f1e54be15
commit
4c17d6a4a1
|
@ -180,17 +180,20 @@ class Planetary2(Boxes):
|
||||||
|
|
||||||
for i in range(numplanets):
|
for i in range(numplanets):
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
for j in range(2):
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
angle=pressure_angle,
|
||||||
angle=pressure_angle,
|
callback=lambda:self.pins(0.25*size2, pinsize, i),
|
||||||
callback=lambda:self.pins(0.25*size2, pinsize, i),
|
profile_shift=profile_shift, move="right")
|
||||||
profile_shift=profile_shift, move="right")
|
|
||||||
for j in range(2):
|
for j in range(2):
|
||||||
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
angle=pressure_angle,
|
angle=pressure_angle,
|
||||||
callback=lambda:self.pins(0.25*size2, pinsize, i,
|
callback=lambda:self.pins(0.25*size2, pinsize, i,
|
||||||
secondary_offsets[i]),
|
secondary_offsets[i]),
|
||||||
profile_shift=profile_shift, move="right")
|
profile_shift=profile_shift, move="right")
|
||||||
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
|
angle=pressure_angle,
|
||||||
|
callback=lambda:self.pins(0.25*size2, pinsize, i),
|
||||||
|
profile_shift=profile_shift, move="right")
|
||||||
self.ctx.restore()
|
self.ctx.restore()
|
||||||
|
|
||||||
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
self.gears(teeth=self.planetteeth, dimension=self.modulus,
|
||||||
|
|
Loading…
Reference in New Issue